diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-08-08 18:55:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-11 18:35:25 -0700 |
commit | 5c5f9cd2b539879c4291fa24773795314e777354 (patch) | |
tree | fcda00e4125fa6c70a067e87ad08bab634c1996f /fs/binfmt_elf_fdpic.c | |
parent | c98ebcb618645d40cfec14b0534ff32126c114ce (diff) |
userns: limit the maximum depth of user_namespace->parent chain
commit 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions