feat(groups/{c,d,f,s}*): vim syntax support

Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #392 to keep the diff list relatively short.
This commit is contained in:
REmerald 2024-06-16 17:16:07 +03:00 committed by Alex
parent db82b64051
commit 4d707633a1
199 changed files with 449 additions and 51 deletions

View file

@ -50,3 +50,5 @@ profile child-dpkg {
include if exists <local/child-dpkg>
}
# vim:syntax=apparmor

View file

@ -31,3 +31,5 @@ profile child-dpkg-divert {
include if exists <local/child-dpkg-divert>
}
# vim:syntax=apparmor

View file

@ -79,3 +79,5 @@ profile child-modprobe-nvidia flags=(attach_disconnected) {
include if exists <local/child-modprobe-nvidia>
}
# vim:syntax=apparmor

View file

@ -27,3 +27,5 @@ profile child-open {
include if exists <usr/child-open.d>
include if exists <local/child-open>
}
# vim:syntax=apparmor

View file

@ -24,3 +24,5 @@ profile child-open-browsers {
include if exists <usr/child-open-browsers.d>
include if exists <local/child-open-browsers>
}
# vim:syntax=apparmor

View file

@ -16,3 +16,5 @@ profile child-open-help {
include if exists <usr/child-open-help.d>
include if exists <local/child-open-help>
}
# vim:syntax=apparmor

View file

@ -21,3 +21,5 @@ profile child-open-strict {
include if exists <usr/child-open-strict.d>
include if exists <local/child-open-strict>
}
# vim:syntax=apparmor

View file

@ -37,3 +37,5 @@ profile child-pager {
include if exists <local/child-pager>
}
# vim:syntax=apparmor

View file

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

View file

@ -27,3 +27,5 @@ profile user_confined flags=(complain) {
include if exists <local/user_confined>
}
# vim:syntax=apparmor

View file

@ -27,4 +27,6 @@ profile user_default flags=(complain) {
@{PROC}/** r,
include if exists <local/user_default>
}
}
# vim:syntax=apparmor

View file

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