Make the anon_inodes facility unconditional so that it can be used by core VFS code and pidfd code.
Unified · Split
| @@ -22,7 +22,6 @@ config KVM · 21 unmodified lines | ||
| 22 | 22 | bool "Kernel-based Virtual Machine (KVM) support" |
| 23 | 23 | depends on MMU && OF |
| 24 | 24 | select PREEMPT_NOTIFIERS |
| 25 | − select ANON_INODES | |
| 26 | 25 | select ARM_GIC |
| 27 | 26 | select ARM_GIC_V3 |
| 28 | 27 | select ARM_GIC_V3_ITS |
| @@ -23,7 +23,6 @@ config KVM · 22 unmodified lines | ||
| 23 | 23 | depends on OF |
| 24 | 24 | select MMU_NOTIFIER |
| 25 | 25 | select PREEMPT_NOTIFIERS |
| 26 | − select ANON_INODES | |
| 27 | 26 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
| 28 | 27 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
| 29 | 28 | select KVM_MMIO |
| @@ -21,7 +21,6 @@ config KVM · 20 unmodified lines | ||
| 21 | 21 | depends on MIPS_FP_SUPPORT |
| 22 | 22 | select EXPORT_UASM |
| 23 | 23 | select PREEMPT_NOTIFIERS |
| 24 | − select ANON_INODES | |
| 25 | 24 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
| 26 | 25 | select HAVE_KVM_VCPU_ASYNC_IOCTL |
| 27 | 26 | select KVM_MMIO |
| @@ -20,7 +20,6 @@ if VIRTUALIZATION · 19 unmodified lines | ||
| 20 | 20 | config KVM |
| 21 | 21 | bool |
| 22 | 22 | select PREEMPT_NOTIFIERS |
| 23 | − select ANON_INODES | |
| 24 | 23 | select HAVE_KVM_EVENTFD |
| 25 | 24 | select HAVE_KVM_VCPU_ASYNC_IOCTL |
| 26 | 25 | select SRCU |
| @@ -21,7 +21,6 @@ config KVM · 20 unmodified lines | ||
| 21 | 21 | prompt "Kernel-based Virtual Machine (KVM) support" |
| 22 | 22 | depends on HAVE_KVM |
| 23 | 23 | select PREEMPT_NOTIFIERS |
| 24 | − select ANON_INODES | |
| 25 | 24 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
| 26 | 25 | select HAVE_KVM_VCPU_ASYNC_IOCTL |
| 27 | 26 | select HAVE_KVM_EVENTFD |
| @@ -44,7 +44,6 @@ config X86 · 43 unmodified lines | ||
| 44 | 44 | # |
| 45 | 45 | select ACPI_LEGACY_TABLES_LOOKUP if ACPI |
| 46 | 46 | select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI |
| 47 | − select ANON_INODES | |
| 48 | 47 | select ARCH_32BIT_OFF_T if X86_32 |
| 49 | 48 | select ARCH_CLOCKSOURCE_DATA |
| 50 | 49 | select ARCH_CLOCKSOURCE_INIT |
| @@ -27,7 +27,6 @@ config KVM · 26 unmodified lines | ||
| 27 | 27 | depends on X86_LOCAL_APIC |
| 28 | 28 | select PREEMPT_NOTIFIERS |
| 29 | 29 | select MMU_NOTIFIER |
| 30 | − select ANON_INODES | |
| 31 | 30 | select HAVE_KVM_IRQCHIP |
| 32 | 31 | select HAVE_KVM_IRQFD |
| 33 | 32 | select IRQ_BYPASS_MANAGER |
| @@ -174,7 +174,6 @@ source "drivers/base/regmap/Kconfig" · 173 unmodified lines | ||
| 174 | 174 | config DMA_SHARED_BUFFER |
| 175 | 175 | bool |
| 176 | 176 | default n |
| 177 | − select ANON_INODES | |
| 178 | 177 | select IRQ_WORK |
| 179 | 178 | help |
| 180 | 179 | This option enables the framework for buffer-sharing between |
| @@ -157,7 +157,6 @@ config TCG_CRB · 156 unmodified lines | ||
| 157 | 157 | config TCG_VTPM_PROXY |
| 158 | 158 | tristate "VTPM Proxy Interface" |
| 159 | 159 | depends on TCG_TPM |
| 160 | − select ANON_INODES | |
| 161 | 160 | ---help--- |
| 162 | 161 | This driver proxies for an emulated TPM (vTPM) running in userspace. |
| 163 | 162 | A device /dev/vtpmx is provided that creates a device pair |
| @@ -3,7 +3,6 @@ menu "DMABUF options" · 2 unmodified lines | ||
| 3 | 3 | config SYNC_FILE |
| 4 | 4 | bool "Explicit Synchronization Framework" |
| 5 | 5 | default n |
| 6 | − select ANON_INODES | |
| 7 | 6 | select DMA_SHARED_BUFFER |
| 8 | 7 | ---help--- |
| 9 | 8 | The Sync File Framework adds explicit syncronization via |
| @@ -12,7 +12,6 @@ config ARCH_HAVE_CUSTOM_GPIO_H · 11 unmodified lines | ||
| 12 | 12 | |
| 13 | 13 | menuconfig GPIOLIB |
| 14 | 14 | bool "GPIO Support" |
| 15 | − select ANON_INODES | |
| 16 | 15 | help |
| 17 | 16 | This enables GPIO support through the generic GPIO library. |
| 18 | 17 | You only need to enable this, if you also want to enable |
| @@ -4,7 +4,6 @@ · 3 unmodified lines | ||
| 4 | 4 | |
| 5 | 5 | menuconfig IIO |
| 6 | 6 | tristate "Industrial I/O support" |
| 7 | − select ANON_INODES | |
| 8 | 7 | help |
| 9 | 8 | The industrial I/O subsystem provides a unified framework for |
| 10 | 9 | drivers for many different types of embedded sensors using a |
| @@ -25,7 +25,6 @@ config INFINIBAND_USER_MAD · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | config INFINIBAND_USER_ACCESS |
| 27 | 27 | tristate "InfiniBand userspace access (verbs and CM)" |
| 28 | − select ANON_INODES | |
| 29 | 28 | depends on MMU |
| 30 | 29 | ---help--- |
| 31 | 30 | Userspace InfiniBand access support. This enables the |
| @@ -22,7 +22,6 @@ menuconfig VFIO · 21 unmodified lines | ||
| 22 | 22 | tristate "VFIO Non-Privileged userspace driver framework" |
| 23 | 23 | depends on IOMMU_API |
| 24 | 24 | select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM || ARM64) |
| 25 | − select ANON_INODES | |
| 26 | 25 | help |
| 27 | 26 | VFIO provides a framework for secure userspace device drivers. |
| 28 | 27 | See Documentation/vfio.txt for more details. |
| @@ -25,7 +25,7 @@ obj-$(CONFIG_PROC_FS) += proc_namespace.o · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | obj-y += notify/ |
| 27 | 27 | obj-$(CONFIG_EPOLL) += eventpoll.o |
| 28 | −obj-$(CONFIG_ANON_INODES) += anon_inodes.o | |
| 28 | +obj-y += anon_inodes.o | |
| 29 | 29 | obj-$(CONFIG_SIGNALFD) += signalfd.o |
| 30 | 30 | obj-$(CONFIG_TIMERFD) += timerfd.o |
| 31 | 31 | obj-$(CONFIG_EVENTFD) += eventfd.o |
| @@ -1,7 +1,6 @@ | ||
| 1 | 1 | config FANOTIFY |
| 2 | 2 | bool "Filesystem wide access notification" |
| 3 | 3 | select FSNOTIFY |
| 4 | − select ANON_INODES | |
| 5 | 4 | select EXPORTFS |
| 6 | 5 | default n |
| 7 | 6 | ---help--- |
| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | config INOTIFY_USER |
| 2 | 2 | bool "Inotify support for userspace" |
| 3 | − select ANON_INODES | |
| 4 | 3 | select FSNOTIFY |
| 5 | 4 | default y |
| 6 | 5 | ---help--- |
| @@ -1171,9 +1171,6 @@ config LD_DEAD_CODE_DATA_ELIMINATION · 1170 unmodified lines | ||
| 1171 | 1171 | config SYSCTL |
| 1172 | 1172 | bool |
| 1173 | 1173 | |
| 1174 | −config ANON_INODES | |
| 1175 | − bool | |
| 1176 | − | |
| 1177 | 1174 | config HAVE_UID16 |
| 1178 | 1175 | bool |
| 1179 | 1176 | |
| @@ -1378,14 +1375,12 @@ config HAVE_FUTEX_CMPXCHG · 198 unmodified lines | ||
| 1378 | 1375 | config EPOLL |
| 1379 | 1376 | bool "Enable eventpoll support" if EXPERT |
| 1380 | 1377 | default y |
| 1381 | − select ANON_INODES | |
| 1382 | 1378 | help |
| 1383 | 1379 | Disabling this option will cause the kernel to be built without |
| 1384 | 1380 | support for epoll family of system calls. |
| 1385 | 1381 | |
| 1386 | 1382 | config SIGNALFD |
| 1387 | 1383 | bool "Enable signalfd() system call" if EXPERT |
| 1388 | − select ANON_INODES | |
| 1389 | 1384 | default y |
| 1390 | 1385 | help |
| 1391 | 1386 | Enable the signalfd() system call that allows to receive signals |
| @@ -1395,7 +1390,6 @@ config SIGNALFD · 3 unmodified lines | ||
| 1395 | 1390 | |
| 1396 | 1391 | config TIMERFD |
| 1397 | 1392 | bool "Enable timerfd() system call" if EXPERT |
| 1398 | − select ANON_INODES | |
| 1399 | 1393 | default y |
| 1400 | 1394 | help |
| 1401 | 1395 | Enable the timerfd() system call that allows to receive timer |
| @@ -1405,7 +1399,6 @@ config TIMERFD · 3 unmodified lines | ||
| 1405 | 1399 | |
| 1406 | 1400 | config EVENTFD |
| 1407 | 1401 | bool "Enable eventfd() system call" if EXPERT |
| 1408 | − select ANON_INODES | |
| 1409 | 1402 | default y |
| 1410 | 1403 | help |
| 1411 | 1404 | Enable the eventfd() system call that allows to receive both |
| @@ -1516,7 +1509,6 @@ config KALLSYMS_BASE_RELATIVE · 104 unmodified lines | ||
| 1516 | 1509 | # syscall, maps, verifier |
| 1517 | 1510 | config BPF_SYSCALL |
| 1518 | 1511 | bool "Enable bpf() system call" |
| 1519 | − select ANON_INODES | |
| 1520 | 1512 | select BPF |
| 1521 | 1513 | select IRQ_WORK |
| 1522 | 1514 | default n |
| @@ -1533,7 +1525,6 @@ config BPF_JIT_ALWAYS_ON · 10 unmodified lines | ||
| 1533 | 1525 | |
| 1534 | 1526 | config USERFAULTFD |
| 1535 | 1527 | bool "Enable userfaultfd() system call" |
| 1536 | − select ANON_INODES | |
| 1537 | 1528 | depends on MMU |
| 1538 | 1529 | help |
| 1539 | 1530 | Enable the userfaultfd() system call that allows to intercept and |
| @@ -1600,7 +1591,6 @@ config PERF_EVENTS · 60 unmodified lines | ||
| 1600 | 1591 | bool "Kernel performance events and counters" |
| 1601 | 1592 | default y if PROFILING |
| 1602 | 1593 | depends on HAVE_PERF_EVENTS |
| 1603 | − select ANON_INODES | |
| 1604 | 1594 | select IRQ_WORK |
| 1605 | 1595 | select SRCU |
| 1606 | 1596 | help |