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
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/usb-devices
|
||||
@{exec_path} = @{bin}/usb-devices
|
||||
profile usb-devices @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -16,13 +16,13 @@ profile usb-devices @{exec_path} {
|
|||
deny capability dac_override,
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}bin/cat rix,
|
||||
/{usr/,}bin/cut rix,
|
||||
/{usr/,}bin/{,e}grep rix,
|
||||
/{usr/,}bin/basename rix,
|
||||
/{usr/,}bin/readlink rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/cut rix,
|
||||
@{bin}/{,e}grep rix,
|
||||
@{bin}/basename rix,
|
||||
@{bin}/readlink rix,
|
||||
|
||||
# For shell pwd
|
||||
/root/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue