diff options
author | Eric Paris | 2009-12-18 02:12:06 +0100 |
---|---|---|
committer | Eric Paris | 2010-07-28 15:58:19 +0200 |
commit | 939a67fc4cbab8ca11c90da8a769d7e965d66a9b (patch) | |
tree | 973363dabb2e84aa18e0ce1bbaf794be434e3901 /init | |
parent | Audit: audit watches depend on fsnotify (diff) | |
download | kernel-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/Kconfig | 6 |
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 |