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:
REmerald 2024-06-16 17:25:08 +03:00 committed by Alex
parent da93eb29d8
commit f1a0349978
115 changed files with 275 additions and 45 deletions

View file

@ -38,3 +38,5 @@ profile arch-audit @{exec_path} {
include if exists <local/arch-audit>
}
# vim:syntax=apparmor

View file

@ -32,4 +32,6 @@ profile archlinux-java @{exec_path} {
deny network inet stream,
include if exists <local/archlinux-java>
}
}
# vim:syntax=apparmor

View file

@ -39,4 +39,6 @@ profile archlinux-keyring-wkd-sync @{exec_path} {
/dev/tty rw,
include if exists <local/archlinux-keyring-wkd-sync>
}
}
# vim:syntax=apparmor

View file

@ -62,4 +62,6 @@ profile aurpublish @{exec_path} {
/dev/tty rw,
include if exists <local/aurpublish>
}
}
# vim:syntax=apparmor

View file

@ -103,3 +103,5 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
include if exists <local/mkinitcpio>
}
# vim:syntax=apparmor

View file

@ -46,3 +46,5 @@ profile paccache @{exec_path} flags=(attach_disconnected) {
include if exists <local/paccache>
}
# vim:syntax=apparmor

View file

@ -46,3 +46,5 @@ profile pacdiff @{exec_path} flags=(attach_disconnected) {
include if exists <local/pacdiff>
}
# vim:syntax=apparmor

View file

@ -210,3 +210,5 @@ profile pacman @{exec_path} flags=(attach_disconnected) {
include if exists <usr/pacman.d>
include if exists <local/pacman>
}
# vim:syntax=apparmor

View file

@ -25,3 +25,5 @@ profile pacman-conf @{exec_path} flags=(attach_disconnected) {
include if exists <local/pacman-conf>
}
# vim:syntax=apparmor

View file

@ -24,4 +24,6 @@ profile pacman-hook-code @{exec_path} {
/usr/share/code-{features,marketplace}/cache.json rw,
include if exists <local/pacman-hook-code>
}
}
# vim:syntax=apparmor

View file

@ -27,4 +27,6 @@ profile pacman-hook-dconf @{exec_path} {
deny network inet stream,
include if exists <local/pacman-hook-dconf>
}
}
# vim:syntax=apparmor

View file

@ -33,3 +33,5 @@ profile pacman-hook-depmod @{exec_path} {
include if exists <local/pacman-hook-depmod>
}
# vim:syntax=apparmor

View file

@ -34,4 +34,6 @@ profile pacman-hook-dkms @{exec_path} flags=(attach_disconnected) {
deny unix (receive) type=stream,
include if exists <local/pacman-hook-dkms>
}
}
# vim:syntax=apparmor

View file

@ -30,3 +30,5 @@ profile pacman-hook-fontconfig @{exec_path} {
include if exists <local/pacman-hook-fontconfig>
}
# vim:syntax=apparmor

View file

@ -30,4 +30,6 @@ profile pacman-hook-gio @{exec_path} {
deny network inet stream,
include if exists <local/pacman-hook-gio>
}
}
# vim:syntax=apparmor

View file

@ -33,3 +33,5 @@ profile pacman-hook-gtk @{exec_path} {
include if exists <local/pacman-hook-gtk>
}
# vim:syntax=apparmor

View file

@ -25,4 +25,6 @@ profile pacman-hook-gtk4-querymodules @{exec_path} {
deny network inet stream,
include if exists <local/pacman-hook-gtk4-querymodules>
}
}
# vim:syntax=apparmor

View file

@ -69,4 +69,6 @@ profile pacman-hook-mkinitcpio @{exec_path} flags=(attach_disconnected) {
}
include if exists <local/pacman-hook-mkinitcpio>
}
}
# vim:syntax=apparmor

View file

@ -35,4 +35,6 @@ profile pacman-hook-mkinitcpio-remove @{exec_path} {
deny network inet stream,
include if exists <local/pacman-hook-mkinitcpio-remove>
}
}
# vim:syntax=apparmor

View file

@ -33,3 +33,5 @@ profile pacman-hook-perl @{exec_path} {
include if exists <local/pacman-hook-perl>
}
# vim:syntax=apparmor

View file

@ -49,3 +49,5 @@ profile pacman-hook-systemd @{exec_path} {
include if exists <local/pacman-hook-systemd>
}
# vim:syntax=apparmor

View file

@ -72,3 +72,5 @@ profile pacman-key @{exec_path} {
include if exists <local/pacman-key>
}
# vim:syntax=apparmor

View file

@ -41,3 +41,5 @@ profile reflector @{exec_path} flags=(attach_disconnected) {
include if exists <local/reflector>
}
# vim:syntax=apparmor