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

This commit is contained in:
Alexandre Pujol 2023-07-09 14:34:42 +01:00
parent 43b0f09b65
commit fcedbbfd95
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
122 changed files with 873 additions and 876 deletions

View file

@ -6,30 +6,30 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/localepurge
@{exec_path} = @{bin}/localepurge
profile localepurge @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} r,
/{usr/,}bin/{,ba,da}sh rix,
@{bin}/{,ba,da}sh rix,
/{usr/,}bin/fgrep rix,
/{usr/,}bin/chmod rix,
/{usr/,}bin/mkdir rix,
/{usr/,}bin/touch rix,
/{usr/,}bin/ls rix,
/{usr/,}bin/{,e}grep rix,
/{usr/,}bin/sort rix,
/{usr/,}bin/mv rix,
/{usr/,}bin/rm rix,
/{usr/,}bin/tr rix,
/{usr/,}bin/du rix,
/{usr/,}bin/xargs rix,
/{usr/,}bin/basename rix,
/{usr/,}bin/find rix,
@{bin}/fgrep rix,
@{bin}/chmod rix,
@{bin}/mkdir rix,
@{bin}/touch rix,
@{bin}/ls rix,
@{bin}/{,e}grep rix,
@{bin}/sort rix,
@{bin}/mv rix,
@{bin}/rm rix,
@{bin}/tr rix,
@{bin}/du rix,
@{bin}/xargs rix,
@{bin}/basename rix,
@{bin}/find rix,
/{usr/,}bin/df rPx,
@{bin}/df rPx,
owner @{PROC}/@{pid}/fd/ r,