TOMOYO: Use designated initializers
authorKees Cook <keescook@chromium.org>
Wed, 29 Mar 2017 23:52:58 +0000 (16:52 -0700)
committerJames Morris <james.l.morris@oracle.com>
Thu, 30 Mar 2017 06:37:45 +0000 (17:37 +1100)
commit8291798dcf059cdc5e55a59b2c4ad70ae14508c2
treef54cc2607a838e8898663fca56062fc43d6f8f5a
parente4e55b47ed9ae2c05ff062601ff6dacbe9dc4775
TOMOYO: 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.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/tomoyo/file.c
security/tomoyo/tomoyo.c