diff options
author | Kees Cook <[email protected]> | 2017-07-07 11:57:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-07-07 20:05:08 -0700 |
commit | da029c11e6b12f321f36dac8771e833b65cec962 (patch) | |
tree | 0ba6e0c9338f1b3de6498793ecff2643c4fd289c /lib/memory-notifier-error-inject.c | |
parent | 088737f44bbf6378745f5b57b035e57ee3dc4750 (diff) |
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions