UPSTREAM: Make anon_inodes unconditional
Make the anon_inodes facility unconditional so that it can be used by core VFS code. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> (cherry picked from commit dadd2299ab61fc2b55b95b7b3a8f674cdd3b69c9) Bug: 135608568 Test: test program using syscall(__NR_sys_pidfd_open,..) and poll() Change-Id: I2f97bda4f360d8d05bbb603de839717b3d8067ae Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
parent
68defbc4c8
commit
1999644115
18 changed files with 1 additions and 27 deletions
10
init/Kconfig
10
init/Kconfig
|
@ -1523,9 +1523,6 @@ endchoice
|
|||
config SYSCTL
|
||||
bool
|
||||
|
||||
config ANON_INODES
|
||||
bool
|
||||
|
||||
config HAVE_UID16
|
||||
bool
|
||||
|
||||
|
@ -1743,14 +1740,12 @@ config HAVE_FUTEX_CMPXCHG
|
|||
config EPOLL
|
||||
bool "Enable eventpoll support" if EXPERT
|
||||
default y
|
||||
select ANON_INODES
|
||||
help
|
||||
Disabling this option will cause the kernel to be built without
|
||||
support for epoll family of system calls.
|
||||
|
||||
config SIGNALFD
|
||||
bool "Enable signalfd() system call" if EXPERT
|
||||
select ANON_INODES
|
||||
default y
|
||||
help
|
||||
Enable the signalfd() system call that allows to receive signals
|
||||
|
@ -1760,7 +1755,6 @@ config SIGNALFD
|
|||
|
||||
config TIMERFD
|
||||
bool "Enable timerfd() system call" if EXPERT
|
||||
select ANON_INODES
|
||||
default y
|
||||
help
|
||||
Enable the timerfd() system call that allows to receive timer
|
||||
|
@ -1770,7 +1764,6 @@ config TIMERFD
|
|||
|
||||
config EVENTFD
|
||||
bool "Enable eventfd() system call" if EXPERT
|
||||
select ANON_INODES
|
||||
default y
|
||||
help
|
||||
Enable the eventfd() system call that allows to receive both
|
||||
|
@ -1781,7 +1774,6 @@ config EVENTFD
|
|||
# syscall, maps, verifier
|
||||
config BPF_SYSCALL
|
||||
bool "Enable bpf() system call"
|
||||
select ANON_INODES
|
||||
select BPF
|
||||
default n
|
||||
help
|
||||
|
@ -1826,7 +1818,6 @@ config ADVISE_SYSCALLS
|
|||
|
||||
config USERFAULTFD
|
||||
bool "Enable userfaultfd() system call"
|
||||
select ANON_INODES
|
||||
depends on MMU
|
||||
help
|
||||
Enable the userfaultfd() system call that allows to intercept and
|
||||
|
@ -1878,7 +1869,6 @@ config PERF_EVENTS
|
|||
bool "Kernel performance events and counters"
|
||||
default y if PROFILING
|
||||
depends on HAVE_PERF_EVENTS
|
||||
select ANON_INODES
|
||||
select IRQ_WORK
|
||||
select SRCU
|
||||
help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue