The patch titled Undeprecate the sysctl system call has been added to the -mm tree. Its filename is undeprecate-the-sysctl-system-call.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Undeprecate the sysctl system call From: Cal Peake <cp@xxxxxxxxxxxxxxxxxxx> Undeprecate the sysctl system call and default to always include it with the option for embedded folks to exclude it. Also, remove it's entry from the feature removal file. Signed-off-by: Cal Peake <cp@xxxxxxxxxxxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- Documentation/feature-removal-schedule.txt | 12 ---------- init/Kconfig | 22 +++++++++---------- 2 files changed, 11 insertions(+), 23 deletions(-) diff -puN Documentation/feature-removal-schedule.txt~undeprecate-the-sysctl-system-call Documentation/feature-removal-schedule.txt --- a/Documentation/feature-removal-schedule.txt~undeprecate-the-sysctl-system-call +++ a/Documentation/feature-removal-schedule.txt @@ -53,18 +53,6 @@ Who: Mauro Carvalho Chehab <mchehab@brtu --------------------------- -What: sys_sysctl -When: January 2007 -Why: The same information is available through /proc/sys and that is the - interface user space prefers to use. And there do not appear to be - any existing user in user space of sys_sysctl. The additional - maintenance overhead of keeping a set of binary names gets - in the way of doing a good job of maintaining this interface. - -Who: Eric Biederman <ebiederm@xxxxxxxxxxxx> - ---------------------------- - What: PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl]) When: November 2005 Files: drivers/pcmcia/: pcmcia_ioctl.c diff -puN init/Kconfig~undeprecate-the-sysctl-system-call init/Kconfig --- a/init/Kconfig~undeprecate-the-sysctl-system-call +++ a/init/Kconfig @@ -304,20 +304,20 @@ config UID16 config SYSCTL_SYSCALL bool "Sysctl syscall support" if EMBEDDED - default n + default y select SYSCTL ---help--- - Enable the deprecated sysctl system call. sys_sysctl uses - binary paths that have been found to be a major pain to maintain - and use. The interface in /proc/sys is now the primary and what - everyone uses. - - Nothing has been using the binary sysctl interface for some - time now so nothing should break if you disable sysctl syscall - support, and your kernel will get marginally smaller. + This option allows you to specify whether or not to build into + your kernel support for the sysctl system call. You can disable + this if you are building a kernel for a system with limited + resources (e.g. an embedded device) and your kernel image will + shrink by a few kilobytes. + + NOTE: Disabling this option will cause a warning to be printed + if a program attempts to use this system call. - Unless you have an application that uses the sys_sysctl interface - you should probably say N here. + If you are sure your userspace enviroment has no need for this + system call you can say N here. config KALLSYMS bool "Load all symbols for debugging/kksymoops" if EMBEDDED _ Patches currently in -mm which might be from cp@xxxxxxxxxxxxxxxxxxx are undeprecate-the-sysctl-system-call.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html