diff options
author | Kees Cook <keescook@chromium.org> | 2017-07-07 11:57:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-21 07:44:57 +0200 |
commit | 86949eb96466ec182303afc3c386bd70cc67b991 (patch) | |
tree | 4fc667631009a26124962c8e0d7e9ccaf1b8a4e7 /drivers/tty/vt/vt.c | |
parent | 7888c0296c87a6c83bf2a0311c8e929f5f11832f (diff) |
exec: Limit arg stack to at most 75% of _STK_LIM
commit da029c11e6b12f321f36dac8771e833b65cec962 upstream.
To avoid pathological stack usage or the need to special-case setuid
execs, just limit all arg stack usage to at most 75% of _STK_LIM (6MB).
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt/vt.c')
0 files changed, 0 insertions, 0 deletions