Skip to content

Commit c443279

Browse files
committed
Kconfig: switch CONFIG_SYSFS_SYCALL default to n
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 <[email protected]>
1 parent 834a4a6 commit c443279

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

init/Kconfig

+10-10
Original file line numberDiff line numberDiff line change
@@ -1555,6 +1555,16 @@ config SYSCTL_ARCH_UNALIGN_ALLOW
15551555
the unaligned access emulation.
15561556
see arch/parisc/kernel/unaligned.c for reference
15571557

1558+
config SYSFS_SYSCALL
1559+
bool "Sysfs syscall support"
1560+
default n
1561+
help
1562+
sys_sysfs is an obsolete system call no longer supported in libc.
1563+
Note that disabling this option is more secure but might break
1564+
compatibility with some systems.
1565+
1566+
If unsure say N here.
1567+
15581568
config HAVE_PCSPKR_PLATFORM
15591569
bool
15601570

@@ -1599,16 +1609,6 @@ config SGETMASK_SYSCALL
15991609

16001610
If unsure, leave the default option here.
16011611

1602-
config SYSFS_SYSCALL
1603-
bool "Sysfs syscall support" if EXPERT
1604-
default y
1605-
help
1606-
sys_sysfs is an obsolete system call no longer supported in libc.
1607-
Note that disabling this option is more secure but might break
1608-
compatibility with some systems.
1609-
1610-
If unsure say Y here.
1611-
16121612
config FHANDLE
16131613
bool "open by fhandle syscalls" if EXPERT
16141614
select EXPORTFS

0 commit comments

Comments
 (0)