[apparmor] [PATCH 3/2] parser: Test the 'audit allow' modifier

Tyler Hicks tyhicks at canonical.com
Fri Mar 13 21:34:07 UTC 2015


Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
---
 parser/tst/equality.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/parser/tst/equality.sh b/parser/tst/equality.sh
index 170ef26..ea7259f 100755
--- a/parser/tst/equality.sh
+++ b/parser/tst/equality.sh
@@ -273,6 +273,7 @@ do
 	verify_binary_inequality "audit, deny, and audit deny modifiers for \"${rule}\"" \
 		"/t { ${rule}, }" \
 		"/t { audit ${rule}, }" \
+		"/t { audit allow ${rule}, }" \
 		"/t { deny ${rule}, }" \
 		"/t { audit deny ${rule}, }"
 done
@@ -284,6 +285,7 @@ do
 	verify_binary_inequality "deny, audit deny modifier for \"${rule}\"" \
 		"/t { ${rule}, }" \
 		"/t { audit ${rule}, }" \
+		"/t { audit allow ${rule}, }" \
 		"/t { deny /f x, }" \
 		"/t { audit deny /f x, }"
 done
-- 
2.1.4




More information about the AppArmor mailing list