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
|
|
@ -76,4 +76,6 @@ profile DiscoverNotifier @{exec_path} {
|
|||
}
|
||||
|
||||
include if exists <local/DiscoverNotifier>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -49,3 +49,5 @@ profile baloo @{exec_path} {
|
|||
|
||||
include if exists <local/baloo>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -64,4 +64,6 @@ profile baloorunner @{exec_path} {
|
|||
/dev/tty r,
|
||||
|
||||
include if exists <local/baloorunner>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -95,3 +95,5 @@ profile dolphin @{exec_path} {
|
|||
|
||||
include if exists <local/dolphin>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -31,3 +31,5 @@ profile drkonqi @{exec_path} {
|
|||
|
||||
include if exists <local/drkonqi>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -17,4 +17,6 @@ profile drkonqi-coredump-cleanup @{exec_path} {
|
|||
owner @{user_cache_dirs}/kcrash-metadata/plasmashell.@{hex32}.@{int4}.ini w,
|
||||
|
||||
include if exists <local/drkonqi-coredump-cleanup>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -30,4 +30,6 @@ profile drkonqi-coredump-processor @{exec_path} {
|
|||
/{run,var}/log/journal/remote/ r,
|
||||
|
||||
include if exists <local/drkonqi-coredump-processor>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -26,4 +26,6 @@ profile gmenudbusmenuproxy @{exec_path} {
|
|||
owner @{user_config_dirs}/gtk-{2,3}.0/settings.ini.lock rwk,
|
||||
|
||||
include if exists <local/gmenudbusmenuproxy>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -30,3 +30,5 @@ profile kaccess @{exec_path} {
|
|||
|
||||
include if exists <local/kaccess>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -56,3 +56,5 @@ profile kactivitymanagerd @{exec_path} {
|
|||
|
||||
include if exists <local/kactivitymanagerd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -40,3 +40,5 @@ profile kalendarac @{exec_path} {
|
|||
|
||||
include if exists <local/kalendarac>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -35,3 +35,5 @@ profile kauth-backlighthelper @{exec_path} {
|
|||
|
||||
include if exists <local/kauth-backlighthelper>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -20,4 +20,6 @@ profile kauth-chargethresholdhelper @{exec_path} {
|
|||
@{sys}/devices/**/power_supply/** r,
|
||||
|
||||
include if exists <local/kauth-chargethresholdhelper>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -16,4 +16,6 @@ profile kauth-discretegpuhelper @{exec_path} {
|
|||
/usr/share/icu/@{int}.@{int}/*.dat r,
|
||||
|
||||
include if exists <local/kauth-discretegpuhelper>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -16,4 +16,6 @@ profile kauth-fontinst @{exec_path} {
|
|||
/usr/share/icu/@{int}.@{int}/*.dat r,
|
||||
|
||||
include if exists <local/kauth-fontinst>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -28,3 +28,5 @@ profile kauth-kded-smart-helper @{exec_path} {
|
|||
|
||||
include if exists <local/kauth-kded-smart-helper>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -16,4 +16,6 @@ profile kauth-kinfocenter-dmidecode-helper @{exec_path} {
|
|||
@{bin}/dmidecode rPx,
|
||||
|
||||
include if exists <local/kauth-kinfocenter-dmidecode-helper>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -22,3 +22,5 @@ profile kbuildsycoca5 @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/kbuildsycoca5>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -46,3 +46,5 @@ profile kcminit @{exec_path} {
|
|||
|
||||
include if exists <local/kcminit>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -109,3 +109,5 @@ profile kconf_update @{exec_path} {
|
|||
|
||||
include if exists <local/kconf_update>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -78,3 +78,5 @@ profile kde-powerdevil @{exec_path} flags=(attach_disconnected mediate_deleted)
|
|||
|
||||
include if exists <local/kde-powerdevil>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -20,4 +20,6 @@ profile kde-systemd-start-condition @{exec_path} {
|
|||
owner @{user_config_dirs}/plasma-welcomerc r,
|
||||
|
||||
include if exists <local/kde-systemd-start-condition>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -175,3 +175,5 @@ profile kded @{exec_path} {
|
|||
|
||||
include if exists <local/kded>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -27,3 +27,5 @@ profile kglobalacceld @{exec_path} {
|
|||
|
||||
include if exists <local/kglobalacceld>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -22,4 +22,6 @@ profile kio_http_cache_cleaner @{exec_path} {
|
|||
owner @{run}/user/@{uid}/kio_http_cache_cleaner rw,
|
||||
|
||||
include if exists <local/kio_http_cache_cleaner>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -32,4 +32,6 @@ profile kiod @{exec_path} {
|
|||
/dev/tty r,
|
||||
|
||||
include if exists <local/kiod>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -99,3 +99,5 @@ profile kioworker @{exec_path} {
|
|||
|
||||
include if exists <local/kioworker>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -69,3 +69,5 @@ profile konsole @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
|||
|
||||
include if exists <local/konsole>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -25,4 +25,6 @@ profile kreadconfig @{exec_path} {
|
|||
owner @{user_config_dirs}/kdeglobals r,
|
||||
|
||||
include if exists <local/kreadconfig>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -17,4 +17,6 @@ profile kscreen_backend_launcher @{exec_path} {
|
|||
/dev/tty r,
|
||||
|
||||
include if exists <local/kscreen_backend_launcher>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -17,4 +17,6 @@ profile kscreen_osd_service @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/kscreen_osd_service>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -107,3 +107,5 @@ profile kscreenlocker_greet @{exec_path} {
|
|||
|
||||
include if exists <local/kscreenlocker_greet>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -71,3 +71,5 @@ profile ksmserver @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
|||
|
||||
include if exists <local/ksmserver>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -58,3 +58,5 @@ profile ksmserver-logout-greeter @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/ksmserver-logout-greeter>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -34,3 +34,5 @@ profile ksplashqml @{exec_path} {
|
|||
|
||||
include if exists <local/ksplashqml>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -30,3 +30,5 @@ profile kstart @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/kstart>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -63,3 +63,5 @@ profile kwalletd @{exec_path} {
|
|||
|
||||
include if exists <local/kwalletd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -50,3 +50,5 @@ profile kwalletmanager @{exec_path} {
|
|||
|
||||
include if exists <local/kwalletmanager>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -133,3 +133,5 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
|
|||
|
||||
include if exists <local/kwin_wayland>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -23,3 +23,5 @@ profile kwin_wayland_wrapper @{exec_path} {
|
|||
|
||||
include if exists <local/kwin_wayland_wrapper>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -68,3 +68,5 @@ profile kwin_x11 @{exec_path} {
|
|||
|
||||
include if exists <local/kwin_x11>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -63,3 +63,5 @@ profile okular @{exec_path} {
|
|||
|
||||
include if exists <local/okular>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -19,4 +19,6 @@ profile pam_kwallet_init @{exec_path} {
|
|||
/dev/tty rw,
|
||||
|
||||
include if exists <local/pam_kwallet_init>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@ profile plasma-browser-integration-host @{exec_path} {
|
|||
|
||||
include if exists <local/plasma-browser-integration-host>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -115,4 +115,6 @@ profile plasma-discover @{exec_path} {
|
|||
}
|
||||
|
||||
include if exists <local/plasma-discover>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -22,4 +22,6 @@ profile plasma-emojier @{exec_path} {
|
|||
owner @{user_config_dirs}/plasma.emojierrc.lock rwk,
|
||||
|
||||
include if exists <local/plasma-emojier>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -46,4 +46,6 @@ profile plasma_session @{exec_path} {
|
|||
owner @{user_config_dirs}/plasma-welcomerc r,
|
||||
|
||||
include if exists <local/plasma_session>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -14,4 +14,6 @@ profile plasma_waitforname @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/plasma_waitforname>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -206,3 +206,5 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
|
|||
|
||||
include if exists <local/plasmashell>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -225,3 +225,5 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
|||
|
||||
include if exists <local/sddm>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -73,3 +73,5 @@ profile sddm-greeter @{exec_path} {
|
|||
|
||||
include if exists <local/sddm-greeter>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -133,3 +133,5 @@ profile sddm-xsession @{exec_path} {
|
|||
|
||||
include if exists <local/sddm-xsession>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -85,3 +85,5 @@ profile startplasma @{exec_path} {
|
|||
|
||||
include if exists <local/startplasma>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -79,4 +79,6 @@ profile systemsettings @{exec_path} {
|
|||
/dev/tty r,
|
||||
|
||||
include if exists <local/systemsettings>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -20,4 +20,6 @@ profile utempter @{exec_path} flags=(attach_disconnected) {
|
|||
/dev/ptmx rw,
|
||||
|
||||
include if exists <local/utempter>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -27,4 +27,6 @@ profile wayland-session @{exec_path} {
|
|||
/dev/tty rw,
|
||||
|
||||
include if exists <local/wayland-session>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -24,3 +24,5 @@ profile xembedsniproxy @{exec_path} {
|
|||
|
||||
include if exists <local/xembedsniproxy>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -22,3 +22,5 @@ profile xsettingsd @{exec_path} {
|
|||
|
||||
include if exists <local/xsettingsd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -21,4 +21,6 @@ profile xwaylandvideobridge @{exec_path} {
|
|||
owner @{user_cache_dirs}/xwaylandvideobridge/** rwk,
|
||||
|
||||
include if exists <local/xwaylandvideobridge>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue