feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-07-19 19:22:32 +01:00
parent d05c9b9276
commit aaf435ece1
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
8 changed files with 21 additions and 31 deletions

View file

@ -10,6 +10,7 @@ include <tunables/global>
profile os-prober @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/disks-read>
capability dac_read_search,
capability sys_admin,
@ -59,11 +60,12 @@ profile os-prober @{exec_path} flags=(attach_disconnected) {
/ r,
/boot/{efi/,} r,
/boot/{efi/,}EFI/ r,
/boot/{efi/,}EFI/*/ r,
/boot/{efi/,}EFI/**/ r,
owner @{tmp}/os-prober.*/{,**} rw,
@{sys}/block/ r,
@{run}/mount/utab r,
@{sys}/devices/@{pci}/block/*/ r,
@{sys}/devices/virtual/block/*/ r,