feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-11-03 21:40:01 +00:00
parent fabddee9d6
commit a90cdbe879
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
23 changed files with 97 additions and 35 deletions

View file

@ -7,15 +7,20 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/os-prober
profile os-prober @{exec_path} {
profile os-prober @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
capability sys_admin,
@{exec_path} mrix,
/{usr/,}{s,}bin/blkid rPx,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/{e,f,}grep rix,
/{usr/,}bin/cut rix,
/{usr/,}bin/head rix,
/{usr/,}bin/kmod rPx,
/{usr/,}bin/logger rix,
/{usr/,}bin/lsblk rPx,
/{usr/,}bin/mktemp rix,
@ -30,5 +35,8 @@ profile os-prober @{exec_path} {
owner /tmp/os-prober.*/{,**} rw,
@{sys}/block/ r,
@{sys}/devices/pci[0-9]*/**/block/*/ r,
include if exists <local/os-prober>
}