[PATCH] selinux: require AUDIT
Make SELinux depend on AUDIT as it requires the basic audit support to log permission denials at all. Note that AUDITSYSCALL remains optional for SELinux, although it can be useful in providing further information upon denials. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
46cd2f32ba
commit
99f6d61bda
@@ -43,13 +43,11 @@ static const struct av_perm_to_string
|
||||
#undef S_
|
||||
};
|
||||
|
||||
#ifdef CONFIG_AUDIT
|
||||
static const char *class_to_string[] = {
|
||||
#define S_(s) s,
|
||||
#include "class_to_string.h"
|
||||
#undef S_
|
||||
};
|
||||
#endif
|
||||
|
||||
#define TB_(s) static const char * s [] = {
|
||||
#define TE_(s) };
|
||||
|
Reference in New Issue
Block a user