summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-12-16 16:58:58 -0800
committerDavid S. Miller <davem@davemloft.net>2016-12-17 11:56:57 -0500
commit9d1c0ca5e1d6697ce1e32bb708bfe24dff34f287 (patch)
treebfa2ff25e5dca397cb7fe3333dcf806a032d5562 /net
parent99a5e178bde4b0fa1f25ca8d9caee0cb5e329e7c (diff)
downloadlinux-9d1c0ca5e1d6697ce1e32bb708bfe24dff34f287.tar.gz
linux-9d1c0ca5e1d6697ce1e32bb708bfe24dff34f287.tar.bz2
linux-9d1c0ca5e1d6697ce1e32bb708bfe24dff34f287.zip
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. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/decnet/dn_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c
index b2c26b081134..41f803e35da3 100644
--- a/net/decnet/dn_dev.c
+++ b/net/decnet/dn_dev.c
@@ -201,7 +201,7 @@ static struct dn_dev_sysctl_table {
.extra1 = &min_t3,
.extra2 = &max_t3
},
- {0}
+ { }
},
};