diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 20:12:06 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:19 -0400 |
commit | 939a67fc4cbab8ca11c90da8a769d7e965d66a9b (patch) | |
tree | 973363dabb2e84aa18e0ce1bbaf794be434e3901 /init/Kconfig | |
parent | 67640b602f68332a83808426911636e9dbcc71fe (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/Kconfig')
-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 | |||
307 | config AUDIT | 307 | config AUDIT |
308 | bool "Auditing support" | 308 | bool "Auditing support" |
309 | depends on NET | 309 | depends on NET |
310 | select FSNOTIFY | ||
311 | help | 310 | help |
312 | Enable auditing infrastructure that can be used with another | 311 | Enable auditing infrastructure that can be used with another |
313 | kernel subsystem, such as SELinux (which requires this for | 312 | kernel subsystem, such as SELinux (which requires this for |
@@ -323,6 +322,11 @@ config AUDITSYSCALL | |||
323 | can be used independently or with another kernel subsystem, | 322 | can be used independently or with another kernel subsystem, |
324 | such as SELinux. | 323 | such as SELinux. |
325 | 324 | ||
325 | config AUDIT_WATCH | ||
326 | def_bool y | ||
327 | depends on AUDITSYSCALL | ||
328 | select FSNOTIFY | ||
329 | |||
326 | config AUDIT_TREE | 330 | config AUDIT_TREE |
327 | def_bool y | 331 | def_bool y |
328 | depends on AUDITSYSCALL | 332 | depends on AUDITSYSCALL |