feat(profile): include more rule from #94.
This commit is contained in:
parent
7c4c48f4c3
commit
2431ba98aa
27 changed files with 119 additions and 8 deletions
|
|
@ -16,27 +16,45 @@ profile os-prober @{exec_path} flags=(attach_disconnected) {
|
|||
@{exec_path} mrix,
|
||||
|
||||
/{usr/,}{s,}bin/blkid rPx,
|
||||
/{usr/,}{s,}bin/dmraid rPUx,
|
||||
/{usr/,}{s,}bin/lvm rPx,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/{e,f,}grep rix,
|
||||
/{usr/,}bin/cut rix,
|
||||
/{usr/,}bin/find rix,
|
||||
/{usr/,}bin/grub-mount rPx,
|
||||
/{usr/,}bin/grub-probe rPx,
|
||||
/{usr/,}bin/head rix,
|
||||
/{usr/,}bin/kmod rPx,
|
||||
/{usr/,}bin/logger rix,
|
||||
/{usr/,}bin/ls rix,
|
||||
/{usr/,}bin/lsblk rPx,
|
||||
/{usr/,}bin/mkdir rix,
|
||||
/{usr/,}bin/mktemp rix,
|
||||
/{usr/,}bin/readlink rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}bin/rmdir rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/udevadm rPx,
|
||||
/{usr/,}bin/umount rix,
|
||||
/{usr/,}bin/uname rix,
|
||||
/{usr/,}lib/os-prober/* rix,
|
||||
/{usr/,}lib/os-probes/{,**} rix,
|
||||
|
||||
/usr/share/os-prober/common.sh r,
|
||||
|
||||
/var/lib/os-prober/{,**} rw,
|
||||
|
||||
/boot/ r,
|
||||
|
||||
owner /tmp/os-prober.*/{,**} rw,
|
||||
|
||||
@{sys}/block/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/block/*/ r,
|
||||
@{sys}/devices/virtual/block/*/ r,
|
||||
|
||||
@{PROC}/swaps r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
||||
include if exists <local/os-prober>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue