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/,}bin/pinentry-kwallet
@{exec_path} = @{bin}/pinentry-kwallet
profile pinentry-kwallet @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@ -16,16 +16,16 @@ profile pinentry-kwallet @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/pinentry-* rPx,
@{bin}/pinentry-* rPx,
/{usr/,}bin/kwalletcli_getpin rix,
/{usr/,}bin/kwalletcli rCx -> kwalletcli,
@{bin}/kwalletcli_getpin rix,
@{bin}/kwalletcli rCx -> kwalletcli,
# when wrong PIN is provided
/{usr/,}bin/date rix,
@{bin}/date rix,
/{usr/,}bin/mksh rix,
/{usr/,}bin/env rix,
@{bin}/mksh rix,
@{bin}/env rix,
owner @{HOME}/.Xauthority r,
@ -35,12 +35,12 @@ profile pinentry-kwallet @{exec_path} {
profile kwalletcli {
include <abstractions/base>
/{usr/,}bin/kwalletcli mr,
@{bin}/kwalletcli mr,
owner @{user_config_dirs}/kdeglobals r,
owner @{user_config_dirs}/kwalletrc r,
/{usr/,}lib/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so mr,
/{usr/,}lib/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so mr,
@{lib}/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so mr,
@{lib}/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so mr,
owner @{HOME}/.Xauthority r,