[apparmor] [patch] abstrations/X: yet another location for Xauthority

Steve Beattie steve at nxnw.org
Thu Dec 1 20:50:06 UTC 2016


abstractions/X: yet another location for Xauthority

Add access to /{,var/}run/user/*/X11/Xauthority.

Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845250

Nominated for trunk, 2.10, and 2.9.

Signed-off-by: Steve Beattie <steve at nxnw.org>
---
 profiles/apparmor.d/abstractions/X |    1 +
 1 file changed, 1 insertion(+)

Index: b/profiles/apparmor.d/abstractions/X
===================================================================
--- a/profiles/apparmor.d/abstractions/X
+++ b/profiles/apparmor.d/abstractions/X
@@ -21,6 +21,7 @@
   owner /{,var/}run/lightdm/authority/[0-9]* r,
   owner /{,var/}run/lightdm/*/xauthority r,
   owner /{,var/}run/user/*/gdm/Xauthority r,
+  owner /{,var/}run/user/*/X11/Xauthority r,
 
   # the unix socket to use to connect to the display
   /tmp/.X11-unix/* rw,

-- 
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/20161201/5d67b207/attachment.pgp>


More information about the AppArmor mailing list