logo

apparmor.d

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

apache2-common (1119B)


  1. # vim:syntax=apparmor
  2. # This file contains basic permissions for Apache and every vHost
  3. abi <abi/3.0>,
  4. include <abstractions/nameservice>
  5. # Allow other processes to read our /proc entries
  6. ptrace (readby),
  7. # Allow other processes to trace us by default
  8. ptrace (tracedby),
  9. # Allow unconfined processes to send us signals by default
  10. signal (receive) peer=unconfined,
  11. # Allow apache to send us signals by default
  12. signal (receive) peer=apache2,
  13. # Allow other hats to signal by default
  14. signal peer=apache2//*,
  15. # Allow us to signal ourselves
  16. signal peer=@{profile_name},
  17. # Apache
  18. network inet stream,
  19. network inet6 stream,
  20. # apache manual, error pages and icons
  21. /usr/share/apache2/** r,
  22. # changehat itself
  23. @{PROC}/@{pid}/attr/{apparmor/,}current rw,
  24. # htaccess files - for what ever it is worth
  25. /**/.htaccess r,
  26. /dev/urandom r,
  27. # sasl-auth
  28. @{run}/saslauthd/mux rw,
  29. # OCSP stapling
  30. @{run}/lock/apache2/stapling-cache* rw,
  31. # Include additions to the abstraction
  32. include if exists <abstractions/apache2-common.d>