treewide: replace '---help---' in Kconfig files with 'help'
[linux-2.6-microblaze.git] / drivers / dma-buf / Kconfig
index 0613bb7..4f8224a 100644 (file)
@@ -5,8 +5,8 @@ config SYNC_FILE
        bool "Explicit Synchronization Framework"
        default n
        select DMA_SHARED_BUFFER
-       ---help---
-         The Sync File Framework adds explicit syncronization via
+       help
+         The Sync File Framework adds explicit synchronization via
          userspace. It enables send/receive 'struct dma_fence' objects to/from
          userspace via Sync File fds for synchronization between drivers via
          userspace components. It has been ported from Android.
@@ -22,7 +22,7 @@ config SW_SYNC
        default n
        depends on SYNC_FILE
        depends on DEBUG_FS
-       ---help---
+       help
          A sync object driver that uses a 32bit counter to coordinate
          synchronization.  Useful when there is no hardware primitive backing
          the synchronization.
@@ -39,6 +39,17 @@ config UDMABUF
          A driver to let userspace turn memfd regions into dma-bufs.
          Qemu can use this to create host dmabufs for guest framebuffers.
 
+config DMABUF_MOVE_NOTIFY
+       bool "Move notify between drivers (EXPERIMENTAL)"
+       default n
+       help
+         Don't pin buffers if the dynamic DMA-buf interface is available on
+         both the exporter as well as the importer. This fixes a security
+         problem where userspace is able to pin unrestricted amounts of memory
+         through DMA-buf.
+         This is marked experimental because we don't yet have a consistent
+         execution context and memory management between drivers.
+
 config DMABUF_SELFTESTS
        tristate "Selftests for the dma-buf interfaces"
        default n