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
@ -50,7 +50,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
|
|||||||
interface=org.freedesktop.PolicyKit[0-9].Authority
|
interface=org.freedesktop.PolicyKit[0-9].Authority
|
||||||
member=CheckAuthorization,
|
member=CheckAuthorization,
|
||||||
|
|
||||||
dbus bind bus=system
|
dbus bind bus=system
|
||||||
name=org.freedesktop.UDisks2,
|
name=org.freedesktop.UDisks2,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
@ -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