summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-06-30 13:48:36 -0400
committerEric Paris <eparis@redhat.com>2009-11-06 13:18:56 -0500
commit5fc46764e55bfa47646d24ddbc54551a2510e85e (patch)
treecbad2329e0fb0eae8dc3cb1d4c00aaffb29d69c6 /init
parent2db7f48add5d42f2a129c82fe3dfddcddb6489e0 (diff)
Audit: split audit watch Kconfig
Audit watch should depend on CONFIG_AUDIT_SYSCALL and should select FSNOTIFY. This splits the spagetti like mixing of audit_watch and audit_filter code so they can be configured seperately. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 26c544f3cca7..14e2789b05c4 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -289,7 +289,6 @@ 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
@@ -305,6 +304,11 @@ config AUDITSYSCALL
can be used independently or with another kernel subsystem,
such as SELinux.
+config AUDIT_WATCH
+ def_bool y
+ depends on AUDITSYSCALL
+ select FSNOTIFY
+
config AUDIT_TREE
def_bool y
depends on AUDITSYSCALL