Small fixes.

This commit is contained in:
Alexandre Pujol 2021-05-16 21:11:55 +01:00
parent a4fe3209c9
commit 420aebcfa5
Failed to generate hash of commit
5 changed files with 7 additions and 5 deletions

View file

@ -190,6 +190,7 @@ profile firefox @{exec_path} {
# file_inherit # file_inherit
owner /dev/tty[0-9]* rw, owner /dev/tty[0-9]* rw,
/dev/dri/card[0-9]* rw,
/etc/opensc.conf r, /etc/opensc.conf r,

View file

@ -15,6 +15,7 @@ profile xwayland @{exec_path} flags=(attach_disconnected) {
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
signal (receive) set=(term hup) peer=gdm*, signal (receive) set=(term hup) peer=gdm*,
signal (receive) set=(term hup) peer=gnome-shell,
@{exec_path} mrix, @{exec_path} mrix,

View file

@ -11,6 +11,9 @@ profile fsck @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/disks-read> include <abstractions/disks-read>
capability dac_override,
capability dac_read_search,
@{exec_path} mr, @{exec_path} mr,
/{usr/,}{s,}bin/e2fsck rPx, /{usr/,}{s,}bin/e2fsck rPx,

View file

@ -64,12 +64,8 @@ profile openbox @{exec_path} {
# Apps allowed to run # Apps allowed to run
/{usr/,}sbin/* rPUx, /{usr/,}sbin/* rPUx,
/{usr/,}bin/* rPUx, /{usr/,}bin/* rPUx,
<<<<<<< HEAD:apparmor.d/profiles-m-z/openbox
/usr/{lib,libexec}/* rPUx,
=======
/usr/local/bin/* rPUx, /usr/local/bin/* rPUx,
/usr/libexec/* rPUx, /usr/{lib,libexec}/* rPUx,
>>>>>>> ff78b17 (update apparmor profiles):apparmor.d/openbox
/{usr/,}lib/@{multiarch}/*/** rPUx, /{usr/,}lib/@{multiarch}/*/** rPUx,
/usr/local/lib/python*/dist-packages/ r, /usr/local/lib/python*/dist-packages/ r,

View file

@ -62,6 +62,7 @@ profile virt-manager @{exec_path} {
#owner /var/lib/libvirt/images/ r, #owner /var/lib/libvirt/images/ r,
# User VM images # User VM images
owner @{user_share_dirs}/ r,
owner @{user_share_dirs}/libvirt/{,**} rw, owner @{user_share_dirs}/libvirt/{,**} rw,
owner @{HOME}/@{XDG_VM_DIR}/{,**} rw, owner @{HOME}/@{XDG_VM_DIR}/{,**} rw,
owner @{MOUNTS}/*/@{XDG_VM_DIR}/{,**} rw, owner @{MOUNTS}/*/@{XDG_VM_DIR}/{,**} rw,