refactor(profiles): use @{bin} and @{lib} in profiles (6)
This commit is contained in:
parent
fcedbbfd95
commit
7c2c806ffa
156 changed files with 828 additions and 791 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/pimport
|
||||
@{exec_path} = @{bin}/pimport
|
||||
profile pass-import @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/python>
|
||||
|
|
@ -20,15 +20,15 @@ profile pass-import @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/ r,
|
||||
/{usr/,}bin/pass rPx,
|
||||
/{usr/,}{s,}bin/ldconfig rix,
|
||||
/{usr/,}bin/gcc rix, # TODO: Test deny
|
||||
/{usr/,}bin/ld rix,
|
||||
/{usr/,}bin/python3.[0-9]* rix,
|
||||
/{usr/,}lib/gcc/**/collect2 rix,
|
||||
@{bin}/ r,
|
||||
@{bin}/gcc rix, # TODO: Test deny
|
||||
@{bin}/ld rix,
|
||||
@{bin}/ldconfig rix,
|
||||
@{bin}/pass rPx,
|
||||
@{bin}/python3.[0-9]* rix,
|
||||
@{lib}/gcc/**/collect2 rix,
|
||||
|
||||
/{usr/,}lib/python{2.[4-7],3,3.[0-9]*}/** w, # TODO: Test deny
|
||||
@{lib}/python{2.[4-7],3,3.[0-9]*}/** w, # TODO: Test deny
|
||||
|
||||
/usr/share/file/misc/magic.mgc r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue