mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
fix(abs): some block device use more than int as identifier.
This commit is contained in:
parent
a3f21425e5
commit
8ea4491a56
@ -19,20 +19,20 @@
|
||||
@{sys}/devices/pci[0-9]*/**/{usb,ata}[0-9]/** r,
|
||||
|
||||
# SSD Nvme devices
|
||||
/dev/nvme* rk,
|
||||
/dev/nvme[0-9]* rk,
|
||||
@{sys}/devices/pci[0-9]*/**/nvme/nvme@{int}/{,**} r,
|
||||
|
||||
# SD card devices
|
||||
/dev/mmcblk@{int} rk,
|
||||
/dev/mmcblk@{int}p@{int} rk,
|
||||
/dev/mmcblk[0-9]* rk,
|
||||
/dev/mmcblk[0-9]*p@{int} rk,
|
||||
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/** r,
|
||||
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/** r,
|
||||
|
||||
# Loop devices
|
||||
/dev/loop@{int} rk,
|
||||
/dev/loop@{int}p@{int} rk,
|
||||
/dev/loop[0-9]* rk,
|
||||
/dev/loop[0-9]*p@{int} rk,
|
||||
@{sys}/devices/virtual/block/loop@{int}/ r,
|
||||
@{sys}/devices/virtual/block/loop@{int}/** r,
|
||||
|
||||
|
@ -19,20 +19,20 @@
|
||||
@{sys}/devices/pci[0-9]*/**/{usb,ata}[0-9]/** r,
|
||||
|
||||
# SSD Nvme devices
|
||||
/dev/nvme@{int} rwk,
|
||||
/dev/nvme[0-9]* rwk,
|
||||
@{sys}/devices/pci[0-9]*/**/nvme/nvme@{int}/{,**} r,
|
||||
|
||||
# SD card devices
|
||||
/dev/mmcblk@{int} rwk,
|
||||
/dev/mmcblk@{int}p@{int} rwk,
|
||||
/dev/mmcblk[0-9]* rwk,
|
||||
/dev/mmcblk[0-9]*p@{int} rwk,
|
||||
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/** r,
|
||||
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/** r,
|
||||
|
||||
# Loop devices
|
||||
/dev/loop@{int} rwk,
|
||||
/dev/loop@{int}p@{int} rwk,
|
||||
/dev/loop[0-9]* rwk,
|
||||
/dev/loop[0-9]*p@{int} rwk,
|
||||
@{sys}/devices/virtual/block/loop@{int}/ r,
|
||||
@{sys}/devices/virtual/block/loop@{int}/** r,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user