feat(groups/{_,k,n,p}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor. Continuation of #394 to keep the diff list relatively short.
This commit is contained in:
parent
da93eb29d8
commit
f1a0349978
115 changed files with 275 additions and 45 deletions
|
|
@ -50,3 +50,5 @@ profile ModemManager @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/ModemManager>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -153,3 +153,5 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/NetworkManager>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -73,3 +73,5 @@ profile dhcpcd @{exec_path} flags=(attach_disconnected) {
|
|||
include if exists <local/dhcpcd>
|
||||
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -19,4 +19,6 @@ profile iwctl @{exec_path} {
|
|||
owner @{user_share_dirs}/iwctl/{,**} rw,
|
||||
|
||||
include if exists <local/iwctl>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -40,4 +40,6 @@ profile iwd @{exec_path} {
|
|||
/dev/rfkill rw,
|
||||
|
||||
include if exists <local/iwd>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -68,3 +68,5 @@ profile mullvad-daemon @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/mullvad-daemon>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@ profile mullvad-gui @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/mullvad-gui>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -53,4 +53,6 @@ profile netplan.script @{exec_path} flags=(attach_disconnected) {
|
|||
}
|
||||
|
||||
include if exists <local/netplan.script>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -38,3 +38,5 @@ profile networkd-dispatcher @{exec_path} {
|
|||
|
||||
include if exists <local/networkd-dispatcher>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -17,4 +17,6 @@ profile nm-daemon-helper @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/nm-daemon-helper>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -27,3 +27,5 @@ profile nm-dhcp-helper @{exec_path} {
|
|||
|
||||
include if exists <local/nm-dhcp-helper>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -130,3 +130,5 @@ profile nm-dispatcher @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/nm-dispatcher>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -14,3 +14,5 @@ profile nm-iface-helper @{exec_path} {
|
|||
|
||||
include if exists <local/nm-iface-helper>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -14,3 +14,5 @@ profile nm-initrd-generator @{exec_path} {
|
|||
|
||||
include if exists <local/nm-initrd-generator>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -26,3 +26,5 @@ profile nm-online @{exec_path} {
|
|||
|
||||
include if exists <local/nm-online>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -16,3 +16,5 @@ profile nm-openvpn-auth-dialog @{exec_path} {
|
|||
|
||||
include if exists <local/nm-openvpn-auth-dialog>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -33,3 +33,5 @@ profile nm-openvpn-service @{exec_path} {
|
|||
|
||||
include if exists <local/nm-openvpn-service>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -16,3 +16,5 @@ profile nm-openvpn-service-openvpn-helper @{exec_path} {
|
|||
|
||||
include if exists <local/nm-openvpn-service-openvpn-helper>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -17,4 +17,6 @@ profile nm-priv-helper @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/nm-priv-helper>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -29,4 +29,6 @@ profile nmcli @{exec_path} {
|
|||
@{sys}/devices/@{pci}/net/*/{,**} r,
|
||||
|
||||
include if exists <local/nmcli>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -125,3 +125,5 @@ profile openvpn @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/openvpn>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -14,3 +14,5 @@ profile rpcbind @{exec_path} flags=(complain) {
|
|||
|
||||
include if exists <local/rpcbind>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -35,4 +35,6 @@ profile tailscale @{exec_path} {
|
|||
owner @{PROC}/@{pids}/environ r,
|
||||
|
||||
include if exists <local/tailscale>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -102,3 +102,5 @@ profile tailscaled @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/tailscaled>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -17,4 +17,6 @@ profile wg @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/wg>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -45,4 +45,6 @@ profile wg-quick @{exec_path} {
|
|||
deny @{bin}/sudo x,
|
||||
|
||||
include if exists <local/wg-quick>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue