diff options
author | Kees Cook <keescook@chromium.org> | 2016-12-17 01:58:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-17 17:56:57 +0100 |
commit | 9d1c0ca5e1d6697ce1e32bb708bfe24dff34f287 (patch) | |
tree | bfa2ff25e5dca397cb7fe3333dcf806a032d5562 /net | |
parent | ATM: use designated initializers (diff) | |
download | linux-9d1c0ca5e1d6697ce1e32bb708bfe24dff34f287.tar.xz 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.c | 2 |
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} + { } }, }; |