aboutsummaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-09-27 04:51:04 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 11:26:19 -0400
commitb89a81712f486e4f7a606987413e387605fdeaf4 (patch)
tree98702b89a50e927c38f2e31cf824c10d2585722f /fs/Kconfig
parent571817849c76aabf34d534c905b5e604f2e824c5 (diff)
[PATCH] sysctl: Allow /proc/sys without sys_sysctl
Since sys_sysctl is deprecated start allow it to be compiled out. This should catch any remaining user space code that cares, and paves the way for further sysctl cleanups. [akpm@osdl.org: If sys_sysctl() is not compiled-in, emit a warning] Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index a27002668bd3..d311198bba43 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -826,6 +826,25 @@ config PROC_VMCORE
826 help 826 help
827 Exports the dump image of crashed kernel in ELF format. 827 Exports the dump image of crashed kernel in ELF format.
828 828
829config PROC_SYSCTL
830 bool "Sysctl support (/proc/sys)" if EMBEDDED
831 depends on PROC_FS
832 select SYSCTL
833 default y
834 ---help---
835 The sysctl interface provides a means of dynamically changing
836 certain kernel parameters and variables on the fly without requiring
837 a recompile of the kernel or reboot of the system. The primary
838 interface is through /proc/sys. If you say Y here a tree of
839 modifiable sysctl entries will be generated beneath the
840 /proc/sys directory. They are explained in the files
841 in <file:Documentation/sysctl/>. Note that enabling this
842 option will enlarge the kernel by at least 8 KB.
843
844 As it is generally a good thing, you should say Y here unless
845 building a kernel for install/rescue disks or your system is very
846 limited in memory.
847
829config SYSFS 848config SYSFS
830 bool "sysfs file system support" if EMBEDDED 849 bool "sysfs file system support" if EMBEDDED
831 default y 850 default y