diff options
author | Kees Cook <keescook@chromium.org> | 2017-07-07 20:57:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-08 05:05:08 +0200 |
commit | da029c11e6b12f321f36dac8771e833b65cec962 (patch) | |
tree | 0ba6e0c9338f1b3de6498793ecff2643c4fd289c /scripts/const_structs.checkpatch | |
parent | Merge tag 'for-linus-v4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-da029c11e6b12f321f36dac8771e833b65cec962.tar.xz linux-da029c11e6b12f321f36dac8771e833b65cec962.zip |
exec: Limit arg stack to at most 75% of _STK_LIM
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>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions