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:
parent
db82b64051
commit
4d707633a1
199 changed files with 449 additions and 51 deletions
|
|
@ -79,3 +79,5 @@ profile accounts-daemon @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/accounts-daemon>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -77,3 +77,5 @@ profile colord @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/colord>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -18,3 +18,5 @@ profile colord-session @{exec_path} {
|
|||
|
||||
include if exists <local/colord-session>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -56,3 +56,5 @@ profile cpupower @{exec_path} {
|
|||
|
||||
include if exists <local/cpupower>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -29,3 +29,5 @@ profile dconf @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/dconf>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -26,3 +26,5 @@ profile dconf-editor @{exec_path} {
|
|||
|
||||
include if exists <local/dconf-editor>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@ profile dconf-service @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/dconf-service>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -13,4 +13,6 @@ profile desktop-file-install @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/desktop-file-install>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -32,3 +32,5 @@ profile fc-cache @{exec_path} {
|
|||
|
||||
include if exists <local/fc-cache>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -19,3 +19,5 @@ profile fc-list @{exec_path} {
|
|||
|
||||
include if exists <local/fc-list>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -48,3 +48,5 @@ profile geoclue @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/geoclue>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -36,4 +36,6 @@ profile iio-sensor-proxy @{exec_path} {
|
|||
/dev/iio:* r,
|
||||
|
||||
include if exists <local/iio-sensor-proxy>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -74,3 +74,5 @@ profile pipewire @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/pipewire>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -68,3 +68,5 @@ profile pipewire-media-session @{exec_path} {
|
|||
|
||||
include if exists <local/pipewire-media-session>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -41,3 +41,5 @@ profile pipewire-pulse @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/pipewire-pulse>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -20,4 +20,6 @@ profile plymouth @{exec_path} {
|
|||
@{PROC}/cmdline r,
|
||||
|
||||
include if exists <local/plymouth>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -71,3 +71,5 @@ profile plymouthd @{exec_path} {
|
|||
|
||||
include if exists <local/plymouthd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -54,3 +54,5 @@ profile polkit-agent-helper @{exec_path} {
|
|||
|
||||
include if exists <local/polkit-agent-helper>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -21,3 +21,5 @@ profile polkit-gnome-authentication-agent @{exec_path} {
|
|||
|
||||
include if exists <local/polkit-gnome-authentication-agent>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -41,3 +41,5 @@ profile polkit-mate-authentication-agent @{exec_path} {
|
|||
|
||||
include if exists <local/polkit-mate-authentication-agent>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -72,3 +72,5 @@ profile polkitd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/polkitd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -118,3 +118,5 @@ profile pulseaudio @{exec_path} {
|
|||
|
||||
include if exists <local/pulseaudio>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -40,3 +40,5 @@ profile update-desktop-database @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/update-desktop-database>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -32,3 +32,5 @@ profile update-mime-database @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/update-mime-database>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -18,3 +18,5 @@ profile upower @{exec_path} {
|
|||
|
||||
include if exists <local/upower>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -60,3 +60,5 @@ profile upowerd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/upowerd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@ profile xdg-dbus-proxy @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xdg-dbus-proxy>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -13,4 +13,6 @@ profile xdg-desktop-icon @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/xdg-desktop-icon>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -44,3 +44,5 @@ profile xdg-desktop-menu @{exec_path} flags=(complain) {
|
|||
|
||||
include if exists <local/xdg-desktop-menu>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -100,3 +100,5 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xdg-desktop-portal>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -65,3 +65,5 @@ profile xdg-desktop-portal-gtk @{exec_path} {
|
|||
|
||||
include if exists <local/xdg-desktop-portal-gtk>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@ profile xdg-desktop-portal-kde @{exec_path} {
|
|||
|
||||
include if exists <local/xdg-desktop-portal-kde>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -88,3 +88,5 @@ profile xdg-document-portal @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xdg-document-portal>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -32,3 +32,5 @@ profile xdg-email @{exec_path} flags=(complain) {
|
|||
|
||||
include if exists <local/xdg-email>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -43,3 +43,5 @@ profile xdg-icon-resource @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xdg-icon-resource>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -77,3 +77,5 @@ profile xdg-mime @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xdg-mime>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -59,3 +59,5 @@ profile xdg-open @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xdg-open>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -49,3 +49,5 @@ profile xdg-permission-store @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xdg-permission-store>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@ profile xdg-screensaver @{exec_path} {
|
|||
|
||||
include if exists <local/xdg-screensaver>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -66,3 +66,5 @@ profile xdg-settings @{exec_path} {
|
|||
|
||||
include if exists <local/xdg-settings>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -43,3 +43,5 @@ profile xdg-user-dirs-update @{exec_path} {
|
|||
|
||||
include if exists <local/xdg-user-dirs-update>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -22,3 +22,5 @@ profile xhost @{exec_path} {
|
|||
|
||||
include if exists <local/xhost>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -43,3 +43,5 @@ profile xkbcomp @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xkbcomp>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -134,3 +134,5 @@ profile xorg @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xorg>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -17,3 +17,5 @@ profile xprop @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xprop>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -18,3 +18,5 @@ profile xrandr @{exec_path} {
|
|||
|
||||
include if exists <local/xrandr>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -57,3 +57,5 @@ profile xrdb @{exec_path} {
|
|||
include if exists <local/xrdb>
|
||||
}
|
||||
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -28,3 +28,5 @@ profile xset @{exec_path} {
|
|||
|
||||
include if exists <local/xset>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -33,3 +33,5 @@ profile xsetroot @{exec_path} {
|
|||
|
||||
include if exists <local/xsetroot>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -38,3 +38,5 @@ profile xwayland @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/xwayland>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue