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
|
|
@ -50,3 +50,5 @@ profile child-dpkg {
|
|||
|
||||
include if exists <local/child-dpkg>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -31,3 +31,5 @@ profile child-dpkg-divert {
|
|||
|
||||
include if exists <local/child-dpkg-divert>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -79,3 +79,5 @@ profile child-modprobe-nvidia flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/child-modprobe-nvidia>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -27,3 +27,5 @@ profile child-open {
|
|||
include if exists <usr/child-open.d>
|
||||
include if exists <local/child-open>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -24,3 +24,5 @@ profile child-open-browsers {
|
|||
include if exists <usr/child-open-browsers.d>
|
||||
include if exists <local/child-open-browsers>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -16,3 +16,5 @@ profile child-open-help {
|
|||
include if exists <usr/child-open-help.d>
|
||||
include if exists <local/child-open-help>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -21,3 +21,5 @@ profile child-open-strict {
|
|||
include if exists <usr/child-open-strict.d>
|
||||
include if exists <local/child-open-strict>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -37,3 +37,5 @@ profile child-pager {
|
|||
|
||||
include if exists <local/child-pager>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -48,3 +48,5 @@ profile child-systemctl flags=(attach_disconnected) {
|
|||
|
||||
include if exists <local/child-systemctl>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -27,3 +27,5 @@ profile user_confined flags=(complain) {
|
|||
|
||||
include if exists <local/user_confined>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -27,4 +27,6 @@ profile user_default flags=(complain) {
|
|||
@{PROC}/** r,
|
||||
|
||||
include if exists <local/user_default>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -22,3 +22,5 @@ profile user_unconfined flags=(attach_disconnected,mediate_deleted) {
|
|||
|
||||
include if exists <local/user_unconfined>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue