aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-17 20:12:06 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:58:18 -0400
commit67640b602f68332a83808426911636e9dbcc71fe (patch)
tree4fabf39624640528fb943b7b38cbaa33901186d2
parent28a3a7eb3b1f3e7d834e19f06e794e429058a4dd (diff)
Audit: audit watches depend on fsnotify
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>
-rw-r--r--init/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 84e33c49a0cb..59f62548c2aa 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -307,6 +307,7 @@ config TASK_IO_ACCOUNTING
307config AUDIT 307config AUDIT
308 bool "Auditing support" 308 bool "Auditing support"
309 depends on NET 309 depends on NET
310 select FSNOTIFY
310 help 311 help
311 Enable auditing infrastructure that can be used with another 312 Enable auditing infrastructure that can be used with another
312 kernel subsystem, such as SELinux (which requires this for 313 kernel subsystem, such as SELinux (which requires this for
@@ -320,8 +321,7 @@ config AUDITSYSCALL
320 help 321 help
321 Enable low-overhead system-call auditing infrastructure that 322 Enable low-overhead system-call auditing infrastructure that
322 can be used independently or with another kernel subsystem, 323 can be used independently or with another kernel subsystem,
323 such as SELinux. To use audit's filesystem watch feature, please 324 such as SELinux.
324 ensure that INOTIFY is configured.
325 325
326config AUDIT_TREE 326config AUDIT_TREE
327 def_bool y 327 def_bool y