diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
commit | 1557d33007f63dd96e5d15f33af389378e5f2e54 (patch) | |
tree | 06d05722b2ba5d2a67532f779fa8a88efe3c88f1 /net/appletalk/sysctl_net_atalk.c | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
parent | c656ae95d1c5c8ed5763356263ace2d03087efec (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6: (43 commits)
security/tomoyo: Remove now unnecessary handling of security_sysctl.
security/tomoyo: Add a special case to handle accesses through the internal proc mount.
sysctl: Drop & in front of every proc_handler.
sysctl: Remove CTL_NONE and CTL_UNNUMBERED
sysctl: kill dead ctl_handler definitions.
sysctl: Remove the last of the generic binary sysctl support
sysctl net: Remove unused binary sysctl code
sysctl security/tomoyo: Don't look at ctl_name
sysctl arm: Remove binary sysctl support
sysctl x86: Remove dead binary sysctl support
sysctl sh: Remove dead binary sysctl support
sysctl powerpc: Remove dead binary sysctl support
sysctl ia64: Remove dead binary sysctl support
sysctl s390: Remove dead sysctl binary support
sysctl frv: Remove dead binary sysctl support
sysctl mips/lasat: Remove dead binary sysctl support
sysctl drivers: Remove dead binary sysctl support
sysctl crypto: Remove dead binary sysctl support
sysctl security/keys: Remove dead binary sysctl support
sysctl kernel: Remove binary sysctl logic
...
Diffstat (limited to 'net/appletalk/sysctl_net_atalk.c')
-rw-r--r-- | net/appletalk/sysctl_net_atalk.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/net/appletalk/sysctl_net_atalk.c b/net/appletalk/sysctl_net_atalk.c index 8d237b15183b..04e9c0da7aa9 100644 --- a/net/appletalk/sysctl_net_atalk.c +++ b/net/appletalk/sysctl_net_atalk.c | |||
@@ -12,25 +12,20 @@ | |||
12 | 12 | ||
13 | static struct ctl_table atalk_table[] = { | 13 | static struct ctl_table atalk_table[] = { |
14 | { | 14 | { |
15 | .ctl_name = NET_ATALK_AARP_EXPIRY_TIME, | ||
16 | .procname = "aarp-expiry-time", | 15 | .procname = "aarp-expiry-time", |
17 | .data = &sysctl_aarp_expiry_time, | 16 | .data = &sysctl_aarp_expiry_time, |
18 | .maxlen = sizeof(int), | 17 | .maxlen = sizeof(int), |
19 | .mode = 0644, | 18 | .mode = 0644, |
20 | .proc_handler = proc_dointvec_jiffies, | 19 | .proc_handler = proc_dointvec_jiffies, |
21 | .strategy = sysctl_jiffies, | ||
22 | }, | 20 | }, |
23 | { | 21 | { |
24 | .ctl_name = NET_ATALK_AARP_TICK_TIME, | ||
25 | .procname = "aarp-tick-time", | 22 | .procname = "aarp-tick-time", |
26 | .data = &sysctl_aarp_tick_time, | 23 | .data = &sysctl_aarp_tick_time, |
27 | .maxlen = sizeof(int), | 24 | .maxlen = sizeof(int), |
28 | .mode = 0644, | 25 | .mode = 0644, |
29 | .proc_handler = proc_dointvec_jiffies, | 26 | .proc_handler = proc_dointvec_jiffies, |
30 | .strategy = sysctl_jiffies, | ||
31 | }, | 27 | }, |
32 | { | 28 | { |
33 | .ctl_name = NET_ATALK_AARP_RETRANSMIT_LIMIT, | ||
34 | .procname = "aarp-retransmit-limit", | 29 | .procname = "aarp-retransmit-limit", |
35 | .data = &sysctl_aarp_retransmit_limit, | 30 | .data = &sysctl_aarp_retransmit_limit, |
36 | .maxlen = sizeof(int), | 31 | .maxlen = sizeof(int), |
@@ -38,20 +33,18 @@ static struct ctl_table atalk_table[] = { | |||
38 | .proc_handler = proc_dointvec, | 33 | .proc_handler = proc_dointvec, |
39 | }, | 34 | }, |
40 | { | 35 | { |
41 | .ctl_name = NET_ATALK_AARP_RESOLVE_TIME, | ||
42 | .procname = "aarp-resolve-time", | 36 | .procname = "aarp-resolve-time", |
43 | .data = &sysctl_aarp_resolve_time, | 37 | .data = &sysctl_aarp_resolve_time, |
44 | .maxlen = sizeof(int), | 38 | .maxlen = sizeof(int), |
45 | .mode = 0644, | 39 | .mode = 0644, |
46 | .proc_handler = proc_dointvec_jiffies, | 40 | .proc_handler = proc_dointvec_jiffies, |
47 | .strategy = sysctl_jiffies, | ||
48 | }, | 41 | }, |
49 | { 0 }, | 42 | { }, |
50 | }; | 43 | }; |
51 | 44 | ||
52 | static struct ctl_path atalk_path[] = { | 45 | static struct ctl_path atalk_path[] = { |
53 | { .procname = "net", .ctl_name = CTL_NET, }, | 46 | { .procname = "net", }, |
54 | { .procname = "appletalk", .ctl_name = NET_ATALK, }, | 47 | { .procname = "appletalk", }, |
55 | { } | 48 | { } |
56 | }; | 49 | }; |
57 | 50 | ||