net: use designated initializers
Subsystems (2)
PATCH 1/1 net: 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.
--- net/decnet/dn_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/decnet/dn_dev.c +1 -1
@@ -201,7 +201,7 @@ static struct dn_dev_sysctl_table { .extra1 = &min_t3, .extra2 = &max_t3 }, - {0} + { } }, };
Signature · 6 lines
2.7.4 -- Kees Cook Nexus Security
From: Kees Cook <[email protected]>
Date: Fri, 16 Dec 2016 16:58:58 -0800
Quoted 6 lines
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 <[email protected]>
Applied, although "decnet: " would have been a much better subsystem prefix.
Quoted 8 lines · David Miller
From: Kees Cook <[email protected]>
Date: Fri, 16 Dec 2016 16:58:58 -0800Quoted 5 lines
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.
Quoted 4 lines
Quoted 1 line
Signed-off-by Kees Cook <[email protected]>Applied, although "decnet: " would have been a much better subsystem prefix.
Thanks! Yeah, I had corrected that in my tree already in case there was a v2 needed. I was working off an auto-splitting script that I taught to guess at prefixes by looking at commit logs. It didn't work very well. ;) We need another field in MAINTAINERS. :)
-Kees
Signature · 2 lines
Kees Cook Nexus Security