diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/init/Kconfig b/init/Kconfig index 9a7656f0b5ec..4381006dd666 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -273,21 +273,24 @@ config UID16 | |||
273 | This enables the legacy 16-bit UID syscall wrappers. | 273 | This enables the legacy 16-bit UID syscall wrappers. |
274 | 274 | ||
275 | config SYSCTL | 275 | config SYSCTL |
276 | bool "Sysctl support" if EMBEDDED | 276 | bool |
277 | default y | 277 | |
278 | config SYSCTL_SYSCALL | ||
279 | bool "Sysctl syscall support" | ||
280 | default n | ||
281 | select SYSCTL | ||
278 | ---help--- | 282 | ---help--- |
279 | The sysctl interface provides a means of dynamically changing | 283 | Enable the deprecated sysctl system call. sys_sysctl uses |
280 | certain kernel parameters and variables on the fly without requiring | 284 | binary paths that have been found to be a major pain to maintain |
281 | a recompile of the kernel or reboot of the system. The primary | 285 | and use. The interface in /proc/sys is now the primary and what |
282 | interface consists of a system call, but if you say Y to "/proc | 286 | everyone uses. |
283 | file system support", a tree of modifiable sysctl entries will be | 287 | |
284 | generated beneath the /proc/sys directory. They are explained in the | 288 | Nothing has been using the binary sysctl interface for some time |
285 | files in <file:Documentation/sysctl/>. Note that enabling this | 289 | time now so nothing should break if you disable sysctl syscall |
286 | option will enlarge the kernel by at least 8 KB. | 290 | support, and you kernel will get marginally smaller. |
287 | 291 | ||
288 | As it is generally a good thing, you should say Y here unless | 292 | Unless you have an application that uses the sys_syscall interface |
289 | building a kernel for install/rescue disks or your system is very | 293 | you should probably say N here. |
290 | limited in memory. | ||
291 | 294 | ||
292 | config KALLSYMS | 295 | config KALLSYMS |
293 | bool "Load all symbols for debugging/kksymoops" if EMBEDDED | 296 | bool "Load all symbols for debugging/kksymoops" if EMBEDDED |