ovl: Use designated initializers
authorKees Cook <keescook@chromium.org>
Wed, 29 Mar 2017 21:02:19 +0000 (14:02 -0700)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 20 Apr 2017 14:37:26 +0000 (16:37 +0200)
commit33006cdf9c038dca9b3d4c148a509de851a66ea9
tree866fe35b0d2f241905000bc7aaf22d1bbe2f4f32
parentb1eaa950f7e905aaffca0454aa05101ce4f6446a
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: Kees Cook <keescook@chromium.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c
fs/overlayfs/util.c