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:
Alexandre Pujol 2024-10-14 15:56:40 +01:00
commit e3cb81f261
Failed to generate hash of commit
2 changed files with 6 additions and 1 deletions

View file

@ -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,

View file

@ -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>