commit | 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Thu Aug 08 18:55:32 2013 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Aug 08 13:11:39 2013 -0700 |
tree | 3d9f64cf0c9d705b9f422d137c8067fa2d41f3c8 | |
parent | 55f5bfd4c94b923d965d47f5c1889ef8f98fcef1 [diff] |
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 <luto@amacapital.net> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>