[apparmor] wayland paths

Steve Beattie steve at nxnw.org
Wed Nov 30 23:11:53 UTC 2016


On Wed, Nov 30, 2016 at 11:40:21AM -0800, Seth Arnold wrote:
> Simon recommends some new paths for Wayland support in comment 8 at
> https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1507469
> 
> I propose this patch for trunk:
> 
> 
> === modified file 'profiles/apparmor.d/abstractions/wayland'
> --- profiles/apparmor.d/abstractions/wayland	2016-09-11 21:03:01 +0000
> +++ profiles/apparmor.d/abstractions/wayland	2016-11-30 19:37:17 +0000
> @@ -10,3 +10,5 @@
>  # ------------------------------------------------------------------
>  
>    owner /{,var/}run/user/*/weston-shared-* rw,
> +  owner /run/user/*/wayland-[0-9]* rw,
> +  owner /run/user/*/{mesa,mutter,sdl,weston,xwayland}-shared-* rw,
> 
> Signed-off-by: Seth Arnold <seth.arnold at canonical.com>

Can we kill the first rule? Or at least only have the /var/ path, since
the non-var path is covered by the last rule?

Otherwise, Acked-by: Steve Beattie <steve at nxnw.org>

Thanks!

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161130/18ab9d2f/attachment.pgp>


More information about the AppArmor mailing list