mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Update what is considered an unprivileged op, so that only actual loading
and writing of cache trigger the privilege messages
This commit is contained in:
parent
56a9fded36
commit
fc597b736b
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@
|
|||
#define PCRE "pattern=pcre"
|
||||
#define AADFA "pattern=aadfa"
|
||||
|
||||
#define UNPRIVILEGED_OPS (debug || option == OPTION_STDOUT || names_only || \
|
||||
dump_vars || dump_expanded_vars)
|
||||
#define PRIVILEGED_OPS (write_cache || kernel_load)
|
||||
#define UNPRIVILEGED_OPS (!(PRIVILEGED_OPS))
|
||||
|
||||
const char *parser_title = "Novell/SUSE AppArmor parser";
|
||||
const char *parser_copyright = "Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Novell Inc.";
|
||||
|
|
Loading…
Add table
Reference in a new issue