Files
kernel/include/linux
Kees Cook 2cfe0d3009 task_struct: only use anon struct under randstruct plugin
The original intent for always adding the anonymous struct in
task_struct was to make sure we had compiler coverage.

However, this caused pathological padding of 40 bytes at the start of
task_struct.  Instead, move the anonymous struct to being only used when
struct layout randomization is enabled.

Link: http://lkml.kernel.org/r/20180327213609.GA2964@beast
Fixes: 29e48ce87f ("task_struct: Allow randomized")
Signed-off-by: Kees Cook <keescook@chromium.org>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-11 10:28:35 -07:00
..
2018-02-14 09:43:22 -08:00
2018-02-20 11:34:54 +00:00
2018-03-08 13:56:24 +05:30
2018-03-29 14:29:55 -04:00
2018-03-16 10:56:13 +01:00
2018-03-31 02:15:18 +02:00
2018-03-31 02:16:26 +02:00
2018-03-31 02:14:44 +02:00
2018-03-16 10:55:47 +01:00
2018-03-26 15:09:38 +02:00
2018-03-12 10:05:01 +01:00
2018-03-26 15:56:44 +02:00
2018-03-31 02:15:18 +02:00
2018-02-26 09:48:42 -07:00
2018-02-06 16:41:29 -05:00
2018-02-22 21:13:03 +01:00
2018-03-26 08:53:43 -06:00
2018-04-11 10:28:35 -07:00
2018-02-24 01:43:47 +01:00
2018-03-13 13:29:10 -07:00
2018-04-11 10:28:32 -07:00
2018-03-26 13:14:43 -04:00
2018-03-26 13:14:43 -04:00
2018-03-26 13:14:43 -04:00
2018-03-30 12:56:22 -04:00
2018-01-31 17:18:37 -08:00
2018-02-06 16:41:28 -05:00
2018-02-20 16:12:26 -08:00
2018-03-17 14:20:55 +01:00
2018-03-01 08:33:05 -07:00
2018-04-05 21:36:24 -07:00
2018-04-05 21:36:27 -07:00
2018-02-06 18:32:47 -08:00
2018-02-20 16:10:25 -08:00
2018-02-06 18:32:44 -08:00