Audit: audit watches depend on fsnotify

CONFIG_AUDIT builds audit_watches which depend on fsnotify.  Make
CONFIG_AUDIT select fsnotify.

Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
Eric Paris 2009-12-17 20:12:06 -05:00
Родитель 28a3a7eb3b
Коммит 67640b602f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -307,6 +307,7 @@ config TASK_IO_ACCOUNTING
config AUDIT config AUDIT
bool "Auditing support" bool "Auditing support"
depends on NET depends on NET
select FSNOTIFY
help help
Enable auditing infrastructure that can be used with another Enable auditing infrastructure that can be used with another
kernel subsystem, such as SELinux (which requires this for kernel subsystem, such as SELinux (which requires this for
@ -320,8 +321,7 @@ config AUDITSYSCALL
help help
Enable low-overhead system-call auditing infrastructure that Enable low-overhead system-call auditing infrastructure that
can be used independently or with another kernel subsystem, can be used independently or with another kernel subsystem,
such as SELinux. To use audit's filesystem watch feature, please such as SELinux.
ensure that INOTIFY is configured.
config AUDIT_TREE config AUDIT_TREE
def_bool y def_bool y