mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
read all block devices
This commit is contained in:
parent
c680dfe7db
commit
be2a66afff
@ -50,7 +50,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
|
||||
interface=org.freedesktop.PolicyKit[0-9].Authority
|
||||
member=CheckAuthorization,
|
||||
|
||||
dbus bind bus=system
|
||||
dbus bind bus=system
|
||||
name=org.freedesktop.UDisks2,
|
||||
|
||||
@{exec_path} mr,
|
||||
@ -130,8 +130,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
|
||||
@{sys}/class/ r,
|
||||
|
||||
@{sys}/devices/pci[0-9]*/**/{ata,usb,mmc}[0-9]/{,**/}uevent w,
|
||||
@{sys}/devices/virtual/block/dm-[0-9]*/ w,
|
||||
@{sys}/devices/virtual/block/dm-[0-9]*/** w,
|
||||
@{sys}/devices/virtual/block/*/** r,
|
||||
@{sys}/devices/virtual/block/loop[0-9]*/uevent rw,
|
||||
|
||||
# For powering off USB devices
|
||||
|
Loading…
Reference in New Issue
Block a user