refactor(profiles): use @{bin} and @{lib} in profiles (7)
This commit is contained in:
parent
7c2c806ffa
commit
2b2c42d23c
155 changed files with 938 additions and 938 deletions
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/sensors-detect
|
||||
@{exec_path} = @{bin}/sensors-detect
|
||||
profile sensors-detect @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/perl>
|
||||
|
|
@ -15,7 +15,7 @@ profile sensors-detect @{exec_path} {
|
|||
capability syslog,
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/usr/bin/uname rix,
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ profile sensors-detect @{exec_path} {
|
|||
|
||||
ptrace (read),
|
||||
|
||||
/{usr/,}bin/udevadm mr,
|
||||
@{bin}/udevadm mr,
|
||||
|
||||
/etc/udev/udev.conf r,
|
||||
|
||||
|
|
@ -62,12 +62,12 @@ profile sensors-detect @{exec_path} {
|
|||
profile kmod {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/kmod mr,
|
||||
@{bin}/kmod mr,
|
||||
|
||||
@{PROC}/cmdline r,
|
||||
|
||||
/{usr/,}lib/modprobe.d/ r,
|
||||
/{usr/,}lib/modprobe.d/*.conf r,
|
||||
@{lib}/modprobe.d/ r,
|
||||
@{lib}/modprobe.d/*.conf r,
|
||||
/etc/modprobe.d/ r,
|
||||
/etc/modprobe.d/*.conf r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue