mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
editor abstraction: minor additions
Add any one-off rules covered in the other editor profiles before converting those to the abstraction.
This commit is contained in:
parent
f86b305a66
commit
4256e11492
1 changed files with 4 additions and 4 deletions
|
@ -5,8 +5,7 @@
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
@{bin}/sensible-editor mr,
|
@{bin}/sensible-editor mr,
|
||||||
@{bin}/vim mrix,
|
@{bin}/vim{,.*} mrix,
|
||||||
@{bin}/vim.* mrix,
|
|
||||||
@{sh_path} rix,
|
@{sh_path} rix,
|
||||||
@{bin}/which{,.debianutils} rix,
|
@{bin}/which{,.debianutils} rix,
|
||||||
|
|
||||||
|
@ -17,12 +16,13 @@
|
||||||
/etc/vim/{,**} r,
|
/etc/vim/{,**} r,
|
||||||
|
|
||||||
owner @{HOME}/.selected_editor r,
|
owner @{HOME}/.selected_editor r,
|
||||||
owner @{HOME}/.viminfo{,.tmp} rw,
|
owner @{HOME}/.viminf@{c}{,.tmp} rw,
|
||||||
owner @{HOME}/.vimrc r,
|
owner @{HOME}/.vimrc r,
|
||||||
|
|
||||||
# Vim swap file
|
# Vim swap file
|
||||||
owner @{HOME}/ r,
|
owner @{HOME}/ r,
|
||||||
owner @{user_cache_dirs}/ r,
|
owner @{user_cache_dirs}/ r,
|
||||||
owner @{user_cache_dirs}/vim/** wr,
|
owner @{user_cache_dirs}/vim/{,**} rw,
|
||||||
|
owner @{user_config_dirs}/vim/{,**} r,
|
||||||
|
|
||||||
include if exists <abstractions/app/editor.d>
|
include if exists <abstractions/app/editor.d>
|
||||||
|
|
Loading…
Reference in a new issue