mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(groups/{u,v,w,x}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor. Continuation of #395 to keep the diff list relatively short.
This commit is contained in:
parent
f1a0349978
commit
68d1222029
126 changed files with 348 additions and 96 deletions
|
@ -53,4 +53,6 @@ profile apport @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pid}/fd/ r,
|
owner @{PROC}/@{pid}/fd/ r,
|
||||||
|
|
||||||
include if exists <local/apport>
|
include if exists <local/apport>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -29,4 +29,6 @@ profile apport-checkreports @{exec_path} flags=(attach_disconnected) {
|
||||||
@{run}/apport.lock rwk,
|
@{run}/apport.lock rwk,
|
||||||
|
|
||||||
include if exists <local/apport-checkreports>
|
include if exists <local/apport-checkreports>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -129,3 +129,5 @@ profile apport-gtk @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/apport-gtk>
|
include if exists <local/apport-gtk>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -25,4 +25,6 @@ profile apt-esm-hook @{exec_path} {
|
||||||
@{PROC}/@{pids}/cmdline r,
|
@{PROC}/@{pids}/cmdline r,
|
||||||
|
|
||||||
include if exists <local/apt-esm-hook>
|
include if exists <local/apt-esm-hook>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -28,4 +28,6 @@ profile apt-esm-json-hook @{exec_path} {
|
||||||
owner @{PROC}/@{pid}/fd/ r,
|
owner @{PROC}/@{pid}/fd/ r,
|
||||||
|
|
||||||
include if exists <local/apt-esm-json-hook>
|
include if exists <local/apt-esm-json-hook>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -58,3 +58,5 @@ profile check-new-release-gtk @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/check-new-release-gtk>
|
include if exists <local/check-new-release-gtk>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -30,4 +30,6 @@ profile cron-ubuntu-fan @{exec_path} {
|
||||||
@{run}/ubuntu-fan/.lock rwk,
|
@{run}/ubuntu-fan/.lock rwk,
|
||||||
|
|
||||||
include if exists <local/cron-ubuntu-fan>
|
include if exists <local/cron-ubuntu-fan>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -43,4 +43,6 @@ profile do-release-upgrade @{exec_path} {
|
||||||
@{PROC}/@{pids}/mountinfo r,
|
@{PROC}/@{pids}/mountinfo r,
|
||||||
|
|
||||||
include if exists <local/do-release-upgrade>
|
include if exists <local/do-release-upgrade>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -22,4 +22,6 @@ profile hwe-support-status @{exec_path} {
|
||||||
owner @{PROC}/@{pid}/fd/ r,
|
owner @{PROC}/@{pid}/fd/ r,
|
||||||
|
|
||||||
include if exists <local/hwe-support-status>
|
include if exists <local/hwe-support-status>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -29,4 +29,6 @@ profile list-oem-metapackages @{exec_path} {
|
||||||
@{PROC}/@{pids}/mountinfo r,
|
@{PROC}/@{pids}/mountinfo r,
|
||||||
|
|
||||||
include if exists <local/list-oem-metapackages>
|
include if exists <local/list-oem-metapackages>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -26,4 +26,6 @@ profile livepatch-notification @{exec_path} {
|
||||||
@{run}/user/@{uid}/gdm/Xauthority r,
|
@{run}/user/@{uid}/gdm/Xauthority r,
|
||||||
|
|
||||||
include if exists <local/livepatch-notification>
|
include if exists <local/livepatch-notification>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -23,4 +23,6 @@ profile notify-reboot-required @{exec_path} {
|
||||||
@{run}/reboot-required.pkgs rw,
|
@{run}/reboot-required.pkgs rw,
|
||||||
|
|
||||||
include if exists <local/notify-reboot-required>
|
include if exists <local/notify-reboot-required>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -17,4 +17,6 @@ profile notify-updates-outdated @{exec_path} {
|
||||||
@{bin}/gettext rix,
|
@{bin}/gettext rix,
|
||||||
|
|
||||||
include if exists <local/notify-updates-outdated>
|
include if exists <local/notify-updates-outdated>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -20,4 +20,6 @@ profile package-data-downloader @{exec_path} {
|
||||||
/usr/share/package-data-downloads/ r,
|
/usr/share/package-data-downloads/ r,
|
||||||
|
|
||||||
include if exists <local/package-data-downloader>
|
include if exists <local/package-data-downloader>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -35,4 +35,6 @@ profile package-system-locked @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pid}/stat r,
|
owner @{PROC}/@{pid}/stat r,
|
||||||
|
|
||||||
include if exists <local/package-system-locked>
|
include if exists <local/package-system-locked>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile pro @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/pro>
|
include if exists <local/pro>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -26,3 +26,5 @@ profile release-upgrade-motd @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/release-upgrade-motd>
|
include if exists <local/release-upgrade-motd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -48,3 +48,5 @@ profile software-properties-dbus @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/software-properties-dbus>
|
include if exists <local/software-properties-dbus>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -96,3 +96,5 @@ profile software-properties-gtk @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/software-properties-gtk>
|
include if exists <local/software-properties-gtk>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -113,3 +113,5 @@ profile subiquity-console-conf @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/subiquity-console-conf>
|
include if exists <local/subiquity-console-conf>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -90,4 +90,6 @@ profile ubuntu-advantage @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/ubuntu-advantage>
|
include if exists <local/ubuntu-advantage>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -33,4 +33,6 @@ profile ubuntu-advantage-desktop-daemon @{exec_path} flags=(attach_disconnected)
|
||||||
/var/lib/ubuntu-advantage/{,**} r,
|
/var/lib/ubuntu-advantage/{,**} r,
|
||||||
|
|
||||||
include if exists <local/ubuntu-advantage-desktop-daemon>
|
include if exists <local/ubuntu-advantage-desktop-daemon>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -24,4 +24,6 @@ profile ubuntu-advantage-notification @{exec_path} {
|
||||||
/usr/share/X11/xkb/{,**} r,
|
/usr/share/X11/xkb/{,**} r,
|
||||||
|
|
||||||
include if exists <local/ubuntu-advantage-notification>
|
include if exists <local/ubuntu-advantage-notification>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile ubuntu-distro-info @{exec_path} {
|
||||||
/usr/share/distro-info/*.csv r,
|
/usr/share/distro-info/*.csv r,
|
||||||
|
|
||||||
include if exists <local/ubuntu-distro-info>
|
include if exists <local/ubuntu-distro-info>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -26,4 +26,6 @@ profile ubuntu-report @{exec_path} {
|
||||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||||
|
|
||||||
include if exists <local/ubuntu-report>
|
include if exists <local/ubuntu-report>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -82,3 +82,5 @@ profile update-manager @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/update-manager>
|
include if exists <local/update-manager>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -48,4 +48,6 @@ profile update-motd-fsck-at-reboot @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/update-motd-fsck-at-reboot>
|
include if exists <local/update-motd-fsck-at-reboot>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -51,4 +51,6 @@ profile update-motd-updates-available @{exec_path} {
|
||||||
@{PROC}/@{pids}/mountinfo r,
|
@{PROC}/@{pids}/mountinfo r,
|
||||||
|
|
||||||
include if exists <local/update-motd-updates-available>
|
include if exists <local/update-motd-updates-available>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -102,3 +102,5 @@ profile update-notifier @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/update-notifier>
|
include if exists <local/update-notifier>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -22,3 +22,5 @@ profile cni-bandwidth @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/cni-bandwidth>
|
include if exists <local/cni-bandwidth>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile cni-bridge @{exec_path} {
|
||||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||||
|
|
||||||
include if exists <local/cni-bridge>
|
include if exists <local/cni-bridge>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -45,3 +45,5 @@ profile cni-calico @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/cni-calico>
|
include if exists <local/cni-calico>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile cni-firewall @{exec_path} {
|
||||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||||
|
|
||||||
include if exists <local/cni-firewall>
|
include if exists <local/cni-firewall>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile cni-flannel @{exec_path} flags=(complain,attach_disconnected){
|
||||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||||
|
|
||||||
include if exists <local/cni-flannel>
|
include if exists <local/cni-flannel>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile cni-host-local @{exec_path} flags=(complain,attach_disconnected){
|
||||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||||
|
|
||||||
include if exists <local/cni-host-local>
|
include if exists <local/cni-host-local>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -26,3 +26,5 @@ profile cni-loopback @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/cni-loopback>
|
include if exists <local/cni-loopback>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -23,3 +23,5 @@ profile cni-portmap @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/cni-portmap>
|
include if exists <local/cni-portmap>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile cni-tuning @{exec_path} {
|
||||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||||
|
|
||||||
include if exists <local/cni-tuning>
|
include if exists <local/cni-tuning>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -32,3 +32,5 @@ profile cni-xtables-nft {
|
||||||
|
|
||||||
@{PROC}/@{pids}/net/ip_tables_names r,
|
@{PROC}/@{pids}/net/ip_tables_names r,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -14,4 +14,6 @@ profile cockpit-askpass @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/cockpit-askpass>
|
include if exists <local/cockpit-askpass>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -79,4 +79,6 @@ profile cockpit-bridge @{exec_path} {
|
||||||
/dev/ptmx rw,
|
/dev/ptmx rw,
|
||||||
|
|
||||||
include if exists <local/cockpit-bridge>
|
include if exists <local/cockpit-bridge>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -23,4 +23,6 @@ profile cockpit-certificate-ensure @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{run}/cockpit/tls/server/{,**} rw,
|
owner @{run}/cockpit/tls/server/{,**} rw,
|
||||||
|
|
||||||
include if exists <local/cockpit-certificate-ensure>
|
include if exists <local/cockpit-certificate-ensure>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -30,4 +30,6 @@ profile cockpit-certificate-helper @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/cockpit-certificate-helper>
|
include if exists <local/cockpit-certificate-helper>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -13,4 +13,6 @@ profile cockpit-desktop @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/cockpit-desktop>
|
include if exists <local/cockpit-desktop>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -40,4 +40,6 @@ profile cockpit-pcp @{exec_path} {
|
||||||
owner @{PROC}/@{pid}/mounts r,
|
owner @{PROC}/@{pid}/mounts r,
|
||||||
|
|
||||||
include if exists <local/cockpit-pcp>
|
include if exists <local/cockpit-pcp>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -54,3 +54,5 @@ profile cockpit-session @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/cockpit-session>
|
include if exists <local/cockpit-session>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -14,4 +14,6 @@ profile cockpit-ssh @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/cockpit-ssh>
|
include if exists <local/cockpit-ssh>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -20,4 +20,6 @@ profile cockpit-tls @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{run}/cockpit/tls/{,**} rw,
|
owner @{run}/cockpit/tls/{,**} rw,
|
||||||
|
|
||||||
include if exists <local/cockpit-tls>
|
include if exists <local/cockpit-tls>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -36,4 +36,6 @@ profile cockpit-update-motd @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/cockpit-update-motd>
|
include if exists <local/cockpit-update-motd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -22,4 +22,6 @@ profile cockpit-ws @{exec_path} {
|
||||||
owner @{PROC}/@{pid}/fd/ r,
|
owner @{PROC}/@{pid}/fd/ r,
|
||||||
|
|
||||||
include if exists <local/cockpit-ws>
|
include if exists <local/cockpit-ws>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -15,4 +15,6 @@ profile cockpit-wsinstance-factory @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/cockpit-wsinstance-factory>
|
include if exists <local/cockpit-wsinstance-factory>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -122,3 +122,5 @@ profile containerd @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/containerd>
|
include if exists <local/containerd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -58,3 +58,5 @@ profile containerd-shim-runc-v2 @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/containerd-shim-runc-v2>
|
include if exists <local/containerd-shim-runc-v2>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -25,4 +25,6 @@ profile docker-proxy @{exec_path} {
|
||||||
@{PROC}/sys/net/core/somaxconn r,
|
@{PROC}/sys/net/core/somaxconn r,
|
||||||
|
|
||||||
include if exists <local/docker-proxy>
|
include if exists <local/docker-proxy>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -99,4 +99,6 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pids}/uid_map r,
|
owner @{PROC}/@{pids}/uid_map r,
|
||||||
|
|
||||||
include if exists <local/dockerd>
|
include if exists <local/dockerd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -174,3 +174,5 @@ profile k3s @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/k3s>
|
include if exists <local/k3s>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -18,3 +18,5 @@ profile kubernetes-pause @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/kubernetes-pause>
|
include if exists <local/kubernetes-pause>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -35,4 +35,6 @@ profile libvirt-dbus @{exec_path} {
|
||||||
owner @{PROC}/@{pid}/fd/ r,
|
owner @{PROC}/@{pid}/fd/ r,
|
||||||
|
|
||||||
include if exists <local/libvirt-dbus>
|
include if exists <local/libvirt-dbus>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -294,3 +294,5 @@ profile libvirtd @{exec_path} flags=(attach_disconnected) {
|
||||||
include if exists <usr/libvirtd>
|
include if exists <usr/libvirtd>
|
||||||
include if exists <local/libvirtd>
|
include if exists <local/libvirtd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -64,3 +64,5 @@ profile virt-aa-helper @{exec_path} {
|
||||||
include if exists <usr/virt-aa-helper.d>
|
include if exists <usr/virt-aa-helper.d>
|
||||||
include if exists <local/virt-aa-helper>
|
include if exists <local/virt-aa-helper>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -40,4 +40,6 @@ profile virtinterfaced @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pids}/stat r,
|
owner @{PROC}/@{pids}/stat r,
|
||||||
|
|
||||||
include if exists <local/virtinterfaced>
|
include if exists <local/virtinterfaced>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -62,4 +62,6 @@ profile virtiofsd @{exec_path} {
|
||||||
# }
|
# }
|
||||||
|
|
||||||
include if exists <local/virtiofsd>
|
include if exists <local/virtiofsd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -13,4 +13,6 @@ profile virtlockd @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/virtlockd>
|
include if exists <local/virtlockd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -44,3 +44,5 @@ profile virtlogd @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/virtlogd>
|
include if exists <local/virtlogd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -41,4 +41,6 @@ profile virtnetworkd @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pids}/fd/ r,
|
owner @{PROC}/@{pids}/fd/ r,
|
||||||
|
|
||||||
include if exists <local/virtnetworkd>
|
include if exists <local/virtnetworkd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -91,4 +91,6 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/mtrr w,
|
owner @{PROC}/mtrr w,
|
||||||
|
|
||||||
include if exists <local/virtnodedevd>
|
include if exists <local/virtnodedevd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -34,4 +34,6 @@ profile virtsecretd @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pids}/stat r,
|
owner @{PROC}/@{pids}/stat r,
|
||||||
|
|
||||||
include if exists <local/virtsecretd>
|
include if exists <local/virtsecretd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -64,4 +64,6 @@ profile virtstoraged @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pids}/fd/ r,
|
owner @{PROC}/@{pids}/fd/ r,
|
||||||
|
|
||||||
include if exists <local/virtstoraged>
|
include if exists <local/virtstoraged>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -44,4 +44,6 @@ profile anondate @{exec_path} {
|
||||||
owner @{run}/sdwdate/* rw,
|
owner @{run}/sdwdate/* rw,
|
||||||
|
|
||||||
include if exists <local/anondate>
|
include if exists <local/anondate>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -43,4 +43,6 @@ profile msgcollector @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/msgcollector>
|
include if exists <local/msgcollector>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -14,4 +14,6 @@ profile msgcollector-br-add @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/msgcollector-br-add>
|
include if exists <local/msgcollector-br-add>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -19,4 +19,6 @@ profile msgcollector-generic-gui-message @{exec_path} {
|
||||||
@{lib}/msgcollector/ r,
|
@{lib}/msgcollector/ r,
|
||||||
|
|
||||||
include if exists <local/msgcollector-generic-gui-message>
|
include if exists <local/msgcollector-generic-gui-message>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -16,4 +16,6 @@ profile msgcollector-striphtml @{exec_path} {
|
||||||
@{lib}/msgcollector/ r,
|
@{lib}/msgcollector/ r,
|
||||||
|
|
||||||
include if exists <local/msgcollector-striphtml>
|
include if exists <local/msgcollector-striphtml>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -48,4 +48,6 @@ profile msgdispatcher @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/msgdispatcher>
|
include if exists <local/msgdispatcher>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -21,4 +21,6 @@ profile msgdispatcher-autostart @{exec_path} {
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/msgdispatcher-autostart>
|
include if exists <local/msgdispatcher-autostart>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -21,4 +21,6 @@ profile msgdispatcher-delete @{exec_path} {
|
||||||
@{run}/msgcollector/user/* rw,
|
@{run}/msgcollector/user/* rw,
|
||||||
|
|
||||||
include if exists <local/msgdispatcher-delete>
|
include if exists <local/msgdispatcher-delete>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -16,4 +16,6 @@ profile msgdispatcher-dispatch @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
include if exists <local/msgdispatcher-dispatch>
|
include if exists <local/msgdispatcher-dispatch>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -25,4 +25,6 @@ profile open-link-confirmation @{exec_path} {
|
||||||
owner @{HOME}/.xsession-errors rw,
|
owner @{HOME}/.xsession-errors rw,
|
||||||
|
|
||||||
include if exists <local/open-link-confirmation>
|
include if exists <local/open-link-confirmation>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -20,4 +20,6 @@ profile pam-abort-on-locked-password @{exec_path} {
|
||||||
owner /dev/tty rw,
|
owner /dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/pam-abort-on-locked-password>
|
include if exists <local/pam-abort-on-locked-password>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -27,4 +27,6 @@ profile pam-info @{exec_path} {
|
||||||
owner /dev/tty rw,
|
owner /dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/pam-info>
|
include if exists <local/pam-info>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -17,4 +17,6 @@ profile pam_faillock_not_if_x @{exec_path} {
|
||||||
@{sh_path} rix,
|
@{sh_path} rix,
|
||||||
|
|
||||||
include if exists <local/pam_faillock_not_if_x>
|
include if exists <local/pam_faillock_not_if_x>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -60,4 +60,6 @@ profile rads @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/rads>
|
include if exists <local/rads>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -53,4 +53,6 @@ profile sdwdate @{exec_path} flags=(attach_disconnected) {
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/sdwdate>
|
include if exists <local/sdwdate>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -26,4 +26,6 @@ profile sdwdate-clock-jump @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/sdwdate-clock-jump>
|
include if exists <local/sdwdate-clock-jump>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -50,4 +50,6 @@ profile sdwdate-gui @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
include if exists <local/sdwdate-gui>
|
include if exists <local/sdwdate-gui>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -30,4 +30,6 @@ profile sdwdate-start @{exec_path} {
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/sdwdate-start>
|
include if exists <local/sdwdate-start>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -16,4 +16,6 @@ profile sdwdate-wrapper @{exec_path} {
|
||||||
@{lib}/sdwdate/sdwdate rPx,
|
@{lib}/sdwdate/sdwdate rPx,
|
||||||
|
|
||||||
include if exists <local/sdwdate-wrapper>
|
include if exists <local/sdwdate-wrapper>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -27,4 +27,6 @@ profile sensible-browser @{exec_path} {
|
||||||
owner @{HOME}/.xsession-errors rw,
|
owner @{HOME}/.xsession-errors rw,
|
||||||
|
|
||||||
include if exists <local/sensible-browser>
|
include if exists <local/sensible-browser>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -31,4 +31,6 @@ profile systemcheck-canary @{exec_path} {
|
||||||
@{PROC}/cmdline r,
|
@{PROC}/cmdline r,
|
||||||
|
|
||||||
include if exists <local/systemcheck-canary>
|
include if exists <local/systemcheck-canary>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -21,4 +21,6 @@ profile timesanitycheck @{exec_path} {
|
||||||
owner /dev/tty rw,
|
owner /dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/timesanitycheck>
|
include if exists <local/timesanitycheck>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -20,4 +20,6 @@ profile tor-bootstrap-check @{exec_path} {
|
||||||
@{run}/tor/control.authcookie r,
|
@{run}/tor/control.authcookie r,
|
||||||
|
|
||||||
include if exists <local/tor-bootstrap-check>
|
include if exists <local/tor-bootstrap-check>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -22,4 +22,6 @@ profile tor-consensus-valid-after @{exec_path} {
|
||||||
owner /tmp/tmp.@{rand10} rw,
|
owner /tmp/tmp.@{rand10} rw,
|
||||||
|
|
||||||
include if exists <local/tor-consensus-valid-after>
|
include if exists <local/tor-consensus-valid-after>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -69,3 +69,5 @@ profile torbrowser @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
include if exists <local/torbrowser>
|
include if exists <local/torbrowser>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -28,4 +28,6 @@ profile torbrowser-glxtest @{exec_path} {
|
||||||
owner @{PROC}/@{pid}/cmdline r,
|
owner @{PROC}/@{pid}/cmdline r,
|
||||||
|
|
||||||
include if exists <local/torbrowser-glxtest>
|
include if exists <local/torbrowser-glxtest>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -23,3 +23,5 @@ profile torbrowser-plugin-container @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/torbrowser-plugin-container>
|
include if exists <local/torbrowser-plugin-container>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -47,3 +47,5 @@ profile torbrowser-start @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/torbrowser-start>
|
include if exists <local/torbrowser-start>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -25,4 +25,6 @@ profile torbrowser-updater @{exec_path} {
|
||||||
deny owner @{lib_dirs}/Downloads/** rw,
|
deny owner @{lib_dirs}/Downloads/** rw,
|
||||||
|
|
||||||
include if exists <local/torbrowser-updater>
|
include if exists <local/torbrowser-updater>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -39,4 +39,6 @@ profile torbrowser-updater-permission-fix @{exec_path} {
|
||||||
deny @{HOME}/ r,
|
deny @{HOME}/ r,
|
||||||
|
|
||||||
include if exists <local/torbrowser-updater-permission-fix>
|
include if exists <local/torbrowser-updater-permission-fix>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -28,4 +28,6 @@ profile torbrowser-vaapitest @{exec_path} {
|
||||||
deny @{user_cache_dirs}/startupCache/* r,
|
deny @{user_cache_dirs}/startupCache/* r,
|
||||||
|
|
||||||
include if exists <local/torbrowser-vaapitest>
|
include if exists <local/torbrowser-vaapitest>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -75,3 +75,5 @@ profile torbrowser-wrapper @{exec_path} {
|
||||||
|
|
||||||
include if exists <local/torbrowser-wrapper>
|
include if exists <local/torbrowser-wrapper>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue