Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170021
b: refs/heads/master
c: 5cdb355
h: refs/heads/master
i:
  170019: 2cecc1b
v: v3
  • Loading branch information
Eric W. Biederman committed Nov 12, 2009
1 parent e545cec commit 2674ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 56992309ccbe71f4321ddd50ee2f76f91b412c1a
refs/heads/master: 5cdb35557d022f8dc51b532b5cd1a8e9ed7bcdb7
7 changes: 1 addition & 6 deletions trunk/security/keys/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ static const int zero, one = 1, max = INT_MAX;

ctl_table key_sysctls[] = {
{
.ctl_name = CTL_UNNUMBERED,
.procname = "maxkeys",
.data = &key_quota_maxkeys,
.maxlen = sizeof(unsigned),
Expand All @@ -27,7 +26,6 @@ ctl_table key_sysctls[] = {
.extra2 = (void *) &max,
},
{
.ctl_name = CTL_UNNUMBERED,
.procname = "maxbytes",
.data = &key_quota_maxbytes,
.maxlen = sizeof(unsigned),
Expand All @@ -37,7 +35,6 @@ ctl_table key_sysctls[] = {
.extra2 = (void *) &max,
},
{
.ctl_name = CTL_UNNUMBERED,
.procname = "root_maxkeys",
.data = &key_quota_root_maxkeys,
.maxlen = sizeof(unsigned),
Expand All @@ -47,7 +44,6 @@ ctl_table key_sysctls[] = {
.extra2 = (void *) &max,
},
{
.ctl_name = CTL_UNNUMBERED,
.procname = "root_maxbytes",
.data = &key_quota_root_maxbytes,
.maxlen = sizeof(unsigned),
Expand All @@ -57,7 +53,6 @@ ctl_table key_sysctls[] = {
.extra2 = (void *) &max,
},
{
.ctl_name = CTL_UNNUMBERED,
.procname = "gc_delay",
.data = &key_gc_delay,
.maxlen = sizeof(unsigned),
Expand All @@ -66,5 +61,5 @@ ctl_table key_sysctls[] = {
.extra1 = (void *) &zero,
.extra2 = (void *) &max,
},
{ .ctl_name = 0 }
{ }
};

0 comments on commit 2674ff2

Please sign in to comment.