usr.bin.badwolf (1104B)
- # Copyright 2020 Haelwenn (lanodan) Monnier <contact+apparmor.d@hacktivis.me>
- # Distributed under the terms of the GNU General Public License v2
- # BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser
- # Copyright © 2019-2020 Badwolf Authors <https://hacktivis.me/projects/badwolf>
- # SPDX-License-Identifier: BSD-3-Clause
- #
- # Made on Gentoo Linux with PREFIX=/usr
- #include <tunables/global>
- /usr/bin/badwolf {
- #include <abstractions/base>
- #include <abstractions/consoles>
- #include <abstractions/enchant>
- #include <abstractions/gnome>
- #include <abstractions/ibus>
- # #include <abstractions/uim>
- #include <abstractions/private-files-strict>
- /usr/bin/badwolf mr,
- /usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess Px,
- /usr/libexec/webkit2gtk-4.0/WebKitWebProcess Px,
- # Consider that the bwrap sandbox on itself is enough
- /usr/bin/bwrap Ux,
- owner @{PROC}/@{pid}/cmdline r,
- owner @{PROC}/@{pid}/fd/ r,
- owner @{HOME}/.local/share/badwolf/ r,
- owner @{HOME}/.local/share/badwolf/** r,
- deny @{HOME}/.local/share/webkitgtk/** rwmlk,
- / r,
- /** r,
- # #include <local/usr.bin.badwolf>
- }