mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
profiles: update the rest of the profiles to use @{exec_path}
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile 1password /opt/1Password/1password flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/1password>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile Discord /usr/share/discord/Discord flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/Discord>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile "MongoDB Compass" "/usr/lib/mongodb-compass/MongoDB Compass" flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/MongoDB_Compass>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile QtWebEngineProcess /usr/lib/@{multiarch}/qt{5,6}/libexec/QtWebEngineProcess flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/QtWebEngineProcess>
|
||||
|
@@ -58,7 +58,7 @@ profile Xorg /usr/lib/xorg/Xorg flags=(attach_disconnected, complain) {
|
||||
/{,usr/}bin/{bash,dash,sh} ix,
|
||||
/usr/bin/xkbcomp ix,
|
||||
|
||||
@{exec_path) mr,
|
||||
@{exec_path} mr,
|
||||
|
||||
@{PROC}/cmdline r,
|
||||
@{PROC}/@{pid}/cmdline r,
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile balena-etcher /usr/lib/balena-etcher/balena-etcher flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/balena-etcher>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile brave /opt/brave.com/brave/brave flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/brave>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile buildah /usr/bin/buildah flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/buildah>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile busybox /usr/bin/busybox flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/busybox>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile cam /usr/bin/cam flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/cam>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile ch-checkns /usr/bin/ch-checkns flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/ch-checkns>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile ch-run /usr/bin/ch-run flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/ch-run>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile chrome /opt/google/chrome/chrome flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/chrome>
|
||||
|
@@ -8,6 +8,7 @@ include <tunables/global>
|
||||
|
||||
profile chromium /usr/lib/@{chromium}/@{chromium} flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/chromium>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile vscode /usr/share/code{/bin,}/code flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/code>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile crun /usr/bin/crun flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/crun>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile devhelp /usr/bin/devhelp flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/devhelp>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile element-desktop /opt/Element/element-desktop flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/element-desktop>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile epiphany /usr/bin/epiphany{,-browser} flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/epiphany>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile evolution /usr/bin/evolution flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/evolution>
|
||||
|
@@ -7,6 +7,8 @@ include <tunables/global>
|
||||
profile firefox /{usr/lib/firefox{,-esr,-beta,-devedition,-nightly},opt/firefox}/firefox{,-esr,-bin} flags=(unconfined) {
|
||||
userns,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/firefox>
|
||||
}
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile flatpak /usr/bin/flatpak flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/flatpak>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile foliate /usr/bin/foliate flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/foliate>
|
||||
|
@@ -36,7 +36,7 @@ profile fusermount3 /usr/bin/fusermount3 {
|
||||
@{etc_ro}/fuse.conf r,
|
||||
@{PROC}/@{pid}/mounts r,
|
||||
|
||||
/usr/bin/fusermount3 mr,
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/fusermount3>
|
||||
}
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile geary /usr/bin/geary flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/geary>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile github-desktop /usr/lib/github-desktop/github-desktop flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/github-desktop>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile goldendict /usr/bin/goldendict flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/goldendict>
|
||||
|
@@ -15,7 +15,7 @@ profile iotop-c /usr/sbin/iotop-c {
|
||||
|
||||
/proc/*/cmdline r,
|
||||
/proc/*/task/ r,
|
||||
/usr/sbin/iotop-c mr,
|
||||
@{exec_path} mr,
|
||||
/proc/ r,
|
||||
/proc/sys/kernel/task_delayacct rw,
|
||||
/proc/vmstat r,
|
||||
|
@@ -3,6 +3,9 @@ abi <abi/4.0>,
|
||||
include <tunables/global>
|
||||
|
||||
@{arg1}=/**/*.so
|
||||
profile ipa_verify /usr/bin/ipa_verify flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
profile ipa_verify /usr/bin/ipa_verify {
|
||||
include <abstractions/base>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile kchmviewer /usr/bin/kchmviewer flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/kchmviewer>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile keybase /opt/keybase/Keybase flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/keybase>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lc-compliance /usr/bin/lc-compliance flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lc-compliance>
|
||||
|
@@ -18,7 +18,7 @@ profile ldpd /usr/lib/frr/ldpd flags=(attach_disconnected) {
|
||||
include <abstractions/frr>
|
||||
include <abstractions/frr-snmp>
|
||||
|
||||
/usr/lib/frr/ldpd ix,
|
||||
@{exec_path} mrix,
|
||||
@{run}/frr/ldpd.sock rw,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile libcamerify /usr/bin/libcamerify flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/libcamerify>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile linux-sandbox /usr/libexec/@{multiarch}/bazel/linux-sandbox flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/linux-sandbox>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile loupe /usr/bin/loupe flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/loupe>
|
||||
|
@@ -18,7 +18,6 @@ profile lsb_release {
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
/usr/bin/lsb_release r,
|
||||
/usr/bin/python3.{1,}[0-9] mr,
|
||||
|
||||
/etc/debian_version r,
|
||||
|
@@ -17,7 +17,7 @@ profile lsblk /usr/bin/lsblk {
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
/usr/bin/lsblk mr,
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sys}/block/ r,
|
||||
@{sys}/class/block/ r,
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lxc-attach /usr/bin/lxc-attach flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lxc-attach>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lxc-create /usr/bin/lxc-create flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lxc-create>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lxc-destroy /usr/bin/lxc-destroy flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lxc-destroy>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lxc-execute /usr/bin/lxc-execute flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lxc-execute>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lxc-stop /usr/bin/lxc-stop flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lxc-stop>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lxc-unshare /usr/bin/lxc-unshare flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lxc-unshare>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile lxc-usernsexec /usr/bin/lxc-usernsexec flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/lxc-usernsexec>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile mmdebstrap /usr/bin/mmdebstrap flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/mmdebstrap>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile msedge /opt/microsoft/msedge/msedge flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/msedge>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile nautilus /usr/bin/nautilus flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/nautilus>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile notepadqq /{{usr/bin,etc/alternatives}/notepadqq,usr/lib/notepadqq/notepadqq.sh} flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/notepadqq>
|
||||
|
@@ -16,8 +16,6 @@ profile nvidia_modprobe {
|
||||
|
||||
# Main executable
|
||||
|
||||
/usr/bin/nvidia-modprobe mr,
|
||||
|
||||
# Other executables
|
||||
|
||||
/usr/bin/kmod Cx -> kmod,
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile obsidian /opt/Obsidian/obsidian flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/obsidian>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile opam /usr/bin/opam flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/opam>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile opera /usr/lib/@{multiarch}/opera/opera flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/opera>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile pageedit /usr/bin/pageedit flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/pageedit>
|
||||
|
@@ -40,7 +40,7 @@ profile php-fpm /usr/{bin,sbin}/php-fpm* flags=(attach_disconnected) {
|
||||
owner @{run}/systemd/notify w,
|
||||
|
||||
# to reload
|
||||
/usr/{bin,sbin}/php-fpm* rix,
|
||||
@{exec_path} rix,
|
||||
|
||||
# no idea why php tries to open / read/write
|
||||
deny / rw,
|
||||
|
@@ -26,6 +26,7 @@ profile plasmashell /usr/bin/plasmashell {
|
||||
/** pux,
|
||||
|
||||
/{,**} mrwlk,
|
||||
@{exec_path} mr,
|
||||
|
||||
profile QtWebEngineProcess {
|
||||
capability,
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile podman /usr/bin/podman flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/podman>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile polypane /opt/Polypane/polypane flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/polypane>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile privacybrowser /usr/bin/privacybrowser flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/privacybrowser>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile qcam /usr/bin/qcam flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/qcam>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile qmapshack /usr/bin/qmapshack flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/qmapshack>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile qutebrowser /usr/bin/qutebrowser flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/qutebrowser>
|
||||
|
@@ -49,7 +49,7 @@ profile remmina /usr/bin/remmina {
|
||||
dbus (send) bus=system path="/StatusNotifierWatcher" interface="org.kde.StatusNotifierWatcher" member=RegisterStatusNotifierItem peer=(label=@{StatusNotifierWatcher}),
|
||||
|
||||
@{etc_ro}/fstab r,
|
||||
/usr/bin/remmina mr,
|
||||
@{exec_path} mr,
|
||||
/usr/share/remmina/{,**} r,
|
||||
/var/lib/snapd/desktop/icons/{,**} r,
|
||||
/etc/debian_version r,
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile rootlesskit /usr/bin/rootlesskit flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/rootlesskit>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile rpm /usr/bin/rpm flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/rpm>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile rssguard /usr/bin/rssguard flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/rssguard>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile runc /usr/{bin,sbin}/runc flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mr,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/runc>
|
||||
|
@@ -32,7 +32,7 @@ profile rygel /usr/bin/rygel {
|
||||
|
||||
file r @{etc_ro}/rygel.conf,
|
||||
|
||||
file mr /usr/bin/rygel,
|
||||
file mr @{exec_path},
|
||||
|
||||
file Cx /usr/libexec/rygel/mx-extract -> mx-extract,
|
||||
|
||||
|
@@ -15,7 +15,7 @@ profile samba-bgqd /usr/lib*/samba/{,samba/}samba-bgqd {
|
||||
|
||||
@{run}/{,samba/}samba-bgqd.pid rwk,
|
||||
|
||||
/usr/lib*/samba/{,samba/}samba-bgqd mr,
|
||||
@{exec_path} mr,
|
||||
/var/cache/samba/printing/*.tdb rwk,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
|
@@ -20,7 +20,7 @@ profile samba-dcerpcd /usr/lib*/samba/{,samba/}samba-dcerpcd {
|
||||
|
||||
@{run}/{,samba/}samba-dcerpcd.pid rwk,
|
||||
|
||||
/usr/lib*/samba/{,samba/}samba-dcerpcd mr,
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/lib*/samba/ r,
|
||||
/usr/lib*/samba/{,samba/}rpcd_{mdssvc,epmapper,rpcecho,fsrvp,lsad,winreg,witness} Px -> samba-rpcd,
|
||||
|
@@ -18,7 +18,7 @@ profile samba-rpcd /usr/lib*/samba/{,samba/}rpcd_{mdssvc,epmapper,rpcecho,fsrvp,
|
||||
|
||||
capability sys_resource,
|
||||
|
||||
/usr/lib*/samba/{,samba/}rpcd_{mdssvc,epmapper,rpcecho,fsrvp,lsad,winreg,witness} mr,
|
||||
@{exec_path} mr,
|
||||
|
||||
@{run}/samba/ncalrpc/np/lsarpc wr,
|
||||
@{run}/samba/ncalrpc/np/mdssvc wr,
|
||||
|
@@ -19,7 +19,7 @@ profile samba-rpcd-classic /usr/lib*/samba/{,samba/}rpcd_classic {
|
||||
|
||||
capability sys_resource,
|
||||
|
||||
/usr/lib*/samba/{,samba/}rpcd_classic mr,
|
||||
@{exec_path} mr,
|
||||
|
||||
@{run}/samba/ncalrpc/np/srvsvc wr,
|
||||
@{run}/samba/ncalrpc/np/winreg wr,
|
||||
|
@@ -16,7 +16,7 @@ include <tunables/global>
|
||||
profile samba-rpcd-spoolss /usr/lib*/samba/{,samba/}rpcd_spoolss {
|
||||
include <abstractions/samba-rpcd>
|
||||
|
||||
/usr/lib*/samba/{,samba/}rpcd_spoolss mr,
|
||||
@{exec_path} mr,
|
||||
/usr/lib*/samba/{,samba/}samba-bgqd Px -> samba-bgqd,
|
||||
/var/cache/samba/printing/ w,
|
||||
/var/cache/samba/printing/*.tdb rwk,
|
||||
|
@@ -26,7 +26,7 @@ profile klogd /{usr/,}{bin,sbin}/klogd {
|
||||
@{PROC}/kallsyms r,
|
||||
/dev/tty rw,
|
||||
|
||||
/{usr/,}{bin,sbin}/klogd rmix,
|
||||
@{exec_path} mrix,
|
||||
/var/log/boot.msg rwl,
|
||||
@{run}/klogd.pid krwl,
|
||||
@{run}/klogd/klogd.pid krwl,
|
||||
|
@@ -47,7 +47,7 @@ profile syslog-ng /{usr/,}{bin,sbin}/syslog-ng {
|
||||
/etc/syslog-ng/conf.d/ r,
|
||||
/etc/syslog-ng/conf.d/* r,
|
||||
@{PROC}/kmsg r,
|
||||
/{usr/,}{bin,sbin}/syslog-ng mr,
|
||||
@{exec_path} mr,
|
||||
@{sys}/devices/system/cpu/online r,
|
||||
/usr/share/syslog-ng/** r,
|
||||
/var/lib/syslog-ng/syslog-ng-?????.qf rw,
|
||||
|
@@ -38,7 +38,7 @@ profile syslogd /{usr/,}{bin,sbin}/syslogd {
|
||||
/etc/syslog.conf r,
|
||||
/etc/syslog.d/ r,
|
||||
/etc/syslog.d/* r,
|
||||
/{usr/,}{bin,sbin}/syslogd rmix,
|
||||
@{exec_path} mrix,
|
||||
/var/log/** rw,
|
||||
@{run}/syslog.pid krwl,
|
||||
@{run}/syslogd.pid krwl,
|
||||
|
@@ -8,8 +8,9 @@ profile sbuild /usr/bin/sbuild flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-abort /usr/bin/sbuild-abort flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all is at lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-adduser /usr/sbin/sbuild-adduser flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-apt /usr/bin/sbuild-apt flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-checkpackages /usr/bin/sbuild-checkpackages flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow ix is at lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-clean /usr/bin/sbuild-clean flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-createchroot /usr/bin/sbuild-createchroot flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-destroychroot /usr/sbin/sbuild-destroychroot flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-distupgrade /usr/bin/sbuild-distupgrade flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-hold /usr/bin/sbuild-hold flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-shell /usr/bin/sbuild-shell flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-unhold /usr/bin/sbuild-unhold flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-update /usr/bin/sbuild-update flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -6,8 +6,9 @@ include <tunables/global>
|
||||
|
||||
profile sbuild-upgrade /usr/bin/sbuild-upgrade flags=(attach_disconnected mediate_deleted) {
|
||||
allow all,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# override default pix
|
||||
# override default pix, assumes allow all ix is at a lower priority
|
||||
/usr/bin/unshare ix,
|
||||
|
||||
userns,
|
||||
|
@@ -7,6 +7,7 @@ include <tunables/global>
|
||||
#supercollider-ide
|
||||
profile scide /usr/bin/scide flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/scide>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile signal-desktop /opt/Signal/signal-desktop flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/signal-desktop>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile slack /usr/lib/slack/slack flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/slack>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile slirp4netns /usr/bin/slirp4netns flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# pivot_root is required for running `slirp4netns --enable-sandbox` inside LXD.
|
||||
# https://github.com/rootless-containers/slirp4netns/issues/348
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile steam /usr/{lib/steam/bin_steam.sh,games/steam} flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/steam>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile stress-ng /usr/bin/stress-ng flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/stress-ng>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile surfshark /opt/Surfshark/surfshark flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/surfshark>
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile systemd-coredump /usr/lib/systemd/systemd-coredump flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/systemd-coredump>
|
||||
|
@@ -25,6 +25,7 @@ profile tar /usr/bin/tar {
|
||||
file rwl /**,
|
||||
|
||||
# tar can be made to filter archives through an arbitrary program
|
||||
@{exec_path} mr,
|
||||
/{usr{/local,},}/{bin,sbin}/* ix,
|
||||
/opt/** ix,
|
||||
|
||||
|
@@ -6,6 +6,7 @@ include <tunables/global>
|
||||
|
||||
profile thunderbird /usr/bin/thunderbird flags=(unconfined) {
|
||||
userns,
|
||||
@{exec_path} mrix,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/thunderbird>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user