logo

apparmor.d

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

WebKitWebProcess (831B)


  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 /usr/libexec/webkit2gtk-*/WebKitWebProcess {
  5. #include <abstractions/base>
  6. #include <abstractions/consoles>
  7. #include <abstractions/fonts>
  8. #include <abstractions/gnome>
  9. # #include <abstractions/gstreamer>
  10. #include <abstractions/audio>
  11. #include <abstractions/mesa>
  12. #include <abstractions/dri-common>
  13. #include <abstractions/dri-enumerate>
  14. /usr/libexec/webkit2gtk-*/WebKitWebProcess mr,
  15. owner @{PROC}/@{pid}/cmdline r,
  16. owner @{PROC}/@{pid}/fd/ r,
  17. /etc/passwd r,
  18. /etc/group r,
  19. /etc/nsswitch.conf r,
  20. /dev/ r,
  21. owner @{HOME}/.local/share/badwolf/webkit-web-extension/ r,
  22. owner @{HOME}/.local/share/badwolf/webkit-web-extension/** mr,
  23. }