[apparmor] [PATCH 2/2] profiles: Create D-Bus abstraction for the accessibility bus

Seth Arnold seth.arnold at canonical.com
Fri Dec 20 07:04:57 UTC 2013


On Thu, Dec 19, 2013 at 10:06:47PM -0800, Tyler Hicks wrote:
> The accessibility bus uses an abstract socket, so there hasn't been a
> need for an accessibility bus abstraction in the past. Now that D-Bus
> mediation is supported, an abstraction becomes a useful place to put
> accessibility bus D-Bus rules.
> 
> This patch follows the lead of the dbus and dbus-session abstraction by
> granting full access to the accessibility bus.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

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

> ---
>  profiles/apparmor.d/abstractions/dbus-accessibility | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 profiles/apparmor.d/abstractions/dbus-accessibility
> 
> diff --git a/profiles/apparmor.d/abstractions/dbus-accessibility b/profiles/apparmor.d/abstractions/dbus-accessibility
> new file mode 100644
> index 0000000..f52eb7b
> --- /dev/null
> +++ b/profiles/apparmor.d/abstractions/dbus-accessibility
> @@ -0,0 +1,12 @@
> +# vim:syntax=apparmor
> +# ------------------------------------------------------------------
> +#
> +#    Copyright (C) 2013 Canonical Ltd.
> +#
> +#    This program is free software; you can redistribute it and/or
> +#    modify it under the terms of version 2 of the GNU General Public
> +#    License published by the Free Software Foundation.
> +#
> +# ------------------------------------------------------------------
> +
> +  dbus bus=accessibility,
> -- 
> 1.8.3.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20131219/1ce70253/attachment.pgp>


More information about the AppArmor mailing list