Kees Cook c1f12f440c lib/test_stackinit: Fix static initializer test
commit f9398f15605a50110bf570aaa361163a85113dd1 upstream.

The static initializer test got accidentally converted to a dynamic
initializer. Fix this and retain the giant padding hole without using
an aligned struct member.

Fixes: 50ceaa95ea09 ("lib: Introduce test_stackinit module")
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210723221933.3431999-2-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 12:26:38 +02:00
..
2021-09-15 09:47:29 +02:00
2018-08-22 10:52:48 -07:00
2018-10-12 09:17:46 +02:00
2019-07-25 15:47:37 +02:00
2018-08-16 12:14:42 -07:00
2018-08-22 10:52:48 -07:00
2017-02-24 17:46:57 -08:00
2020-10-29 09:57:47 +01:00
2021-05-07 10:51:37 +02:00
2018-10-16 13:45:44 +02:00
2021-09-03 10:08:12 +02:00
2020-11-05 11:43:22 +01:00
2019-07-11 15:17:41 -07:00
2020-10-01 13:18:23 +02:00
2018-06-27 18:58:49 +03:00
2018-10-15 16:31:29 -04:00
2021-06-10 13:37:14 +02:00
2019-05-06 11:12:09 -07:00
2021-06-10 13:37:14 +02:00
2017-08-15 09:02:07 -07:00