feat(groups/{u,v,w,x}*): vim syntax support

Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #395 to keep the diff list relatively short.
This commit is contained in:
REmerald 2024-06-16 17:28:45 +03:00 committed by Alex
parent f1a0349978
commit 68d1222029
126 changed files with 348 additions and 96 deletions

View file

@ -26,4 +26,6 @@ profile mousepad @{exec_path} {
owner @{user_share_dirs}/Mousepad/** rwk,
include if exists <local/mousepad>
}
}
# vim:syntax=apparmor

View file

@ -30,4 +30,6 @@ profile ristretto @{exec_path} {
deny @{user_share_dirs}/gvfs-metadata/* r,
include if exists <local/ristretto>
}
}
# vim:syntax=apparmor

View file

@ -45,4 +45,6 @@ profile startxfce @{exec_path} {
}
include if exists <local/startxfce>
}
}
# vim:syntax=apparmor

View file

@ -62,4 +62,6 @@ profile thunar @{exec_path} {
}
include if exists <local/thunar>
}
}
# vim:syntax=apparmor

View file

@ -26,4 +26,6 @@ profile thunar-volman @{exec_path} {
owner @{PROC}/@{pid}/mountinfo r,
include if exists <local/thunar-volman>
}
}
# vim:syntax=apparmor

View file

@ -26,4 +26,6 @@ profile tumblerd @{exec_path} {
/dev/ r,
include if exists <local/tumblerd>
}
}
# vim:syntax=apparmor

View file

@ -18,4 +18,6 @@ profile xfce-about @{exec_path} {
@{open_path} rPx -> child-open-help,
include if exists <local/xfce-about>
}
}
# vim:syntax=apparmor

View file

@ -21,4 +21,6 @@ profile xfce-appfinder @{exec_path} {
owner @{user_cache_dirs}/xfce4/appfinder/{,**} rw,
include if exists <local/xfce-appfinder>
}
}
# vim:syntax=apparmor

View file

@ -20,4 +20,6 @@ profile xfce-clipman-settings @{exec_path} {
owner @{user_config_dirs}/xfce4/panel/xfce4-clipman-actions.xml rw,
include if exists <local/xfce-clipman-settings>
}
}
# vim:syntax=apparmor

View file

@ -18,4 +18,6 @@ profile xfce-dict @{exec_path} {
owner @{user_config_dirs}/xfce4-dict/{,**} rw,
include if exists <local/xfce-dict>
}
}
# vim:syntax=apparmor

View file

@ -14,4 +14,6 @@ profile xfce-mime-helper @{exec_path} {
@{exec_path} mr,
include if exists <local/xfce-mime-helper>
}
}
# vim:syntax=apparmor

View file

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

View file

@ -52,4 +52,6 @@ profile xfce-panel @{exec_path} {
}
include if exists <local/xfce-panel>
}
}
# vim:syntax=apparmor

View file

@ -24,4 +24,6 @@ profile xfce-power-manager @{exec_path} flags=(attach_disconnected) {
@{run}/systemd/inhibit/*.ref rw,
include if exists <local/xfce-power-manager>
}
}
# vim:syntax=apparmor

View file

@ -28,4 +28,6 @@ profile xfce-screensaver @{exec_path} flags=(attach_disconnected) {
@{run}/systemd/inhibit/*.ref rw,
include if exists <local/xfce-screensaver>
}
}
# vim:syntax=apparmor

View file

@ -29,4 +29,6 @@ profile xfce-sensors @{exec_path} {
@{sys}/devices/virtual/thermal/thermal_zone@{int}/temp r,
include if exists <local/xfce-sensors>
}
}
# vim:syntax=apparmor

View file

@ -74,4 +74,6 @@ profile xfce-session @{exec_path} flags=(attach_disconnected) {
}
include if exists <local/xfce-session>
}
}
# vim:syntax=apparmor

View file

@ -44,4 +44,6 @@ profile xfce-terminal @{exec_path} {
/dev/ptmx rw,
include if exists <local/xfce-terminal>
}
}
# vim:syntax=apparmor

View file

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

View file

@ -32,4 +32,6 @@ profile xfdesktop @{exec_path} {
deny @{user_share_dirs}/gvfs-metadata/{,*} r,
include if exists <local/xfdesktop>
}
}
# vim:syntax=apparmor

View file

@ -25,4 +25,6 @@ profile xfpm-power-backlight-helper @{exec_path} {
@{sys}/devices/@{pci}/intel_backlight/type r,
include if exists <local/xfpm-power-backlight-helper>
}
}
# vim:syntax=apparmor

View file

@ -19,4 +19,6 @@ profile xfsettingsd @{exec_path} {
owner @{PROC}/@{pid}/cgroup r,
include if exists <local/xfsettingsd>
}
}
# vim:syntax=apparmor

View file

@ -24,4 +24,6 @@ profile xfwm @{exec_path} {
owner @{user_cache_dirs}/sessions/xfwm4-*.state rw,
include if exists <local/xfwm>
}
}
# vim:syntax=apparmor