mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Fix write_cache to not be a privileged operation so that the caching tests
can be added to the build. Update caching tests to detect non-ns-resolution filesystems and back off on the timing test.
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
#define MOUNTED_FS "/proc/mounts"
|
||||
#define AADFA "pattern=aadfa"
|
||||
|
||||
#define PRIVILEGED_OPS (write_cache || kernel_load)
|
||||
#define PRIVILEGED_OPS (kernel_load)
|
||||
#define UNPRIVILEGED_OPS (!(PRIVILEGED_OPS))
|
||||
|
||||
const char *parser_title = "Novell/SUSE AppArmor parser";
|
||||
|
Reference in New Issue
Block a user