/apparmor.d/abstractions/X
http://github.com/brinkman83/bashrc · #! · 40 lines · 31 code · 9 blank · 0 comment · 0 complexity · 497585bec54769630825f680ab1ad150 MD5 · raw file
- # vim:syntax=apparmor
- # $Id$
- # ------------------------------------------------------------------
- #
- # Copyright (C) 2002-2009 Novell/SUSE
- # Copyright (C) 2009 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.
- #
- # ------------------------------------------------------------------
- # .ICEauthority files required for X authentication, per user
- @{HOME}/.ICEauthority r,
- # .Xauthority files required for X connections, per user
- @{HOME}/.Xauthority r,
- # the unix socket to use to connect to the display
- /tmp/.X11-unix/* w,
- /usr/include/X11/ r,
- /usr/include/X11/** r,
- # The X tree changes and is large -- grant read access to the whole thing
- /usr/X11R6/** r,
- /usr/share/X11/ r,
- /usr/share/X11/** r,
- /usr/X11R6/**.so* mr,
- # DRI
- /usr/lib/dri/** mr,
- /dev/dri/** rw,
- # mouse themes
- /etc/X11/cursors/ r,
- /etc/X11/cursors/** r,