Audit: audit watches depend on fsnotify
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 01:12:06 +0000 (20:12 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:18 +0000 (09:58 -0400)
CONFIG_AUDIT builds audit_watches which depend on fsnotify.  Make
CONFIG_AUDIT select fsnotify.

Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
init/Kconfig

index 84e33c49a0cb93560ac91ffd407ae8ea68739ad7..59f62548c2aaa3052a117734be11aac8548ed8db 100644 (file)
@@ -307,6 +307,7 @@ config TASK_IO_ACCOUNTING
 config AUDIT
        bool "Auditing support"
        depends on NET
+       select FSNOTIFY
        help
          Enable auditing infrastructure that can be used with another
          kernel subsystem, such as SELinux (which requires this for
@@ -320,8 +321,7 @@ config AUDITSYSCALL
        help
          Enable low-overhead system-call auditing infrastructure that
          can be used independently or with another kernel subsystem,
-         such as SELinux.  To use audit's filesystem watch feature, please
-         ensure that INOTIFY is configured.
+         such as SELinux.
 
 config AUDIT_TREE
        def_bool y