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
|
|
@ -38,3 +38,5 @@ profile arch-audit @{exec_path} {
|
|||
|
||||
include if exists <local/arch-audit>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -32,4 +32,6 @@ profile archlinux-java @{exec_path} {
|
|||
deny network inet stream,
|
||||
|
||||
include if exists <local/archlinux-java>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -62,4 +62,6 @@ profile aurpublish @{exec_path} {
|
|||
/dev/tty rw,
|
||||
|
||||
include if exists <local/aurpublish>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -103,3 +103,5 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/mkinitcpio>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -46,3 +46,5 @@ profile paccache @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/paccache>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -46,3 +46,5 @@ profile pacdiff @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/pacdiff>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -25,3 +25,5 @@ profile pacman-conf @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/pacman-conf>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -27,4 +27,6 @@ profile pacman-hook-dconf @{exec_path} {
|
|||
deny network inet stream,
|
||||
|
||||
include if exists <local/pacman-hook-dconf>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -33,3 +33,5 @@ profile pacman-hook-depmod @{exec_path} {
|
|||
|
||||
include if exists <local/pacman-hook-depmod>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -30,3 +30,5 @@ profile pacman-hook-fontconfig @{exec_path} {
|
|||
|
||||
include if exists <local/pacman-hook-fontconfig>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -30,4 +30,6 @@ profile pacman-hook-gio @{exec_path} {
|
|||
deny network inet stream,
|
||||
|
||||
include if exists <local/pacman-hook-gio>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -33,3 +33,5 @@ profile pacman-hook-gtk @{exec_path} {
|
|||
|
||||
include if exists <local/pacman-hook-gtk>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -69,4 +69,6 @@ profile pacman-hook-mkinitcpio @{exec_path} flags=(attach_disconnected) {
|
|||
}
|
||||
|
||||
include if exists <local/pacman-hook-mkinitcpio>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -33,3 +33,5 @@ profile pacman-hook-perl @{exec_path} {
|
|||
|
||||
include if exists <local/pacman-hook-perl>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -49,3 +49,5 @@ profile pacman-hook-systemd @{exec_path} {
|
|||
|
||||
include if exists <local/pacman-hook-systemd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -72,3 +72,5 @@ profile pacman-key @{exec_path} {
|
|||
|
||||
include if exists <local/pacman-key>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -41,3 +41,5 @@ profile reflector @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/reflector>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue