feat(abs): add udevadm app abstraction.
This commit is contained in:
parent
39bfa9a40b
commit
035e1da7b2
14 changed files with 51 additions and 178 deletions
|
|
@ -132,24 +132,10 @@ profile gpartedbin @{exec_path} {
|
|||
|
||||
profile udevadm {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/udevadm>
|
||||
include <abstractions/disks-write>
|
||||
|
||||
ptrace (read),
|
||||
|
||||
@{bin}/udevadm mr,
|
||||
|
||||
/etc/udev/udev.conf r,
|
||||
|
||||
@{PROC}/1/environ r,
|
||||
@{PROC}/1/sched r,
|
||||
@{PROC}/cmdline r,
|
||||
@{PROC}/sys/kernel/osrelease r,
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
|
||||
/dev/mapper/control rw,
|
||||
|
||||
include if exists <local/gpartedbin_udevadm>
|
||||
}
|
||||
|
||||
include if exists <local/gpartedbin>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue