[apparmor] [PATCH 4/4] tests: Update dbus.inc for af_unix mediation

Seth Arnold seth.arnold at canonical.com
Thu Sep 11 01:56:55 UTC 2014


On Thu, Sep 04, 2014 at 05:43:24PM -0500, Tyler Hicks wrote:
> Put a bare unix rule in the core gendbusprofile() function that all
> dbus_*.sh use. We aren't interested in testing AF_UNIX mediation in the
> dbus tests, since that's already done elsewhere, so we'll
> unconditionally allow full AF_UNIX access to prevent test breakage
> caused by any future changes in libdbus.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

Acked-by: Seth Arnold <seth.arnold at canonical.com>

Thanks

> ---
>  tests/regression/apparmor/dbus.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/regression/apparmor/dbus.inc b/tests/regression/apparmor/dbus.inc
> index 539d128..038ccf2 100755
> --- a/tests/regression/apparmor/dbus.inc
> +++ b/tests/regression/apparmor/dbus.inc
> @@ -13,6 +13,7 @@ gendbusprofile()
>  ${__dbus_var_decl}
>  $test {
>    @{gen $test}
> +  unix,
>    $@
>    signal receive peer=unconfined,
>  }
> -- 
> 2.1.0
> 
> 
> -- 
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140910/7b7b3235/attachment.pgp>


More information about the AppArmor mailing list