summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorEric Paris2009-12-18 02:12:06 +0100
committerEric Paris2010-07-28 15:58:19 +0200
commit939a67fc4cbab8ca11c90da8a769d7e965d66a9b (patch)
tree973363dabb2e84aa18e0ce1bbaf794be434e3901 /init
parentAudit: audit watches depend on fsnotify (diff)
downloadkernel-qcow2-linux-939a67fc4cbab8ca11c90da8a769d7e965d66a9b.tar.gz
kernel-qcow2-linux-939a67fc4cbab8ca11c90da8a769d7e965d66a9b.tar.xz
kernel-qcow2-linux-939a67fc4cbab8ca11c90da8a769d7e965d66a9b.zip
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 59f62548c2aa..05e932ef5169 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -307,7 +307,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
@@ -323,6 +322,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