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:
parent
f1a0349978
commit
68d1222029
126 changed files with 348 additions and 96 deletions
|
|
@ -26,4 +26,6 @@ profile mousepad @{exec_path} {
|
|||
owner @{user_share_dirs}/Mousepad/** rwk,
|
||||
|
||||
include if exists <local/mousepad>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -30,4 +30,6 @@ profile ristretto @{exec_path} {
|
|||
deny @{user_share_dirs}/gvfs-metadata/* r,
|
||||
|
||||
include if exists <local/ristretto>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -45,4 +45,6 @@ profile startxfce @{exec_path} {
|
|||
}
|
||||
|
||||
include if exists <local/startxfce>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -62,4 +62,6 @@ profile thunar @{exec_path} {
|
|||
}
|
||||
|
||||
include if exists <local/thunar>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -26,4 +26,6 @@ profile thunar-volman @{exec_path} {
|
|||
owner @{PROC}/@{pid}/mountinfo r,
|
||||
|
||||
include if exists <local/thunar-volman>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -26,4 +26,6 @@ profile tumblerd @{exec_path} {
|
|||
/dev/ r,
|
||||
|
||||
include if exists <local/tumblerd>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -18,4 +18,6 @@ profile xfce-about @{exec_path} {
|
|||
@{open_path} rPx -> child-open-help,
|
||||
|
||||
include if exists <local/xfce-about>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -14,4 +14,6 @@ profile xfce-mime-helper @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/xfce-mime-helper>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -29,3 +29,5 @@ profile xfce-notifyd @{exec_path} {
|
|||
|
||||
include if exists <local/xfce-notifyd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -52,4 +52,6 @@ profile xfce-panel @{exec_path} {
|
|||
}
|
||||
|
||||
include if exists <local/xfce-panel>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -74,4 +74,6 @@ profile xfce-session @{exec_path} flags=(attach_disconnected) {
|
|||
}
|
||||
|
||||
include if exists <local/xfce-session>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -44,4 +44,6 @@ profile xfce-terminal @{exec_path} {
|
|||
/dev/ptmx rw,
|
||||
|
||||
include if exists <local/xfce-terminal>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -25,3 +25,5 @@ profile xfconfd @{exec_path} {
|
|||
|
||||
include if exists <local/xfconfd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -32,4 +32,6 @@ profile xfdesktop @{exec_path} {
|
|||
deny @{user_share_dirs}/gvfs-metadata/{,*} r,
|
||||
|
||||
include if exists <local/xfdesktop>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -19,4 +19,6 @@ profile xfsettingsd @{exec_path} {
|
|||
owner @{PROC}/@{pid}/cgroup r,
|
||||
|
||||
include if exists <local/xfsettingsd>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -24,4 +24,6 @@ profile xfwm @{exec_path} {
|
|||
owner @{user_cache_dirs}/sessions/xfwm4-*.state rw,
|
||||
|
||||
include if exists <local/xfwm>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue