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

John Johansen john.johansen at canonical.com
Fri Mar 13 21:39:24 UTC 2015


On 03/13/2015 02:34 PM, Tyler Hicks wrote:
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

Acked-by: John Johansen <john.johansen 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
> 




More information about the AppArmor mailing list