apparmor: use designated initializers
commit8486adf0d755062611968ecc1632a13ebce71660
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 01:04:13 +0000 (16 17:04 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 04:00:32 +0000 (15 20:00 -0800)
tree8e574a555e2fb2b9b01789607553245b93633c8b
parenta7f6c1b63b863d29f126d9b163ad5b40008544b2
apparmor: 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>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/file.c
security/apparmor/lsm.c