riscv: Delete CONFIG_SYSFS_SYSCALL from defconfigs
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sun, 5 Jan 2020 20:10:20 +0000 (12:10 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 3 Mar 2020 18:28:11 +0000 (10:28 -0800)
According to init/Kconfig:
"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."

This syscall is not required for new architectures. Since the config
defaults to 'y'. Set this to 'n' exlicitly.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/configs/defconfig
arch/riscv/configs/rv32_defconfig

index e2ff95cb3390f1750746d433e1877c45855b73f6..58f97b3cb24c99a0e6da99c3f9b5b3fc0a958b07 100644 (file)
@@ -125,3 +125,4 @@ CONFIG_DEBUG_BLOCK_EXT_DEVT=y
 # CONFIG_FTRACE is not set
 # CONFIG_RUNTIME_TESTING_MENU is not set
 CONFIG_MEMTEST=y
+# CONFIG_SYSFS_SYSCALL is not set
index eb519407c841b3327898680cd4c1893165900eb4..f4076b6ac063e9edcefda4807f9ac88dfa2ce946 100644 (file)
@@ -122,3 +122,4 @@ CONFIG_DEBUG_BLOCK_EXT_DEVT=y
 # CONFIG_FTRACE is not set
 # CONFIG_RUNTIME_TESTING_MENU is not set
 CONFIG_MEMTEST=y
+# CONFIG_SYSFS_SYSCALL is not set