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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -31,3 +31,5 @@ profile drkonqi-coredump-processor @{exec_path} {
include if exists <local/drkonqi-coredump-processor> include if exists <local/drkonqi-coredump-processor>
} }
# vim:syntax=apparmor

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -17,3 +17,5 @@ profile kauth-kinfocenter-dmidecode-helper @{exec_path} {
include if exists <local/kauth-kinfocenter-dmidecode-helper> include if exists <local/kauth-kinfocenter-dmidecode-helper>
} }
# vim:syntax=apparmor

View file

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

View file

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

View file

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

View file

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

View file

@ -21,3 +21,5 @@ profile kde-systemd-start-condition @{exec_path} {
include if exists <local/kde-systemd-start-condition> include if exists <local/kde-systemd-start-condition>
} }
# vim:syntax=apparmor

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -14,3 +14,5 @@ profile nm-initrd-generator @{exec_path} {
include if exists <local/nm-initrd-generator> include if exists <local/nm-initrd-generator>
} }
# vim:syntax=apparmor

View file

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

View file

@ -16,3 +16,5 @@ profile nm-openvpn-auth-dialog @{exec_path} {
include if exists <local/nm-openvpn-auth-dialog> include if exists <local/nm-openvpn-auth-dialog>
} }
# vim:syntax=apparmor

View file

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

View file

@ -16,3 +16,5 @@ profile nm-openvpn-service-openvpn-helper @{exec_path} {
include if exists <local/nm-openvpn-service-openvpn-helper> include if exists <local/nm-openvpn-service-openvpn-helper>
} }
# vim:syntax=apparmor

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -40,3 +40,5 @@ profile archlinux-keyring-wkd-sync @{exec_path} {
include if exists <local/archlinux-keyring-wkd-sync> include if exists <local/archlinux-keyring-wkd-sync>
} }
# vim:syntax=apparmor

View file

@ -63,3 +63,5 @@ profile aurpublish @{exec_path} {
include if exists <local/aurpublish> 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> 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> 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> 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 <usr/pacman.d>
include if exists <local/pacman> include if exists <local/pacman>
} }
# vim:syntax=apparmor

Some files were not shown because too many files have changed in this diff Show more