/apparmor.d/abstractions/php5

http://github.com/brinkman83/bashrc · #! · 32 lines · 27 code · 5 blank · 0 comment · 0 complexity · 6900efafb697bec0975237ca47dd8dc2 MD5 · raw file

  1. # vim:syntax=apparmor
  2. # ------------------------------------------------------------------
  3. #
  4. # Copyright (C) 2002-2006 Novell/SUSE
  5. # Copyright (C) 2009-2010 Canonical Ltd.
  6. #
  7. # This program is free software; you can redistribute it and/or
  8. # modify it under the terms of version 2 of the GNU General Public
  9. # License published by the Free Software Foundation.
  10. #
  11. # ------------------------------------------------------------------
  12. # shared snippets for config files
  13. /etc/php5/{conf.d,apache2,cli,fastcgi,cgi}/ r,
  14. /etc/php5/{conf.d,apache2,cli,fastcgi,cgi}/*.ini r,
  15. # Xlibs
  16. /usr/X11R6/lib{,32,64}/lib*.so* mr,
  17. # php extensions
  18. /usr/lib{64,}/php5/*/*.so mr,
  19. # php5 session mmap socket
  20. /var/lib/php5/session_mm_* rwlk,
  21. # file based session handler
  22. /var/lib/php5/sess_* rwlk,
  23. # php libraries
  24. /usr/share/php{,5}/ r,
  25. /usr/share/php{,5}/** mr,
  26. # MySQL extension
  27. /usr/share/mysql/** r,