Skip to contentSkip to conversation

riscv: Delete CONFIG_SYSFS_SYSCALL from defconfigs

PATCH New Deepa Dinamani 1 participant 1 message Jan 5, 2020 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: Delete CONFIG_SYSFS_SYSCALL from defconfigs

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.

---
 arch/riscv/configs/defconfig      | 1 +
 arch/riscv/configs/rv32_defconfig | 1 +
 2 files changed, 2 insertions(+)
arch/riscv/configs/defconfig +1 -0
index e2ff95cb3390..58f97b3cb24c 100644
@@ -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
arch/riscv/configs/rv32_defconfig +1 -0
index eb519407c841..f4076b6ac063 100644
@@ -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
Signature · 1 line
2.17.1