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

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

View file

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

View file

@ -18,3 +18,5 @@ profile colord-session @{exec_path} {
include if exists <local/colord-session>
}
# vim:syntax=apparmor

View file

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

View file

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

View file

@ -26,3 +26,5 @@ profile dconf-editor @{exec_path} {
include if exists <local/dconf-editor>
}
# vim:syntax=apparmor

View file

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

View file

@ -13,4 +13,6 @@ profile desktop-file-install @{exec_path} {
@{exec_path} mr,
include if exists <local/desktop-file-install>
}
}
# vim:syntax=apparmor

View file

@ -32,3 +32,5 @@ profile fc-cache @{exec_path} {
include if exists <local/fc-cache>
}
# vim:syntax=apparmor

View file

@ -19,3 +19,5 @@ profile fc-list @{exec_path} {
include if exists <local/fc-list>
}
# vim:syntax=apparmor

View file

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

View file

@ -36,4 +36,6 @@ profile iio-sensor-proxy @{exec_path} {
/dev/iio:* r,
include if exists <local/iio-sensor-proxy>
}
}
# vim:syntax=apparmor

View file

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

View file

@ -68,3 +68,5 @@ profile pipewire-media-session @{exec_path} {
include if exists <local/pipewire-media-session>
}
# vim:syntax=apparmor

View file

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

View file

@ -20,4 +20,6 @@ profile plymouth @{exec_path} {
@{PROC}/cmdline r,
include if exists <local/plymouth>
}
}
# vim:syntax=apparmor

View file

@ -26,3 +26,5 @@ profile plymouth-set-default-theme @{exec_path} flags=(attach_disconnected) {
include if exists <local/plymouth-set-default-theme>
}
# vim:syntax=apparmor

View file

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

View file

@ -54,3 +54,5 @@ profile polkit-agent-helper @{exec_path} {
include if exists <local/polkit-agent-helper>
}
# vim:syntax=apparmor

View file

@ -21,3 +21,5 @@ profile polkit-gnome-authentication-agent @{exec_path} {
include if exists <local/polkit-gnome-authentication-agent>
}
# vim:syntax=apparmor

View file

@ -56,3 +56,5 @@ profile polkit-kde-authentication-agent @{exec_path} flags=(attach_disconnected,
include if exists <local/polkit-kde-authentication-agent>
}
# vim:syntax=apparmor

View file

@ -41,3 +41,5 @@ profile polkit-mate-authentication-agent @{exec_path} {
include if exists <local/polkit-mate-authentication-agent>
}
# vim:syntax=apparmor

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -13,4 +13,6 @@ profile xdg-desktop-icon @{exec_path} {
@{exec_path} mr,
include if exists <local/xdg-desktop-icon>
}
}
# vim:syntax=apparmor

View file

@ -44,3 +44,5 @@ profile xdg-desktop-menu @{exec_path} flags=(complain) {
include if exists <local/xdg-desktop-menu>
}
# vim:syntax=apparmor

View file

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

View file

@ -88,3 +88,5 @@ profile xdg-desktop-portal-gnome @{exec_path} flags=(attach_disconnected) {
include if exists <local/xdg-desktop-portal-gnome>
}
# vim:syntax=apparmor

View file

@ -65,3 +65,5 @@ profile xdg-desktop-portal-gtk @{exec_path} {
include if exists <local/xdg-desktop-portal-gtk>
}
# vim:syntax=apparmor

View file

@ -42,3 +42,5 @@ profile xdg-desktop-portal-kde @{exec_path} {
include if exists <local/xdg-desktop-portal-kde>
}
# vim:syntax=apparmor

View file

@ -15,4 +15,6 @@ profile xdg-desktop-portal-rewrite-launchers @{exec_path} {
@{exec_path} mr,
include if exists <local/xdg-desktop-portal-rewrite-launchers>
}
}
# vim:syntax=apparmor

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -42,3 +42,5 @@ profile xdg-screensaver @{exec_path} {
include if exists <local/xdg-screensaver>
}
# vim:syntax=apparmor

View file

@ -66,3 +66,5 @@ profile xdg-settings @{exec_path} {
include if exists <local/xdg-settings>
}
# vim:syntax=apparmor

View file

@ -25,4 +25,6 @@ profile xdg-user-dir @{exec_path} flags=(attach_disconnected) {
deny @{user_share_dirs}/gvfs-metadata/* r,
include if exists <local/xdg-user-dir>
}
}
# vim:syntax=apparmor

View file

@ -18,4 +18,6 @@ profile xdg-user-dirs-gtk-update @{exec_path} {
owner @{user_config_dirs}/user-dirs.locale r,
include if exists <local/xdg-user-dirs-gtk-update>
}
}
# vim:syntax=apparmor

View file

@ -43,3 +43,5 @@ profile xdg-user-dirs-update @{exec_path} {
include if exists <local/xdg-user-dirs-update>
}
# vim:syntax=apparmor

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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