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
|
|
@ -7,8 +7,8 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/{kmod,lsmod}
|
||||
@{exec_path} += /{usr/,}{s,}bin/{depmod,insmod,lsmod,rmmod,modinfo,modprobe}
|
||||
@{exec_path} = @{bin}/{kmod,lsmod}
|
||||
@{exec_path} += @{bin}/{depmod,insmod,lsmod,rmmod,modinfo,modprobe}
|
||||
profile kmod @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -25,15 +25,15 @@ profile kmod @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mrix,
|
||||
|
||||
/{usr/,}{s,}bin/sysctl rPx,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/basename rix,
|
||||
/{usr/,}bin/false rix,
|
||||
/{usr/,}bin/id rix,
|
||||
/{usr/,}bin/true rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/basename rix,
|
||||
@{bin}/false rix,
|
||||
@{bin}/id rix,
|
||||
@{bin}/sysctl rPx,
|
||||
@{bin}/true rix,
|
||||
|
||||
/{usr/,}lib/modprobe.d/{,*.conf} r,
|
||||
/{usr/,}lib/modules/*/modules.* rw,
|
||||
@{lib}/modprobe.d/{,*.conf} r,
|
||||
@{lib}/modules/*/modules.* rw,
|
||||
|
||||
/etc/depmod.d/{,**} r,
|
||||
/etc/modprobe.d/{,*.conf} r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue