diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/keys/sysctl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/security/keys/sysctl.c b/security/keys/sysctl.c index 3565e2fc10c9..ee32d181764a 100644 --- a/security/keys/sysctl.c +++ b/security/keys/sysctl.c | |||
@@ -21,7 +21,7 @@ ctl_table key_sysctls[] = { | |||
21 | .data = &key_quota_maxkeys, | 21 | .data = &key_quota_maxkeys, |
22 | .maxlen = sizeof(unsigned), | 22 | .maxlen = sizeof(unsigned), |
23 | .mode = 0644, | 23 | .mode = 0644, |
24 | .proc_handler = &proc_dointvec_minmax, | 24 | .proc_handler = proc_dointvec_minmax, |
25 | .extra1 = (void *) &one, | 25 | .extra1 = (void *) &one, |
26 | .extra2 = (void *) &max, | 26 | .extra2 = (void *) &max, |
27 | }, | 27 | }, |
@@ -30,7 +30,7 @@ ctl_table key_sysctls[] = { | |||
30 | .data = &key_quota_maxbytes, | 30 | .data = &key_quota_maxbytes, |
31 | .maxlen = sizeof(unsigned), | 31 | .maxlen = sizeof(unsigned), |
32 | .mode = 0644, | 32 | .mode = 0644, |
33 | .proc_handler = &proc_dointvec_minmax, | 33 | .proc_handler = proc_dointvec_minmax, |
34 | .extra1 = (void *) &one, | 34 | .extra1 = (void *) &one, |
35 | .extra2 = (void *) &max, | 35 | .extra2 = (void *) &max, |
36 | }, | 36 | }, |
@@ -39,7 +39,7 @@ ctl_table key_sysctls[] = { | |||
39 | .data = &key_quota_root_maxkeys, | 39 | .data = &key_quota_root_maxkeys, |
40 | .maxlen = sizeof(unsigned), | 40 | .maxlen = sizeof(unsigned), |
41 | .mode = 0644, | 41 | .mode = 0644, |
42 | .proc_handler = &proc_dointvec_minmax, | 42 | .proc_handler = proc_dointvec_minmax, |
43 | .extra1 = (void *) &one, | 43 | .extra1 = (void *) &one, |
44 | .extra2 = (void *) &max, | 44 | .extra2 = (void *) &max, |
45 | }, | 45 | }, |
@@ -48,7 +48,7 @@ ctl_table key_sysctls[] = { | |||
48 | .data = &key_quota_root_maxbytes, | 48 | .data = &key_quota_root_maxbytes, |
49 | .maxlen = sizeof(unsigned), | 49 | .maxlen = sizeof(unsigned), |
50 | .mode = 0644, | 50 | .mode = 0644, |
51 | .proc_handler = &proc_dointvec_minmax, | 51 | .proc_handler = proc_dointvec_minmax, |
52 | .extra1 = (void *) &one, | 52 | .extra1 = (void *) &one, |
53 | .extra2 = (void *) &max, | 53 | .extra2 = (void *) &max, |
54 | }, | 54 | }, |
@@ -57,7 +57,7 @@ ctl_table key_sysctls[] = { | |||
57 | .data = &key_gc_delay, | 57 | .data = &key_gc_delay, |
58 | .maxlen = sizeof(unsigned), | 58 | .maxlen = sizeof(unsigned), |
59 | .mode = 0644, | 59 | .mode = 0644, |
60 | .proc_handler = &proc_dointvec_minmax, | 60 | .proc_handler = proc_dointvec_minmax, |
61 | .extra1 = (void *) &zero, | 61 | .extra1 = (void *) &zero, |
62 | .extra2 = (void *) &max, | 62 | .extra2 = (void *) &max, |
63 | }, | 63 | }, |