Re: [PATCH] af_unix: Use designated initializers
From: David Miller
Date: Thu Apr 06 2017 - 15:43:44 EST
From: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Tue, 4 Apr 2017 22:12:09 -0700
> 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, and the initializer fixes
> were extracted from grsecurity. In this case, NULL initialize with { }
> instead of undesignated NULLs.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
Applied to net-next.