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

This commit is contained in:
Alexandre Pujol 2023-07-09 14:46:56 +01:00
parent fcedbbfd95
commit 7c2c806ffa
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
156 changed files with 828 additions and 791 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/molly-guard/molly-guard
@{exec_path} = @{lib}/molly-guard/molly-guard
profile molly-guard @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@ -17,13 +17,13 @@ profile molly-guard @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/hostname rix,
/{usr/,}bin/{,e,p}grep rix,
/{usr/,}bin/run-parts rix,
/{usr/,}bin/systemctl rPx -> child-systemctl,
/{usr/,}bin/tr rix,
/{usr/,}bin/tty rix,
@{bin}/{,ba,da}sh rix,
@{bin}/hostname rix,
@{bin}/{,e,p}grep rix,
@{bin}/run-parts rix,
@{bin}/systemctl rPx -> child-systemctl,
@{bin}/tr rix,
@{bin}/tty rix,
/etc/molly-guard/{,**} r,
/etc/molly-guard/run.d/* rix,