History

Make anon_inodes unconditional

Make the anon_inodes facility unconditional so that it can be used by core VFS code and pidfd code.

David Howells committed 8 years ago

Commit 5dd50aa1 parent 15ade5d18 files · +1 −27Browse files

Unified · Split

18 files
  1. arch/arm/kvm/Kconfig +0 −1
  2. arch/arm64/kvm/Kconfig +0 −1
  3. arch/mips/kvm/Kconfig +0 −1
  4. arch/powerpc/kvm/Kconfig +0 −1
  5. arch/s390/kvm/Kconfig +0 −1
  6. arch/x86/Kconfig +0 −1
  7. arch/x86/kvm/Kconfig +0 −1
  8. drivers/base/Kconfig +0 −1
  9. drivers/char/tpm/Kconfig +0 −1
  10. drivers/dma-buf/Kconfig +0 −1
  11. drivers/gpio/Kconfig +0 −1
  12. drivers/iio/Kconfig +0 −1
  13. drivers/infiniband/Kconfig +0 −1
  14. drivers/vfio/Kconfig +0 −1
  15. fs/Makefile +1 −1
  16. fs/notify/fanotify/Kconfig +0 −1
  17. fs/notify/inotify/Kconfig +0 −1
  18. init/Kconfig +0 −10
arch/arm/kvm/Kconfig+0−1
@@ -22,7 +22,6 @@ config KVM · 21 unmodified lines
22 bool "Kernel-based Virtual Machine (KVM) support"22 bool "Kernel-based Virtual Machine (KVM) support"
23 depends on MMU && OF23 depends on MMU && OF
24 select PREEMPT_NOTIFIERS24 select PREEMPT_NOTIFIERS
25 select ANON_INODES
26 select ARM_GIC25 select ARM_GIC
27 select ARM_GIC_V326 select ARM_GIC_V3
28 select ARM_GIC_V3_ITS27 select ARM_GIC_V3_ITS
arch/arm64/kvm/Kconfig+0−1
@@ -23,7 +23,6 @@ config KVM · 22 unmodified lines
23 depends on OF23 depends on OF
24 select MMU_NOTIFIER24 select MMU_NOTIFIER
25 select PREEMPT_NOTIFIERS25 select PREEMPT_NOTIFIERS
26 select ANON_INODES
27 select HAVE_KVM_CPU_RELAX_INTERCEPT26 select HAVE_KVM_CPU_RELAX_INTERCEPT
28 select HAVE_KVM_ARCH_TLB_FLUSH_ALL27 select HAVE_KVM_ARCH_TLB_FLUSH_ALL
29 select KVM_MMIO28 select KVM_MMIO
arch/mips/kvm/Kconfig+0−1
@@ -21,7 +21,6 @@ config KVM · 20 unmodified lines
21 depends on MIPS_FP_SUPPORT21 depends on MIPS_FP_SUPPORT
22 select EXPORT_UASM22 select EXPORT_UASM
23 select PREEMPT_NOTIFIERS23 select PREEMPT_NOTIFIERS
24 select ANON_INODES
25 select KVM_GENERIC_DIRTYLOG_READ_PROTECT24 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
26 select HAVE_KVM_VCPU_ASYNC_IOCTL25 select HAVE_KVM_VCPU_ASYNC_IOCTL
27 select KVM_MMIO26 select KVM_MMIO
arch/powerpc/kvm/Kconfig+0−1
@@ -20,7 +20,6 @@ if VIRTUALIZATION · 19 unmodified lines
20config KVM20config KVM
21 bool21 bool
22 select PREEMPT_NOTIFIERS22 select PREEMPT_NOTIFIERS
23 select ANON_INODES
24 select HAVE_KVM_EVENTFD23 select HAVE_KVM_EVENTFD
25 select HAVE_KVM_VCPU_ASYNC_IOCTL24 select HAVE_KVM_VCPU_ASYNC_IOCTL
26 select SRCU25 select SRCU
arch/s390/kvm/Kconfig+0−1
@@ -21,7 +21,6 @@ config KVM · 20 unmodified lines
21 prompt "Kernel-based Virtual Machine (KVM) support"21 prompt "Kernel-based Virtual Machine (KVM) support"
22 depends on HAVE_KVM22 depends on HAVE_KVM
23 select PREEMPT_NOTIFIERS23 select PREEMPT_NOTIFIERS
24 select ANON_INODES
25 select HAVE_KVM_CPU_RELAX_INTERCEPT24 select HAVE_KVM_CPU_RELAX_INTERCEPT
26 select HAVE_KVM_VCPU_ASYNC_IOCTL25 select HAVE_KVM_VCPU_ASYNC_IOCTL
27 select HAVE_KVM_EVENTFD26 select HAVE_KVM_EVENTFD
arch/x86/Kconfig+0−1
@@ -44,7 +44,6 @@ config X86 · 43 unmodified lines
44 #44 #
45 select ACPI_LEGACY_TABLES_LOOKUP if ACPI45 select ACPI_LEGACY_TABLES_LOOKUP if ACPI
46 select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI46 select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
47 select ANON_INODES
48 select ARCH_32BIT_OFF_T if X86_3247 select ARCH_32BIT_OFF_T if X86_32
49 select ARCH_CLOCKSOURCE_DATA48 select ARCH_CLOCKSOURCE_DATA
50 select ARCH_CLOCKSOURCE_INIT49 select ARCH_CLOCKSOURCE_INIT
arch/x86/kvm/Kconfig+0−1
@@ -27,7 +27,6 @@ config KVM · 26 unmodified lines
27 depends on X86_LOCAL_APIC27 depends on X86_LOCAL_APIC
28 select PREEMPT_NOTIFIERS28 select PREEMPT_NOTIFIERS
29 select MMU_NOTIFIER29 select MMU_NOTIFIER
30 select ANON_INODES
31 select HAVE_KVM_IRQCHIP30 select HAVE_KVM_IRQCHIP
32 select HAVE_KVM_IRQFD31 select HAVE_KVM_IRQFD
33 select IRQ_BYPASS_MANAGER32 select IRQ_BYPASS_MANAGER
drivers/base/Kconfig+0−1
@@ -174,7 +174,6 @@ source "drivers/base/regmap/Kconfig" · 173 unmodified lines
174config DMA_SHARED_BUFFER174config DMA_SHARED_BUFFER
175 bool175 bool
176 default n176 default n
177 select ANON_INODES
178 select IRQ_WORK177 select IRQ_WORK
179 help178 help
180 This option enables the framework for buffer-sharing between179 This option enables the framework for buffer-sharing between
drivers/char/tpm/Kconfig+0−1
@@ -157,7 +157,6 @@ config TCG_CRB · 156 unmodified lines
157config TCG_VTPM_PROXY157config TCG_VTPM_PROXY
158 tristate "VTPM Proxy Interface"158 tristate "VTPM Proxy Interface"
159 depends on TCG_TPM159 depends on TCG_TPM
160 select ANON_INODES
161 ---help---160 ---help---
162 This driver proxies for an emulated TPM (vTPM) running in userspace.161 This driver proxies for an emulated TPM (vTPM) running in userspace.
163 A device /dev/vtpmx is provided that creates a device pair162 A device /dev/vtpmx is provided that creates a device pair
drivers/dma-buf/Kconfig+0−1
@@ -3,7 +3,6 @@ menu "DMABUF options" · 2 unmodified lines
3config SYNC_FILE3config SYNC_FILE
4 bool "Explicit Synchronization Framework"4 bool "Explicit Synchronization Framework"
5 default n5 default n
6 select ANON_INODES
7 select DMA_SHARED_BUFFER6 select DMA_SHARED_BUFFER
8 ---help---7 ---help---
9 The Sync File Framework adds explicit syncronization via8 The Sync File Framework adds explicit syncronization via
drivers/gpio/Kconfig+0−1
@@ -12,7 +12,6 @@ config ARCH_HAVE_CUSTOM_GPIO_H · 11 unmodified lines
12 12
13menuconfig GPIOLIB13menuconfig GPIOLIB
14 bool "GPIO Support"14 bool "GPIO Support"
15 select ANON_INODES
16 help15 help
17 This enables GPIO support through the generic GPIO library.16 This enables GPIO support through the generic GPIO library.
18 You only need to enable this, if you also want to enable17 You only need to enable this, if you also want to enable
drivers/iio/Kconfig+0−1
@@ -4,7 +4,6 @@ · 3 unmodified lines
4 4
5menuconfig IIO5menuconfig IIO
6 tristate "Industrial I/O support"6 tristate "Industrial I/O support"
7 select ANON_INODES
8 help7 help
9 The industrial I/O subsystem provides a unified framework for8 The industrial I/O subsystem provides a unified framework for
10 drivers for many different types of embedded sensors using a9 drivers for many different types of embedded sensors using a
drivers/infiniband/Kconfig+0−1
@@ -25,7 +25,6 @@ config INFINIBAND_USER_MAD · 24 unmodified lines
25 25
26config INFINIBAND_USER_ACCESS26config INFINIBAND_USER_ACCESS
27 tristate "InfiniBand userspace access (verbs and CM)"27 tristate "InfiniBand userspace access (verbs and CM)"
28 select ANON_INODES
29 depends on MMU28 depends on MMU
30 ---help---29 ---help---
31 Userspace InfiniBand access support. This enables the30 Userspace InfiniBand access support. This enables the
drivers/vfio/Kconfig+0−1
@@ -22,7 +22,6 @@ menuconfig VFIO · 21 unmodified lines
22 tristate "VFIO Non-Privileged userspace driver framework"22 tristate "VFIO Non-Privileged userspace driver framework"
23 depends on IOMMU_API23 depends on IOMMU_API
24 select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM || ARM64)24 select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM || ARM64)
25 select ANON_INODES
26 help25 help
27 VFIO provides a framework for secure userspace device drivers.26 VFIO provides a framework for secure userspace device drivers.
28 See Documentation/vfio.txt for more details.27 See Documentation/vfio.txt for more details.
fs/Makefile+1−1
@@ -25,7 +25,7 @@ obj-$(CONFIG_PROC_FS) += proc_namespace.o · 24 unmodified lines
25 25
26obj-y += notify/26obj-y += notify/
27obj-$(CONFIG_EPOLL) += eventpoll.o27obj-$(CONFIG_EPOLL) += eventpoll.o
28obj-$(CONFIG_ANON_INODES) += anon_inodes.o28obj-y += anon_inodes.o
29obj-$(CONFIG_SIGNALFD) += signalfd.o29obj-$(CONFIG_SIGNALFD) += signalfd.o
30obj-$(CONFIG_TIMERFD) += timerfd.o30obj-$(CONFIG_TIMERFD) += timerfd.o
31obj-$(CONFIG_EVENTFD) += eventfd.o31obj-$(CONFIG_EVENTFD) += eventfd.o
fs/notify/fanotify/Kconfig+0−1
@@ -1,7 +1,6 @@
1config FANOTIFY1config FANOTIFY
2 bool "Filesystem wide access notification"2 bool "Filesystem wide access notification"
3 select FSNOTIFY3 select FSNOTIFY
4 select ANON_INODES
5 select EXPORTFS4 select EXPORTFS
6 default n5 default n
7 ---help---6 ---help---
fs/notify/inotify/Kconfig+0−1
@@ -1,6 +1,5 @@
1config INOTIFY_USER1config INOTIFY_USER
2 bool "Inotify support for userspace"2 bool "Inotify support for userspace"
3 select ANON_INODES
4 select FSNOTIFY3 select FSNOTIFY
5 default y4 default y
6 ---help---5 ---help---
init/Kconfig+0−10
@@ -1171,9 +1171,6 @@ config LD_DEAD_CODE_DATA_ELIMINATION · 1170 unmodified lines
1171config SYSCTL1171config SYSCTL
1172 bool1172 bool
1173 1173
1174config ANON_INODES
1175 bool
1176
1177config HAVE_UID161174config HAVE_UID16
1178 bool1175 bool
1179 1176
@@ -1378,14 +1375,12 @@ config HAVE_FUTEX_CMPXCHG · 198 unmodified lines
1378config EPOLL1375config EPOLL
1379 bool "Enable eventpoll support" if EXPERT1376 bool "Enable eventpoll support" if EXPERT
1380 default y1377 default y
1381 select ANON_INODES
1382 help1378 help
1383 Disabling this option will cause the kernel to be built without1379 Disabling this option will cause the kernel to be built without
1384 support for epoll family of system calls.1380 support for epoll family of system calls.
1385 1381
1386config SIGNALFD1382config SIGNALFD
1387 bool "Enable signalfd() system call" if EXPERT1383 bool "Enable signalfd() system call" if EXPERT
1388 select ANON_INODES
1389 default y1384 default y
1390 help1385 help
1391 Enable the signalfd() system call that allows to receive signals1386 Enable the signalfd() system call that allows to receive signals
@@ -1395,7 +1390,6 @@ config SIGNALFD · 3 unmodified lines
1395 1390
1396config TIMERFD1391config TIMERFD
1397 bool "Enable timerfd() system call" if EXPERT1392 bool "Enable timerfd() system call" if EXPERT
1398 select ANON_INODES
1399 default y1393 default y
1400 help1394 help
1401 Enable the timerfd() system call that allows to receive timer1395 Enable the timerfd() system call that allows to receive timer
@@ -1405,7 +1399,6 @@ config TIMERFD · 3 unmodified lines
1405 1399
1406config EVENTFD1400config EVENTFD
1407 bool "Enable eventfd() system call" if EXPERT1401 bool "Enable eventfd() system call" if EXPERT
1408 select ANON_INODES
1409 default y1402 default y
1410 help1403 help
1411 Enable the eventfd() system call that allows to receive both1404 Enable the eventfd() system call that allows to receive both
@@ -1516,7 +1509,6 @@ config KALLSYMS_BASE_RELATIVE · 104 unmodified lines
1516# syscall, maps, verifier1509# syscall, maps, verifier
1517config BPF_SYSCALL1510config BPF_SYSCALL
1518 bool "Enable bpf() system call"1511 bool "Enable bpf() system call"
1519 select ANON_INODES
1520 select BPF1512 select BPF
1521 select IRQ_WORK1513 select IRQ_WORK
1522 default n1514 default n
@@ -1533,7 +1525,6 @@ config BPF_JIT_ALWAYS_ON · 10 unmodified lines
1533 1525
1534config USERFAULTFD1526config USERFAULTFD
1535 bool "Enable userfaultfd() system call"1527 bool "Enable userfaultfd() system call"
1536 select ANON_INODES
1537 depends on MMU1528 depends on MMU
1538 help1529 help
1539 Enable the userfaultfd() system call that allows to intercept and1530 Enable the userfaultfd() system call that allows to intercept and
@@ -1600,7 +1591,6 @@ config PERF_EVENTS · 60 unmodified lines
1600 bool "Kernel performance events and counters"1591 bool "Kernel performance events and counters"
1601 default y if PROFILING1592 default y if PROFILING
1602 depends on HAVE_PERF_EVENTS1593 depends on HAVE_PERF_EVENTS
1603 select ANON_INODES
1604 select IRQ_WORK1594 select IRQ_WORK
1605 select SRCU1595 select SRCU
1606 help1596 help