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-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2017-03-15 10:02:44 +08:00
2017-06-29 13:00:28 +02:00
2016-10-15 12:09:13 -07:00
2016-10-10 23:02:51 -04:00
2017-07-05 14:40:22 +02:00
2016-10-10 20:16:43 -07:00
2017-07-12 15:01:02 +02:00
2017-06-29 13:00:29 +02:00
2016-10-10 20:16:43 -07:00
2017-06-24 07:11:12 +02:00
2017-05-25 15:44:38 +02:00
2017-03-15 10:02:44 +08:00
2016-10-10 20:16:43 -07:00
2016-10-10 09:54:00 -05:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-27 18:43:43 -07:00
2016-10-06 09:07:44 -04:00
2016-10-18 11:29:35 +02:00
2017-07-15 12:16:16 +02:00
2017-06-24 07:11:17 +02:00
2017-03-15 10:02:52 +08:00
2016-06-13 10:20:39 +02:00
2017-06-17 06:41:52 +02:00
2017-03-12 06:41:47 +01:00
2017-07-12 15:01:06 +02:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2017-06-24 07:11:18 +02:00
2016-11-30 10:41:26 -08:00
2017-03-30 09:41:27 +02:00
2016-10-10 20:16:43 -07:00
2017-06-14 15:06:00 +02:00
2016-10-27 17:47:11 +02:00
2016-10-11 15:06:33 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2017-07-05 14:40:18 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2017-05-25 15:44:31 +02:00
2016-10-30 13:09:42 -04:00
2017-07-05 14:40:29 +02:00
2016-10-10 20:16:43 -07:00
2016-09-27 21:06:21 -04:00
2017-06-14 15:06:00 +02:00
2016-11-29 10:20:24 +01:00
2017-06-24 07:11:18 +02:00
2017-05-20 14:28:42 +02:00
2016-08-15 17:43:31 +02:00
2016-10-10 20:16:43 -07:00
2017-06-14 15:06:00 +02:00
2017-06-17 06:41:56 +02:00
2016-10-07 21:48:36 -04:00
2017-04-12 12:41:11 +02:00
2016-10-10 20:16:43 -07:00
2016-09-27 21:06:21 -04:00
2017-04-27 09:10:38 +02:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:01 +02:00
2017-06-14 15:06:00 +02:00
2017-07-05 14:40:26 +02:00
2016-10-10 20:16:43 -07:00
2017-01-09 08:32:24 +01:00
2016-07-25 16:51:49 +10:00
2017-07-21 07:42:21 +02:00
2016-08-02 19:35:15 -04:00
2016-07-28 13:29:12 +10:00
2016-09-27 21:06:22 -04:00
2017-06-14 15:06:00 +02:00
2017-06-14 15:06:00 +02:00
2016-08-23 22:58:51 -07:00
2016-09-24 09:27:18 +02:00
2016-09-27 21:20:53 -04:00
2017-07-05 14:40:26 +02:00
2017-02-09 08:08:31 +01:00
2017-07-21 07:42:21 +02:00
2017-06-14 15:06:00 +02:00
2017-07-21 07:42:22 +02:00
2017-07-12 15:01:02 +02:00
2016-09-27 18:47:38 -04:00
2016-08-09 19:58:06 -06:00
2016-10-10 20:16:43 -07:00
2016-10-10 13:04:49 -07:00
2016-09-15 13:29:52 -07:00
2017-06-14 15:06:00 +02:00
2016-10-07 18:46:29 -07:00
2016-08-12 16:47:05 +01:00
2016-10-10 20:16:43 -07:00
2016-10-18 12:21:28 +02:00
2016-06-21 09:23:11 +10:00
2016-08-31 11:44:36 -04:00
2017-03-15 10:02:43 +08:00
2017-06-14 15:06:00 +02:00
2017-03-15 10:02:44 +08:00
2017-03-15 10:02:44 +08:00
2016-10-10 20:16:43 -07:00
2017-07-12 15:01:02 +02:00
2016-10-11 15:06:32 -07:00
2017-03-15 10:02:43 +08:00
2017-03-15 10:02:43 +08:00
2017-01-26 08:24:37 +01:00
2017-06-24 07:11:12 +02:00
2016-10-11 15:06:30 -07:00
2016-10-07 18:46:30 -07:00
2017-02-23 17:44:35 +01:00
2017-06-14 15:06:01 +02:00
2017-03-15 10:02:44 +08:00
2017-05-08 07:47:54 +02:00
2017-06-17 06:41:56 +02:00
2016-10-08 11:06:08 -04:00
2017-05-20 14:28:39 +02:00