NFC: reorder the logic in nfc_{un,}register_device
[linux-2.6-microblaze.git] / drivers / md / Kconfig
index f45fb37..b5ea378 100644 (file)
@@ -610,6 +610,7 @@ config DM_INTEGRITY
        select CRYPTO
        select CRYPTO_SKCIPHER
        select ASYNC_XOR
+       select DM_AUDIT if AUDIT
        help
          This device-mapper target emulates a block device that has
          additional per-sector tags that can be used for storing
@@ -642,4 +643,13 @@ config DM_ZONED
 
          If unsure, say N.
 
+config DM_AUDIT
+       bool "DM audit events"
+       depends on AUDIT
+       help
+         Generate audit events for device-mapper.
+
+         Enables audit logging of several security relevant events in the
+         particular device-mapper targets, especially the integrity target.
+
 endif # MD