]> git.baikalelectronics.ru Git - kernel.git/commit
x86/floppy: Use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 21:37:05 +0000 (13:37 -0800)
committerIngo Molnar <mingo@kernel.org>
Sun, 18 Dec 2016 08:25:38 +0000 (09:25 +0100)
commit0740ac18200577efb734a2893fa673b06854cf71
tree12807fcdb05e7027ae8f5fe0f3a80e31de3a6082
parent224207929d7e13330c42a3f32270fb7dcf5aec4d
x86/floppy: 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>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161217213705.GA1248@beast
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/floppy.h