diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-10-18 06:05:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:23 -0400 |
commit | 8ada720d89d678eb5a09d3048a5e9a35c526800c (patch) | |
tree | 58f2f7946638d0376acfbf39595fbf6e88f7e597 /kernel/sysctl_check.c | |
parent | 49ffcf8f99e8d33ec8afb450956804af518fd788 (diff) |
sysctl: for irda update sysctl_checks list of binary paths
It turns out that the net/irda code didn't register any of it's binary paths
in the global sysctl.h header file so I missed them completely when making an
authoritative list of binary sysctl paths in the kernel. So add them to the
list of valid binary sysctl paths.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl_check.c')
-rw-r--r-- | kernel/sysctl_check.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c index 6aa4dee79431..f47c33d17032 100644 --- a/kernel/sysctl_check.c +++ b/kernel/sysctl_check.c | |||
@@ -703,6 +703,24 @@ static struct trans_ctl_table trans_net_dccp_table[] = { | |||
703 | {} | 703 | {} |
704 | }; | 704 | }; |
705 | 705 | ||
706 | static struct trans_ctl_table trans_net_irda_table[] = { | ||
707 | { NET_IRDA_DISCOVERY, "discovery" }, | ||
708 | { NET_IRDA_DEVNAME, "devname" }, | ||
709 | { NET_IRDA_DEBUG, "debug" }, | ||
710 | { NET_IRDA_FAST_POLL, "fast_poll_increase" }, | ||
711 | { NET_IRDA_DISCOVERY_SLOTS, "discovery_slots" }, | ||
712 | { NET_IRDA_DISCOVERY_TIMEOUT, "discovery_timeout" }, | ||
713 | { NET_IRDA_SLOT_TIMEOUT, "slot_timeout" }, | ||
714 | { NET_IRDA_MAX_BAUD_RATE, "max_baud_rate" }, | ||
715 | { NET_IRDA_MIN_TX_TURN_TIME, "min_tx_turn_time" }, | ||
716 | { NET_IRDA_MAX_TX_DATA_SIZE, "max_tx_data_size" }, | ||
717 | { NET_IRDA_MAX_TX_WINDOW, "max_tx_window" }, | ||
718 | { NET_IRDA_MAX_NOREPLY_TIME, "max_noreply_time" }, | ||
719 | { NET_IRDA_WARN_NOREPLY_TIME, "warn_noreply_time" }, | ||
720 | { NET_IRDA_LAP_KEEPALIVE_TIME, "lap_keepalive_time" }, | ||
721 | {} | ||
722 | }; | ||
723 | |||
706 | static struct trans_ctl_table trans_net_table[] = { | 724 | static struct trans_ctl_table trans_net_table[] = { |
707 | { NET_CORE, "core", trans_net_core_table }, | 725 | { NET_CORE, "core", trans_net_core_table }, |
708 | /* NET_ETHER not used */ | 726 | /* NET_ETHER not used */ |
@@ -724,6 +742,7 @@ static struct trans_ctl_table trans_net_table[] = { | |||
724 | { NET_LLC, "llc", trans_net_llc_table }, | 742 | { NET_LLC, "llc", trans_net_llc_table }, |
725 | { NET_NETFILTER, "netfilter", trans_net_netfilter_table }, | 743 | { NET_NETFILTER, "netfilter", trans_net_netfilter_table }, |
726 | { NET_DCCP, "dccp", trans_net_dccp_table }, | 744 | { NET_DCCP, "dccp", trans_net_dccp_table }, |
745 | { NET_IRDA, "irda", trans_net_irda_table }, | ||
727 | { 2089, "nf_conntrack_max" }, | 746 | { 2089, "nf_conntrack_max" }, |
728 | {} | 747 | {} |
729 | }; | 748 | }; |