logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

php (1128B)


  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. abi <abi/3.0>,
  13. # shared snippets for config files
  14. /etc/php{,5,7,8}/** r,
  15. # Xlibs
  16. /usr/X11R6/lib{,32,64}/lib*.so* mr,
  17. # php extensions
  18. /usr/lib{64,}/php{,5,7,8}/*/*.so mr,
  19. # ICU (unicode support) data tables
  20. /usr/share/icu/*/*.dat r,
  21. # php session mmap socket
  22. /var/lib/php{,5,7,8}/session_mm_* rwlk,
  23. # file based session handler
  24. /var/lib/php{,5,7,8}/sess_* rwlk,
  25. /var/lib/php{,5,7,8}/sessions/* rwlk,
  26. # php libraries
  27. /usr/share/php{,5,7,8}/ r,
  28. /usr/share/php{,5,7,8}/** mr,
  29. # MySQL extension
  30. /usr/share/mysql/** r,
  31. # Zend opcache
  32. /tmp/.ZendSem.* rwlk,
  33. # Include additions to the abstraction
  34. include if exists <abstractions/php.d>