mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
Small fixes.
This commit is contained in:
parent
a4fe3209c9
commit
420aebcfa5
5 changed files with 7 additions and 5 deletions
|
@ -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,
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue