From: Oleg Nesterov Date: Thu, 8 Aug 2013 16:55:32 +0000 (+0200) Subject: userns: limit the maximum depth of user_namespace->parent chain X-Git-Tag: v3.11-rc5~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8742f229b635bf1c1c84a3dfe5e47c814c20b5c8;p=pandora-kernel.git userns: limit the maximum depth of user_namespace->parent chain Ensure that user_namespace->parent chain can't grow too much. Currently we use the hardroded 32 as limit. Reported-by: Andy Lutomirski Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed