Update and move abstractions/editor to abstractions/app/editor
This commit is contained in:
parent
eb32db16c6
commit
479d04abac
1 changed files with 1 additions and 2 deletions
28
apparmor.d/abstractions/app/editor
Normal file
28
apparmor.d/abstractions/app/editor
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Zane Zakraisek <zz@eng.utah.edu>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{bin}/sensible-editor mr,
|
||||
@{bin}/vim mrix,
|
||||
@{bin}/vim.* mrix,
|
||||
@{sh_path} rix,
|
||||
@{bin}/which{,.debianutils} rix,
|
||||
|
||||
/usr/share/vim/{,**} r,
|
||||
/usr/share/terminfo/** r,
|
||||
|
||||
/etc/vimrc r,
|
||||
/etc/vim/{,**} r,
|
||||
|
||||
owner @{HOME}/.selected_editor r,
|
||||
owner @{HOME}/.viminfo{,.tmp} rw,
|
||||
owner @{HOME}/.vimrc r,
|
||||
|
||||
# Vim swap file
|
||||
owner @{HOME}/ r,
|
||||
owner @{user_cache_dirs}/ r,
|
||||
owner @{user_cache_dirs}/vim/** wr,
|
||||
|
||||
include if exists <abstractions/app/editor.d>
|
||||
Loading…
Add table
Add a link
Reference in a new issue