[apparmor] [patch] allow reading /tmp/.X11-unix/* in abstractions/X
Seth Arnold
seth.arnold at canonical.com
Thu Oct 13 20:39:31 UTC 2016
On Thu, Oct 13, 2016 at 10:06:22PM +0200, Christian Boltz wrote:
> Hello,
>
> $subject.
>
> This is needed when starting X with "-nolisten local".
>
>
> References: https://bugs.launchpad.net/apparmor/+bug/1589823
>
>
> I propose this patch for trunk, 2.10 and 2.9
Acked for all three.
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
>
>
>
> [ abstractions-X.diff ]
>
> === modified file 'profiles/apparmor.d/abstractions/X'
> --- profiles/apparmor.d/abstractions/X 2015-07-24 20:01:46 +0000
> +++ profiles/apparmor.d/abstractions/X 2016-10-13 20:03:24 +0000
> @@ -23,7 +23,7 @@
> owner /{,var/}run/user/*/gdm/Xauthority r,
>
> # the unix socket to use to connect to the display
> - /tmp/.X11-unix/* w,
> + /tmp/.X11-unix/* rw,
> unix (connect, receive, send)
> type=stream
> peer=(addr="@/tmp/.X11-unix/X[0-9]*"),
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161013/4860e301/attachment.pgp>
More information about the AppArmor
mailing list