logo

apparmor.d

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

sbin.apparmor_parser (602B)


  1. # Copyright 2020 Haelwenn (lanodan) Monnier <contact+apparmor.d@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. #include <tunables/global>
  4. profile /sbin/apparmor_parser (complain) {
  5. #include <abstractions/base>
  6. #include <abstractions/consoles>
  7. /sbin/apparmor_parser mr,
  8. capability mac_admin,
  9. allow /etc/apparmor/ r,
  10. allow /etc/apparmor/** r,
  11. allow /etc/apparmor.d/ r,
  12. allow /etc/apparmor.d/** r,
  13. allow /sys/kernel/security/apparmor/ rw,
  14. allow /sys/kernel/security/apparmor/** rw,
  15. allow /proc/sys/kernel/osrelease r,
  16. allow @{PROC}/@{pid}/mounts r,
  17. }