]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Dec 2019 21:26:18 +0000 (13:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Dec 2019 21:26:18 +0000 (13:26 -0800)
Pull sysctl system call removal from Eric Biederman:
 "As far as I can tell we have reached the point where no one enables
  the sysctl system call anymore. It still is enabled in a few
  defconfigs but they are mostly the rarely used one and in asking
  people about that it was more cut & paste enabled than anything else.

  This is single commit that just deletes code. Leaving just enough code
  so that the deprecated sysctl warning continues to be printed. If my
  analysis turns out to be wrong and someone actually cares it will be
  easy to revert this commit and have the system call again.

  There was one new xtensa defconfig in linux-next that enabled the
  system call this cycle and when asked about it the maintainer of the
  code replied that it was not enabled on purpose. As of today's
  linux-next tree that defconfig no longer enables the system call.

  What we saw in the review discussion was that if we go a step farther
  than my patch and mess with uapi headers there are pieces of code that
  won't compile, but nothing minds the system call actually disappearing
  from the kernel"

Link: https://lore.kernel.org/lkml/201910011140.EA0181F13@keescook/
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  sysctl: Remove the sysctl system call

1  2 
arch/mips/configs/loongson3_defconfig
init/Kconfig

index c16a2330e84d34658981ba4a4d2745891d2d0235,409dc9a43f586edd019055465108ce093a8cfd01..360c6b2d397a45266c88fcf55e75466b9298e2f0
@@@ -20,9 -21,9 +20,8 @@@ CONFIG_SCHED_AUTOGROUP=
  CONFIG_SYSFS_DEPRECATED=y
  CONFIG_RELAY=y
  CONFIG_BLK_DEV_INITRD=y
- CONFIG_SYSCTL_SYSCALL=y
  CONFIG_EMBEDDED=y
  CONFIG_MACH_LOONGSON64=y
 -CONFIG_LOONGSON_MACH3X=y
  CONFIG_SMP=y
  CONFIG_HZ_256=y
  CONFIG_KEXEC=y
diff --cc init/Kconfig
Simple merge