mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
sys_sysfs: Add CONFIG_SYSFS_SYSCALL
sys_sysfs is an obsolete system call no longer supported by libc. - This patch adds a default CONFIG_SYSFS_SYSCALL=y - Option can be turned off in expert mode. - cond_syscall added to kernel/sys_ni.c [[email protected]: tweak Kconfig help text] Signed-off-by: Fabian Frederick <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e3a0cfdc8c
commit
6af9f7bf3c
3 changed files with 13 additions and 0 deletions
10
init/Kconfig
10
init/Kconfig
|
|
@ -1290,6 +1290,16 @@ config UID16
|
|||
help
|
||||
This enables the legacy 16-bit UID syscall wrappers.
|
||||
|
||||
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 SYSCTL_SYSCALL
|
||||
bool "Sysctl syscall support" if EXPERT
|
||||
depends on PROC_SYSCTL
|
||||
|
|
|
|||
Loading…
Reference in a new issue