Skip to content

Commit

Permalink
Kconfig: switch CONFIG_SYSFS_SYCALL default to n
Browse files Browse the repository at this point in the history
This odd system call will be removed in the future. Let's decouple it
from CONFIG_EXPERT and switch the default to n as a first step.

Link: https://lore.kernel.org/20250415-dezimieren-wertpapier-9fd18a211a41@brauner
Signed-off-by: Christian Brauner <brauner@kernel.org>
  • Loading branch information
Christian Brauner committed Apr 15, 2025
1 parent 834a4a6 commit c443279
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1555,6 +1555,16 @@ config SYSCTL_ARCH_UNALIGN_ALLOW
the unaligned access emulation.
see arch/parisc/kernel/unaligned.c for reference

config SYSFS_SYSCALL
bool "Sysfs syscall support"
default n
help
sys_sysfs is an obsolete system call no longer supported in libc.
Note that disabling this option is more secure but might break
compatibility with some systems.

If unsure say N here.

config HAVE_PCSPKR_PLATFORM
bool

Expand Down Expand Up @@ -1599,16 +1609,6 @@ config SGETMASK_SYSCALL

If unsure, leave the default option here.

config SYSFS_SYSCALL
bool "Sysfs syscall support" if EXPERT
default y
help
sys_sysfs is an obsolete system call no longer supported in libc.
Note that disabling this option is more secure but might break
compatibility with some systems.

If unsure say Y here.

config FHANDLE
bool "open by fhandle syscalls" if EXPERT
select EXPORTFS
Expand Down

0 comments on commit c443279

Please sign in to comment.