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

This commit is contained in:
Alexandre Pujol 2023-07-09 14:59:53 +01:00
parent 7c2c806ffa
commit 2b2c42d23c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
155 changed files with 938 additions and 938 deletions

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/ytdl
@{exec_path} = @{bin}/ytdl
profile ytdl @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@ -25,11 +25,11 @@ profile ytdl @{exec_path} {
signal (receive) set=(term, kill),
@{exec_path} r,
/{usr/,}bin/python3.[0-9]* r,
@{bin}/python3.[0-9]* r,
/{usr/,}bin/ r,
/{usr/,}{s,}bin/ldconfig rix,
/{usr/,}bin/uname rix,
@{bin}/ r,
@{bin}/ldconfig rix,
@{bin}/uname rix,
/etc/mime.types r,