Skip to content
Commit 33006cdf authored by Kees Cook's avatar Kees Cook Committed by Miklos Szeredi
Browse files

ovl: Use designated initializers



Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers. These were identified during
allyesconfig builds of x86, arm, and arm64, with most initializer fixes
extracted from grsecurity.

For these cases, use { }, which will be zero-filled, instead of
undesignated NULLs.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent b1eaa950
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