summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-17 20:12:06 -0500
committerEric Paris <eparis@redhat.com>2009-12-22 22:55:51 -0500
commit9878914352df8ccfbad1307d51ca05706d50cae4 (patch)
treec1581ae72668b05541293cc581fd2ebb90e9e120 /init
parente941c455923864d70bb3c2269255178bc793839e (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 b89ed693dbf6..97afb48a522d 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