Merge tag 'notifications-20200601' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-rpi.git] / security / keys / Kconfig
index 8153ea0..83bc234 100644 (file)
@@ -114,3 +114,12 @@ config KEY_DH_OPERATIONS
         in the kernel.
 
         If you are unsure as to whether this is required, answer N.
+
+config KEY_NOTIFICATIONS
+       bool "Provide key/keyring change notifications"
+       depends on KEYS && WATCH_QUEUE
+       help
+         This option provides support for getting change notifications on keys
+         and keyrings on which the caller has View permission.  This makes use
+         of the /dev/watch_queue misc device to handle the notification
+         buffer and provides KEYCTL_WATCH_KEY to enable/disable watches.