mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
pass: Use editor abstraction
This commit is contained in:
parent
a291ce373a
commit
ce329175da
1 changed files with 1 additions and 11 deletions
|
@ -75,22 +75,12 @@ profile pass @{exec_path} {
|
||||||
profile editor {
|
profile editor {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/app/editor>
|
||||||
|
|
||||||
@{bin}/vim{,.*} mrix,
|
|
||||||
|
|
||||||
/etc/vim/{,**} r,
|
|
||||||
/etc/vimrc r,
|
|
||||||
/usr/share/terminfo/** r,
|
|
||||||
/usr/share/vim/{,**} r,
|
|
||||||
/tmp/ r,
|
/tmp/ r,
|
||||||
|
|
||||||
owner @{HOME}/.viminf{o,z}{,.tmp} rw,
|
|
||||||
|
|
||||||
owner @{user_password_store_dirs}/{,**/} r,
|
owner @{user_password_store_dirs}/{,**/} r,
|
||||||
|
|
||||||
owner @{user_cache_dirs}/vim/{,**} rw,
|
|
||||||
owner @{user_config_dirs}/vim/{,**} rw,
|
|
||||||
owner /dev/shm/pass.*/{,*} rw,
|
owner /dev/shm/pass.*/{,*} rw,
|
||||||
|
|
||||||
deny owner @{HOME}/ r,
|
deny owner @{HOME}/ r,
|
||||||
|
|
Loading…
Reference in a new issue