Re: [PATCH] Kconfig: switch CONFIG_SYSFS_SYCALL default to n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 15, 2025 at 10:22 AM Christian Brauner <brauner@xxxxxxxxxx> wrote:
>
> 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.
>
> Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>

Typo in the subject line: Should be CONFIG_SYSFS_SY*S*CALL (missing S
in SYSCALL).

-sed@-

> ---
>  init/Kconfig | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index dd2ea3b9a799..63f5974b9fa6 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -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
>
> @@ -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
> --
> 2.47.2
>
>





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux