mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-27 07:27:24 +01:00
Merge branch 'main' of github.com:roddhjav/apparmor.d
* 'main' of github.com:roddhjav/apparmor.d: Vim; writing configuration files A fix for fwupdmgr
This commit is contained in:
commit
e3cb81f261
2 changed files with 6 additions and 1 deletions
|
@ -32,10 +32,14 @@ profile pacdiff @{exec_path} flags=(attach_disconnected) {
|
||||||
@{bin}/tput rix,
|
@{bin}/tput rix,
|
||||||
@{bin}/vim rix,
|
@{bin}/vim rix,
|
||||||
|
|
||||||
|
owner @{HOME}/.viminfo{,.tmp} rw,
|
||||||
|
|
||||||
|
owner @{user_cache_dirs}/vim/{,**} rw,
|
||||||
|
|
||||||
# packages files
|
# packages files
|
||||||
/ r,
|
/ r,
|
||||||
/boot/{,**} r,
|
/boot/{,**} r,
|
||||||
/etc/{,**} r,
|
/etc/{,**} rw,
|
||||||
/opt/{,**} r,
|
/opt/{,**} r,
|
||||||
/srv/{,**} r,
|
/srv/{,**} r,
|
||||||
/usr/{,**} r,
|
/usr/{,**} r,
|
||||||
|
|
|
@ -50,6 +50,7 @@ profile fwupdmgr @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
/dev/i2c-@{int} rw,
|
/dev/i2c-@{int} rw,
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
|
/dev/pts/@{int} rw,
|
||||||
|
|
||||||
profile bus flags=(attach_disconnected) {
|
profile bus flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
|
Loading…
Reference in a new issue