]> www.infradead.org Git - users/willy/linux.git/commit
exec-separate-mm_anonpages-and-rlimit_stack-accounting-fix
authorOleg Nesterov <oleg@redhat.com>
Wed, 5 Dec 2018 00:14:12 +0000 (11:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Dec 2018 22:09:08 +0000 (09:09 +1100)
commit572f1c3b6d640c14d5c45e156f03d47cb72427b3
treea0f093f6cf5d36fe7c027a14a13103f54c410976
parent50caa087c321c9cf0836e2fc99f4bc5dd2ec59a3
exec-separate-mm_anonpages-and-rlimit_stack-accounting-fix

I forgot about the !CONFIG_MMU version of get_arg_page() which doesn't
check RLIMIT_STACK at all.

Link: http://lkml.kernel.org/r/20181126122307.GA1660@redhat.com
Tested-by: Guenter Roeck <linux@roeck-us.net>
Cc: Kees Cook <keescook@chromium.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
fs/exec.c