mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
61a47c1ad3
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>
200 lines
4.7 KiB
Plaintext
200 lines
4.7 KiB
Plaintext
CONFIG_SYSVIPC=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_PREEMPT=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=16
|
|
CONFIG_SYSFS_DEPRECATED=y
|
|
CONFIG_SYSFS_DEPRECATED_V2=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
CONFIG_EMBEDDED=y
|
|
CONFIG_SLAB=y
|
|
# CONFIG_ARCH_MULTI_V7 is not set
|
|
CONFIG_ARCH_LPC32XX=y
|
|
CONFIG_AEABI=y
|
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
CONFIG_ARM_APPENDED_DTB=y
|
|
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
|
CONFIG_CMDLINE="console=ttyS0,115200n81 root=/dev/ram0"
|
|
CONFIG_CPU_IDLE=y
|
|
CONFIG_VFP=y
|
|
CONFIG_JUMP_LABEL=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
CONFIG_IP_PNP_BOOTP=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_WIRELESS is not set
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
# CONFIG_FW_LOADER is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_MTD_NAND_SLC_LPC32XX=y
|
|
CONFIG_MTD_NAND_MLC_LPC32XX=y
|
|
CONFIG_MTD_UBI=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_CRYPTOLOOP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_COUNT=1
|
|
CONFIG_BLK_DEV_RAM_SIZE=16384
|
|
CONFIG_SRAM=y
|
|
CONFIG_EEPROM_AT24=y
|
|
CONFIG_EEPROM_AT25=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_NETDEVICES=y
|
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
|
# CONFIG_NET_VENDOR_CIRRUS is not set
|
|
# CONFIG_NET_VENDOR_FARADAY 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_MICROCHIP is not set
|
|
# CONFIG_NET_VENDOR_NATSEMI is not set
|
|
CONFIG_LPC_ENET=y
|
|
# CONFIG_NET_VENDOR_SEEQ is not set
|
|
# CONFIG_NET_VENDOR_SMSC is not set
|
|
# CONFIG_NET_VENDOR_STMICRO is not set
|
|
CONFIG_SMSC_PHY=y
|
|
# CONFIG_WLAN is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_KEYBOARD_ATKBD is not set
|
|
CONFIG_KEYBOARD_GPIO=y
|
|
CONFIG_KEYBOARD_GPIO_POLLED=y
|
|
CONFIG_KEYBOARD_LPC32XX=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
CONFIG_TOUCHSCREEN_LPC32XX=y
|
|
CONFIG_SERIO_LIBPS2=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
CONFIG_SERIAL_HS_LPC32XX=y
|
|
CONFIG_SERIAL_HS_LPC32XX_CONSOLE=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_I2C_PNX=y
|
|
CONFIG_GPIO_LPC32XX=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_PL022=y
|
|
CONFIG_GPIO_SYSFS=y
|
|
CONFIG_GPIO_GENERIC_PLATFORM=y
|
|
CONFIG_GPIO_PCA953X=y
|
|
CONFIG_GPIO_PCF857X=y
|
|
CONFIG_SENSORS_DS620=y
|
|
CONFIG_SENSORS_MAX6639=y
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_PNX4008_WATCHDOG=y
|
|
CONFIG_REGULATOR=y
|
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
|
CONFIG_DRM=y
|
|
CONFIG_DRM_PANEL_SIMPLE=y
|
|
CONFIG_DRM_PL111=y
|
|
CONFIG_FB_MODE_HELPERS=y
|
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
# CONFIG_LOGO_LINUX_MONO is not set
|
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
# CONFIG_SND_SUPPORT_OLD_API is not set
|
|
# CONFIG_SND_VERBOSE_PROCFS is not set
|
|
CONFIG_SND_DEBUG=y
|
|
CONFIG_SND_DEBUG_VERBOSE=y
|
|
CONFIG_SND_SEQUENCER=y
|
|
# CONFIG_SND_DRIVERS is not set
|
|
# CONFIG_SND_ARM is not set
|
|
# CONFIG_SND_SPI is not set
|
|
CONFIG_SND_SOC=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_LPC32XX=y
|
|
CONFIG_USB_MASS_STORAGE=m
|
|
CONFIG_USB_G_SERIAL=m
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_ARMMMCI=y
|
|
CONFIG_MMC_SPI=y
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_PCA9532=y
|
|
CONFIG_LEDS_PCA9532_GPIO=y
|
|
CONFIG_LEDS_GPIO=y
|
|
CONFIG_LEDS_PWM=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_TIMER=y
|
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
|
CONFIG_LEDS_TRIGGER_GPIO=y
|
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_INTF_DEV_UIE_EMUL=y
|
|
CONFIG_RTC_DRV_DS1374=y
|
|
CONFIG_RTC_DRV_PCF8563=y
|
|
CONFIG_RTC_DRV_LPC32XX=y
|
|
CONFIG_DMADEVICES=y
|
|
CONFIG_AMBA_PL08X=y
|
|
CONFIG_STAGING=y
|
|
CONFIG_MEMORY=y
|
|
CONFIG_ARM_PL172_MPMC=y
|
|
CONFIG_IIO=y
|
|
CONFIG_LPC32XX_ADC=y
|
|
CONFIG_MAX517=y
|
|
CONFIG_PWM=y
|
|
CONFIG_PWM_LPC32XX=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_AUTOFS4_FS=y
|
|
CONFIG_MSDOS_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_JFFS2_FS_WBUF_VERIFY=y
|
|
CONFIG_UBIFS_FS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_NFS_V4_1=y
|
|
CONFIG_NFS_V4_2=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_ASCII=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_UTF8=y
|
|
CONFIG_CRYPTO_ANSI_CPRNG=y
|
|
# CONFIG_CRYPTO_HW is not set
|
|
CONFIG_CRC_CCITT=y
|
|
CONFIG_PRINTK_TIME=y
|
|
CONFIG_DYNAMIC_DEBUG=y
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_GDB_SCRIPTS=y
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_PANIC_ON_OOPS=y
|
|
CONFIG_PANIC_TIMEOUT=5
|
|
# CONFIG_SCHED_DEBUG is not set
|
|
# CONFIG_DEBUG_PREEMPT is not set
|
|
# CONFIG_FTRACE is not set
|
|
CONFIG_DEBUG_LL=y
|
|
CONFIG_EARLY_PRINTK=y
|