Skip to content

Commit

Permalink
net/x25: use designated initializers
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
kees authored and davem330 committed Dec 17, 2016
1 parent ebf12f1 commit e999cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/x25/sysctl_net_x25.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static struct ctl_table x25_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec,
},
{ 0, },
{ },
};

void __init x25_register_sysctl(void)
Expand Down

0 comments on commit e999cb4

Please sign in to comment.