refactor(profiles): use @{bin} and @{lib} in profiles (4)
This commit is contained in:
parent
27daa7c9bb
commit
43b0f09b65
173 changed files with 909 additions and 916 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/anyremote
|
||||
@{exec_path} = @{bin}/anyremote
|
||||
profile anyremote @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -20,45 +20,45 @@ profile anyremote @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/cat rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}bin/{,e}grep rix,
|
||||
/{usr/,}bin/cut rix,
|
||||
/{usr/,}bin/id rix,
|
||||
/{usr/,}bin/mv rix,
|
||||
/{usr/,}bin/expr rix,
|
||||
/{usr/,}bin/which{,.debianutils} rix,
|
||||
/{usr/,}bin/head rix,
|
||||
/{usr/,}bin/wc rix,
|
||||
/{usr/,}bin/tr rix,
|
||||
/{usr/,}bin/mkdir rix,
|
||||
/{usr/,}bin/tail rix,
|
||||
/{usr/,}bin/{m,g,}awk rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/md5sum rix,
|
||||
/{usr/,}bin/basename rix,
|
||||
/{usr/,}bin/sleep rix,
|
||||
/{usr/,}bin/find rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/rm rix,
|
||||
@{bin}/{,e}grep rix,
|
||||
@{bin}/cut rix,
|
||||
@{bin}/id rix,
|
||||
@{bin}/mv rix,
|
||||
@{bin}/expr rix,
|
||||
@{bin}/which{,.debianutils} rix,
|
||||
@{bin}/head rix,
|
||||
@{bin}/wc rix,
|
||||
@{bin}/tr rix,
|
||||
@{bin}/mkdir rix,
|
||||
@{bin}/tail rix,
|
||||
@{bin}/{m,g,}awk rix,
|
||||
@{bin}/sed rix,
|
||||
@{bin}/md5sum rix,
|
||||
@{bin}/basename rix,
|
||||
@{bin}/sleep rix,
|
||||
@{bin}/find rix,
|
||||
|
||||
/{usr/,}bin/convert-im6.q16 rCx -> imagemagic,
|
||||
/{usr/,}bin/killall rCx -> killall,
|
||||
/{usr/,}bin/pgrep rCx -> pgrep,
|
||||
/{usr/,}lib/qt5/bin/qdbus rCx -> qdbus,
|
||||
/{usr/,}bin/curl rCx -> curl,
|
||||
@{bin}/convert-im6.q16 rCx -> imagemagic,
|
||||
@{bin}/killall rCx -> killall,
|
||||
@{bin}/pgrep rCx -> pgrep,
|
||||
@{lib}/qt5/bin/qdbus rCx -> qdbus,
|
||||
@{bin}/curl rCx -> curl,
|
||||
|
||||
/{usr/,}bin/pacmd rPx,
|
||||
/{usr/,}bin/pactl rPx,
|
||||
/{usr/,}bin/wmctrl rPx,
|
||||
/{usr/,}bin/qtchooser rPx,
|
||||
/{usr/,}bin/ps rPx,
|
||||
@{bin}/pacmd rPx,
|
||||
@{bin}/pactl rPx,
|
||||
@{bin}/wmctrl rPx,
|
||||
@{bin}/qtchooser rPx,
|
||||
@{bin}/ps rPx,
|
||||
|
||||
# Players
|
||||
/{usr/,}bin/smplayer rPx,
|
||||
/{usr/,}bin/amarok rPx,
|
||||
/{usr/,}bin/vlc rPx,
|
||||
/{usr/,}bin/mpv rPx,
|
||||
/{usr/,}bin/strawberry rPx,
|
||||
@{bin}/smplayer rPx,
|
||||
@{bin}/amarok rPx,
|
||||
@{bin}/vlc rPx,
|
||||
@{bin}/mpv rPx,
|
||||
@{bin}/strawberry rPx,
|
||||
|
||||
owner /tmp/amarok_covers/ rw,
|
||||
owner /tmp/*.png rw,
|
||||
|
|
@ -80,7 +80,7 @@ profile anyremote @{exec_path} {
|
|||
profile imagemagic {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/convert-im6.q16 mr,
|
||||
@{bin}/convert-im6.q16 mr,
|
||||
|
||||
/usr/share/ImageMagick-[0-9]/*.xml rw,
|
||||
/etc/ImageMagick-[0-9]/*.xml r,
|
||||
|
|
@ -107,7 +107,7 @@ profile anyremote @{exec_path} {
|
|||
|
||||
ptrace (read),
|
||||
|
||||
/{usr/,}bin/killall mr,
|
||||
@{bin}/killall mr,
|
||||
|
||||
# The /proc/ dir is needed to avoid the following error:
|
||||
# /proc: Permission denied
|
||||
|
|
@ -125,7 +125,7 @@ profile anyremote @{exec_path} {
|
|||
|
||||
signal (send) set=(term, kill),
|
||||
|
||||
/{usr/,}bin/pgrep mr,
|
||||
@{bin}/pgrep mr,
|
||||
|
||||
# The /proc/ dir and the cmdline have to be radable to avoid pgrep segfault.
|
||||
@{PROC}/ r,
|
||||
|
|
@ -143,14 +143,14 @@ profile anyremote @{exec_path} {
|
|||
include <abstractions/openssl>
|
||||
include <abstractions/ssl_certs>
|
||||
|
||||
/{usr/,}bin/curl mr,
|
||||
@{bin}/curl mr,
|
||||
|
||||
}
|
||||
|
||||
profile qdbus {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}lib/qt5/bin/qdbus mr,
|
||||
@{lib}/qt5/bin/qdbus mr,
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue