Kees Cook f31c4f65dd 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>
2017-07-21 07:42:22 +02:00
..
2017-05-14 14:00:13 +02:00
2016-10-15 12:09:13 -07:00
2017-06-29 13:00:29 +02:00
2017-03-12 06:41:47 +01:00
2017-07-12 15:01:06 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-07-05 14:40:26 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2016-09-27 21:20:53 -04:00
2017-06-14 15:06:00 +02:00
2017-07-12 15:01:02 +02:00
2016-09-27 18:47:38 -04:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:01 +02:00