refactor(profiles): use @{bin} and @{lib} in profiles (5)
This commit is contained in:
parent
43b0f09b65
commit
fcedbbfd95
122 changed files with 873 additions and 876 deletions
|
|
@ -6,20 +6,20 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/kvm-ok
|
||||
@{exec_path} = @{bin}/kvm-ok
|
||||
profile kvm-ok @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}bin/uname rix,
|
||||
/{usr/,}bin/{,e}grep rix,
|
||||
/{usr/,}bin/id rix,
|
||||
@{bin}/uname rix,
|
||||
@{bin}/{,e}grep rix,
|
||||
@{bin}/id rix,
|
||||
|
||||
/{usr/,}bin/kmod rCx -> kmod,
|
||||
@{bin}/kmod rCx -> kmod,
|
||||
|
||||
/{usr/,}{s,}bin/rdmsr rPx,
|
||||
@{bin}/rdmsr rPx,
|
||||
|
||||
#/proc/cpuinfo r,
|
||||
#/dev/kvm r,
|
||||
|
|
@ -32,12 +32,12 @@ profile kvm-ok @{exec_path} {
|
|||
profile kmod {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/kmod mr,
|
||||
@{bin}/kmod mr,
|
||||
|
||||
/etc/modprobe.d/ r,
|
||||
/etc/modprobe.d/*.conf r,
|
||||
/{usr/,}lib/modprobe.d/ r,
|
||||
/{usr/,}lib/modprobe.d/*.conf r,
|
||||
@{lib}/modprobe.d/ r,
|
||||
@{lib}/modprobe.d/*.conf r,
|
||||
|
||||
@{PROC}/cmdline r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue