Skip to content
Commit da029c11 authored by Kees Cook's avatar Kees Cook Committed by Linus Torvalds
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 088737f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment