/apparmor.d/abstractions/X

http://github.com/brinkman83/bashrc · #! · 40 lines · 31 code · 9 blank · 0 comment · 0 complexity · 497585bec54769630825f680ab1ad150 MD5 · raw file

  1. # vim:syntax=apparmor
  2. # $Id$
  3. # ------------------------------------------------------------------
  4. #
  5. # Copyright (C) 2002-2009 Novell/SUSE
  6. # Copyright (C) 2009 Canonical Ltd.
  7. #
  8. # This program is free software; you can redistribute it and/or
  9. # modify it under the terms of version 2 of the GNU General Public
  10. # License published by the Free Software Foundation.
  11. #
  12. # ------------------------------------------------------------------
  13. # .ICEauthority files required for X authentication, per user
  14. @{HOME}/.ICEauthority r,
  15. # .Xauthority files required for X connections, per user
  16. @{HOME}/.Xauthority r,
  17. # the unix socket to use to connect to the display
  18. /tmp/.X11-unix/* w,
  19. /usr/include/X11/ r,
  20. /usr/include/X11/** r,
  21. # The X tree changes and is large -- grant read access to the whole thing
  22. /usr/X11R6/** r,
  23. /usr/share/X11/ r,
  24. /usr/share/X11/** r,
  25. /usr/X11R6/**.so* mr,
  26. # DRI
  27. /usr/lib/dri/** mr,
  28. /dev/dri/** rw,
  29. # mouse themes
  30. /etc/X11/cursors/ r,
  31. /etc/X11/cursors/** r,