]> Git Repo - linux.git/commit
sysctl: Remove the sysctl system call
authorEric W. Biederman <[email protected]>
Tue, 1 Oct 2019 18:01:19 +0000 (13:01 -0500)
committerEric W. Biederman <[email protected]>
Tue, 26 Nov 2019 19:03:56 +0000 (13:03 -0600)
commit61a47c1ad3a4dc6882f01ebdc88138ac62d0df03
treed4797e7d2eff82aea6ab9654b7302b6217882d43
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
sysctl: Remove the sysctl system call

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 <[email protected]>
Cc: Anders Berg <[email protected]>
Cc: Apelete Seketeli <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Chee Nouk Phoon <[email protected]>
Cc: Chris Zankel <[email protected]>
Cc: Christian Ruppert <[email protected]>
Cc: Greg Ungerer <[email protected]>
Cc: Harvey Hunt <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Hongliang Tao <[email protected]>
Cc: Hua Yan <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: John Crispin <[email protected]>
Cc: Jonas Jensen <[email protected]>
Cc: Josh Boyer <[email protected]>
Cc: Jun Nie <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Kevin Wells <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Ley Foon Tan <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Markos Chandras <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: Noam Camus <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Phil Edworthy <[email protected]>
Cc: Pierrick Hascoet <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Roland Stigge <[email protected]>
Cc: Santosh Shilimkar <[email protected]>
Cc: Scott Telford <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Steven J. Hill <[email protected]>
Cc: Tanmay Inamdar <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: Wolfram Sang <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
34 files changed:
arch/arc/configs/nps_defconfig
arch/arc/configs/tb10x_defconfig
arch/arm/configs/axm55xx_defconfig
arch/arm/configs/keystone_defconfig
arch/arm/configs/lpc32xx_defconfig
arch/arm/configs/moxart_defconfig
arch/arm/configs/qcom_defconfig
arch/arm/configs/zx_defconfig
arch/m68k/configs/m5475evb_defconfig
arch/mips/configs/ci20_defconfig
arch/mips/configs/loongson3_defconfig
arch/mips/configs/malta_qemu_32r6_defconfig
arch/mips/configs/maltaaprp_defconfig
arch/mips/configs/maltasmvp_defconfig
arch/mips/configs/maltasmvp_eva_defconfig
arch/mips/configs/maltaup_defconfig
arch/mips/configs/omega2p_defconfig
arch/mips/configs/qi_lb60_defconfig
arch/mips/configs/vocore2_defconfig
arch/nios2/configs/10m50_defconfig
arch/nios2/configs/3c120_defconfig
arch/parisc/configs/c8000_defconfig
arch/parisc/configs/generic-32bit_defconfig
arch/powerpc/configs/40x/klondike_defconfig
arch/sh/configs/rsk7264_defconfig
arch/xtensa/configs/audio_kc705_defconfig
arch/xtensa/configs/cadence_csp_defconfig
arch/xtensa/configs/generic_kc705_defconfig
arch/xtensa/configs/iss_defconfig
arch/xtensa/configs/nommu_kc705_defconfig
arch/xtensa/configs/smp_lx200_defconfig
arch/xtensa/configs/virt_defconfig
init/Kconfig
kernel/sysctl_binary.c
This page took 0.065243 seconds and 4 git commands to generate.