mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![Eric W. Biederman](/assets/img/avatar_default.png)
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: Andi Kleen <ak@linux.intel.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
106 lines
2.8 KiB
Text
106 lines
2.8 KiB
Text
# CONFIG_LOCALVERSION_AUTO is not set
|
|
CONFIG_DEFAULT_HOSTNAME="tb10x"
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
# CONFIG_CROSS_MEMORY_ATTACH is not set
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_BSD_PROCESS_ACCT_V3=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=16
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_INITRAMFS_SOURCE="../tb10x-rootfs.cpio"
|
|
CONFIG_INITRAMFS_ROOT_UID=2100
|
|
CONFIG_INITRAMFS_ROOT_GID=501
|
|
# CONFIG_RD_GZIP is not set
|
|
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y
|
|
CONFIG_KALLSYMS_ALL=y
|
|
# CONFIG_AIO is not set
|
|
CONFIG_EMBEDDED=y
|
|
# CONFIG_COMPAT_BRK is not set
|
|
CONFIG_ISA_ARCOMPACT=y
|
|
CONFIG_SLAB=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_FORCE_LOAD=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLOCK is not set
|
|
CONFIG_ARC_PLAT_TB10X=y
|
|
CONFIG_ARC_CACHE_LINE_SHIFT=5
|
|
CONFIG_HZ=250
|
|
CONFIG_ARC_BUILTIN_DTB_NAME="abilis_tb100_dvk"
|
|
CONFIG_PREEMPT_VOLUNTARY=y
|
|
# CONFIG_COMPACTION is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
# CONFIG_IPV6 is not set
|
|
# CONFIG_WIRELESS is not set
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_NETDEVICES=y
|
|
# CONFIG_NET_CADENCE is not set
|
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
|
# CONFIG_NET_VENDOR_INTEL is not set
|
|
# CONFIG_NET_VENDOR_MARVELL is not set
|
|
# CONFIG_NET_VENDOR_MICREL is not set
|
|
# CONFIG_NET_VENDOR_NATSEMI is not set
|
|
# CONFIG_NET_VENDOR_SEEQ is not set
|
|
CONFIG_STMMAC_ETH=y
|
|
# CONFIG_NET_VENDOR_WIZNET is not set
|
|
# CONFIG_WLAN is not set
|
|
# CONFIG_INPUT is not set
|
|
# CONFIG_SERIO is not set
|
|
# CONFIG_VT is not set
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=1
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
|
|
CONFIG_SERIAL_8250_DW=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
CONFIG_I2C=y
|
|
# CONFIG_I2C_COMPAT is not set
|
|
CONFIG_I2C_DESIGNWARE_PLATFORM=y
|
|
CONFIG_GPIO_SYSFS=y
|
|
# CONFIG_HWMON is not set
|
|
# CONFIG_USB_SUPPORT is not set
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_GPIO=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_TIMER=y
|
|
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
CONFIG_LEDS_TRIGGER_CPU=y
|
|
CONFIG_LEDS_TRIGGER_GPIO=y
|
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
|
CONFIG_LEDS_TRIGGER_TRANSIENT=y
|
|
CONFIG_DMADEVICES=y
|
|
CONFIG_DW_DMAC=y
|
|
CONFIG_ASYNC_TX_DMA=y
|
|
# CONFIG_IOMMU_SUPPORT is not set
|
|
# CONFIG_DNOTIFY is not set
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_CONFIGFS_FS=y
|
|
# CONFIG_MISC_FILESYSTEMS is not set
|
|
# CONFIG_NETWORK_FILESYSTEMS is not set
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_STRIP_ASM_SYMS=y
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_HEADERS_INSTALL=y
|
|
CONFIG_HEADERS_CHECK=y
|
|
CONFIG_DEBUG_SECTION_MISMATCH=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_MEMORY_INIT=y
|
|
CONFIG_DEBUG_STACKOVERFLOW=y
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
CONFIG_SCHEDSTATS=y
|
|
CONFIG_TIMER_STATS=y
|
|
# CONFIG_CRYPTO_HW is not set
|