refactor(profiles): use @{bin} and @{lib} in profiles (7)

This commit is contained in:
Alexandre Pujol 2023-07-09 14:59:53 +01:00
parent 7c2c806ffa
commit 2b2c42d23c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
155 changed files with 938 additions and 938 deletions

View file

@ -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,