2
0
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:
Kees Cook
2010-09-14 12:45:34 -07:00
parent feb70284bc
commit 862836548d
3 changed files with 27 additions and 9 deletions

View File

@@ -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";