mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
read all block devices
This commit is contained in:
parent
c680dfe7db
commit
be2a66afff
@ -130,8 +130,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
|
|||||||
@{sys}/class/ r,
|
@{sys}/class/ r,
|
||||||
|
|
||||||
@{sys}/devices/pci[0-9]*/**/{ata,usb,mmc}[0-9]/{,**/}uevent w,
|
@{sys}/devices/pci[0-9]*/**/{ata,usb,mmc}[0-9]/{,**/}uevent w,
|
||||||
@{sys}/devices/virtual/block/dm-[0-9]*/ w,
|
@{sys}/devices/virtual/block/*/** r,
|
||||||
@{sys}/devices/virtual/block/dm-[0-9]*/** w,
|
|
||||||
@{sys}/devices/virtual/block/loop[0-9]*/uevent rw,
|
@{sys}/devices/virtual/block/loop[0-9]*/uevent rw,
|
||||||
|
|
||||||
# For powering off USB devices
|
# For powering off USB devices
|
||||||
|
Loading…
Reference in New Issue
Block a user