aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-10-18 06:05:24 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:37:22 -0400
commitf5ead5cefc1129d5f001728004ed0f38d5875c02 (patch)
tree4680b7924c676c99afa7e4d7d814b54e6bc47c02 /kernel
parent97aeacf49239d7f829b8cbfaca05530c97ccb903 (diff)
sysctl: remove binary sysctl support where it clearly doesn't work
These functions are all wrapper functions for the proc interface that are needed for them to work correctly. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Cc: Alexey Dobriyan <adobriyan@sw.ru> Acked-by: Andrew Morgan <morgan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 88c8ea8f5e8c..8e8f3f4cf14b 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -365,7 +365,6 @@ static struct ctl_table kern_table[] = {
365 }, 365 },
366#ifdef CONFIG_PROC_SYSCTL 366#ifdef CONFIG_PROC_SYSCTL
367 { 367 {
368 .ctl_name = KERN_TAINTED,
369 .procname = "tainted", 368 .procname = "tainted",
370 .data = &tainted, 369 .data = &tainted,
371 .maxlen = sizeof(int), 370 .maxlen = sizeof(int),
@@ -374,7 +373,6 @@ static struct ctl_table kern_table[] = {
374 }, 373 },
375#endif 374#endif
376 { 375 {
377 .ctl_name = KERN_CAP_BSET,
378 .procname = "cap-bound", 376 .procname = "cap-bound",
379 .data = &cap_bset, 377 .data = &cap_bset,
380 .maxlen = sizeof(kernel_cap_t), 378 .maxlen = sizeof(kernel_cap_t),
@@ -650,7 +648,6 @@ static struct ctl_table kern_table[] = {
650 .proc_handler = &proc_dointvec, 648 .proc_handler = &proc_dointvec,
651 }, 649 },
652 { 650 {
653 .ctl_name = KERN_NMI_WATCHDOG,
654 .procname = "nmi_watchdog", 651 .procname = "nmi_watchdog",
655 .data = &nmi_watchdog_enabled, 652 .data = &nmi_watchdog_enabled,
656 .maxlen = sizeof (int), 653 .maxlen = sizeof (int),
@@ -847,7 +844,6 @@ static struct ctl_table vm_table[] = {
847 .extra2 = &one_hundred, 844 .extra2 = &one_hundred,
848 }, 845 },
849 { 846 {
850 .ctl_name = VM_DIRTY_WB_CS,
851 .procname = "dirty_writeback_centisecs", 847 .procname = "dirty_writeback_centisecs",
852 .data = &dirty_writeback_interval, 848 .data = &dirty_writeback_interval,
853 .maxlen = sizeof(dirty_writeback_interval), 849 .maxlen = sizeof(dirty_writeback_interval),
@@ -855,7 +851,6 @@ static struct ctl_table vm_table[] = {
855 .proc_handler = &dirty_writeback_centisecs_handler, 851 .proc_handler = &dirty_writeback_centisecs_handler,
856 }, 852 },
857 { 853 {
858 .ctl_name = VM_DIRTY_EXPIRE_CS,
859 .procname = "dirty_expire_centisecs", 854 .procname = "dirty_expire_centisecs",
860 .data = &dirty_expire_interval, 855 .data = &dirty_expire_interval,
861 .maxlen = sizeof(dirty_expire_interval), 856 .maxlen = sizeof(dirty_expire_interval),
@@ -883,7 +878,6 @@ static struct ctl_table vm_table[] = {
883 }, 878 },
884#ifdef CONFIG_HUGETLB_PAGE 879#ifdef CONFIG_HUGETLB_PAGE
885 { 880 {
886 .ctl_name = VM_HUGETLB_PAGES,
887 .procname = "nr_hugepages", 881 .procname = "nr_hugepages",
888 .data = &max_huge_pages, 882 .data = &max_huge_pages,
889 .maxlen = sizeof(unsigned long), 883 .maxlen = sizeof(unsigned long),
@@ -1116,7 +1110,6 @@ static struct ctl_table fs_table[] = {
1116 .proc_handler = &proc_dointvec, 1110 .proc_handler = &proc_dointvec,
1117 }, 1111 },
1118 { 1112 {
1119 .ctl_name = FS_NRFILE,
1120 .procname = "file-nr", 1113 .procname = "file-nr",
1121 .data = &files_stat, 1114 .data = &files_stat,
1122 .maxlen = 3*sizeof(int), 1115 .maxlen = 3*sizeof(int),