• Eric W. Biederman's avatar
    sysctl: Remove the sysctl system call · 61a47c1a
    Eric W. Biederman authored
    This system call has been deprecated almost since it was introduced, and
    in a survey of the linux distributions I can no longer find any of them
    that enable CONFIG_SYSCTL_SYSCALL.  The only indication that I can find
    that anyone might care is that a few of the defconfigs in the kernel
    enable CONFIG_SYSCTL_SYSCALL.  However this appears in only 31 of 414
    defconfigs in the kernel, so I suspect this symbols presence is simply
    because it is harmless to include rather than because it is necessary.
    
    As there appear to be no users of the sysctl system call, remove the
    code.  As this removes one of the few uses of the internal kernel mount
    of proc I hope this allows for even more simplifications of the proc
    filesystem.
    
    Cc: Alex Smith <alex.smith@imgtec.com>
    Cc: Anders Berg <anders.berg@lsi.com>
    Cc: Apelete Seketeli <apelete@seketeli.net>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Chee Nouk Phoon <cnphoon@altera.com>
    Cc: Chris Zankel <chris@zankel.net>
    Cc: Christian Ruppert <christian.ruppert@abilis.com>
    Cc: Greg Ungerer <gerg@uclinux.org>
    Cc: Harvey Hunt <harvey.hunt@imgtec.com>
    Cc: Helge Deller <deller@gmx.de>
    Cc: Hongliang Tao <taohl@lemote.com>
    Cc: Hua Yan <yanh@lemote.com>
    Cc: Huacai Chen <chenhc@lemote.com>
    Cc: John Crispin <blogic@openwrt.org>
    Cc: Jonas Jensen <jonas.jensen@gmail.com>
    Cc: Josh Boyer <jwboyer@gmail.com>
    Cc: Jun Nie <jun.nie@linaro.org>
    Cc: Kevin Hilman <khilman@linaro.org>
    Cc: Kevin Wells <kevin.wells@nxp.com>
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Lars-Peter Clausen <lars@metafoo.de>
    Cc: Ley Foon Tan <lftan@altera.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Markos Chandras <markos.chandras@imgtec.com>
    Cc: Max Filippov <jcmvbkbc@gmail.com>
    Cc: Noam Camus <noamc@ezchip.com>
    Cc: Olof Johansson <olof@lixom.net>
    Cc: Paul Burton <paul.burton@mips.com>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Cc: Phil Edworthy <phil.edworthy@renesas.com>
    Cc: Pierrick Hascoet <pierrick.hascoet@abilis.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Roland Stigge <stigge@antcom.de>
    Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
    Cc: Scott Telford <stelford@cadence.com>
    Cc: Stephen Boyd <sboyd@codeaurora.org>
    Cc: Steven J. Hill <Steven.Hill@imgtec.com>
    Cc: Tanmay Inamdar <tinamdar@apm.com>
    Cc: Vineet Gupta <vgupta@synopsys.com>
    Cc: Wolfram Sang <w.sang@pengutronix.de>
    Acked-by: default avatarAndi Kleen <ak@linux.intel.com>
    Reviewed-by: default avatarKees Cook <keescook@chromium.org>
    Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
    61a47c1a
vocore2_defconfig 3.1 KB