refactor(profiles): use @{bin} and @{lib} in profiles (1)
This commit is contained in:
parent
59469b57b4
commit
bb71f49598
125 changed files with 955 additions and 959 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/querybts
|
||||
@{exec_path} = @{bin}/querybts
|
||||
profile querybts @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/gtk>
|
||||
|
|
@ -26,16 +26,16 @@ profile querybts @{exec_path} {
|
|||
network netlink raw,
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/python3.[0-9]* r,
|
||||
@{bin}/python3.[0-9]* r,
|
||||
|
||||
/{usr/,}bin/ r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/stty rix,
|
||||
/{usr/,}{s,}bin/ldconfig rix,
|
||||
@{bin}/ r,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/stty rix,
|
||||
@{bin}/ldconfig rix,
|
||||
|
||||
/{usr/,}bin/xdg-open rCx -> open,
|
||||
@{bin}/xdg-open rCx -> open,
|
||||
|
||||
/{usr/,}bin/dpkg rPx -> child-dpkg,
|
||||
@{bin}/dpkg rPx -> child-dpkg,
|
||||
|
||||
/etc/reportbug.conf r,
|
||||
owner @{HOME}/.reportbugrc r,
|
||||
|
|
@ -56,26 +56,26 @@ profile querybts @{exec_path} {
|
|||
/etc/machine-id r,
|
||||
|
||||
# Allowed apps to open
|
||||
/{usr/,}lib/firefox/firefox rPUx,
|
||||
@{lib}/firefox/firefox rPUx,
|
||||
|
||||
|
||||
profile open {
|
||||
include <abstractions/base>
|
||||
include <abstractions/xdg-open>
|
||||
|
||||
/{usr/,}bin/xdg-open mr,
|
||||
@{bin}/xdg-open mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/{m,g,}awk rix,
|
||||
/{usr/,}bin/readlink rix,
|
||||
/{usr/,}bin/basename rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/{m,g,}awk rix,
|
||||
@{bin}/readlink rix,
|
||||
@{bin}/basename rix,
|
||||
|
||||
owner @{HOME}/ r,
|
||||
|
||||
owner @{run}/user/@{uid}/ r,
|
||||
|
||||
# Allowed apps to open
|
||||
/{usr/,}lib/firefox/firefox rPUx,
|
||||
@{lib}/firefox/firefox rPUx,
|
||||
|
||||
# file_inherit
|
||||
owner @{HOME}/.xsession-errors w,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue