Commit 67640b602f68332a83808426911636e9dbcc71fe

Authored by Eric Paris
1 parent 28a3a7eb3b

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -307,6 +307,7 @@
307 307 config AUDIT
308 308 bool "Auditing support"
309 309 depends on NET
  310 + select FSNOTIFY
310 311 help
311 312 Enable auditing infrastructure that can be used with another
312 313 kernel subsystem, such as SELinux (which requires this for
... ... @@ -320,8 +321,7 @@
320 321 help
321 322 Enable low-overhead system-call auditing infrastructure that
322 323 can be used independently or with another kernel subsystem,
323   - such as SELinux. To use audit's filesystem watch feature, please
324   - ensure that INOTIFY is configured.
  324 + such as SELinux.
325 325  
326 326 config AUDIT_TREE
327 327 def_bool y