logo

apparmor.d

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

usr.bin.badwolf (1104B)


  1. # Copyright 2020 Haelwenn (lanodan) Monnier <contact+apparmor.d@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. # BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser
  4. # Copyright © 2019-2020 Badwolf Authors <https://hacktivis.me/projects/badwolf>
  5. # SPDX-License-Identifier: BSD-3-Clause
  6. #
  7. # Made on Gentoo Linux with PREFIX=/usr
  8. #include <tunables/global>
  9. /usr/bin/badwolf {
  10. #include <abstractions/base>
  11. #include <abstractions/consoles>
  12. #include <abstractions/enchant>
  13. #include <abstractions/gnome>
  14. #include <abstractions/ibus>
  15. # #include <abstractions/uim>
  16. #include <abstractions/private-files-strict>
  17. /usr/bin/badwolf mr,
  18. /usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess Px,
  19. /usr/libexec/webkit2gtk-4.0/WebKitWebProcess Px,
  20. # Consider that the bwrap sandbox on itself is enough
  21. /usr/bin/bwrap Ux,
  22. owner @{PROC}/@{pid}/cmdline r,
  23. owner @{PROC}/@{pid}/fd/ r,
  24. owner @{HOME}/.local/share/badwolf/ r,
  25. owner @{HOME}/.local/share/badwolf/** r,
  26. deny @{HOME}/.local/share/webkitgtk/** rwmlk,
  27. / r,
  28. /** r,
  29. # #include <local/usr.bin.badwolf>
  30. }