refactor(profiles): use @{bin} and @{lib} in profiles (2)
This commit is contained in:
parent
bb71f49598
commit
2eed3b725f
101 changed files with 538 additions and 538 deletions
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/dirmngr
|
||||
@{exec_path} = @{bin}/dirmngr
|
||||
profile dirmngr @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/gpg
|
||||
@{exec_path} = @{bin}/gpg
|
||||
profile gpg @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -21,12 +21,12 @@ profile gpg @{exec_path} {
|
|||
|
||||
@{exec_path} mrix,
|
||||
|
||||
/{usr/,}bin/dirmngr rPx,
|
||||
/{usr/,}bin/gpg-agent rPx,
|
||||
/{usr/,}bin/gpg-connect-agent rPx,
|
||||
/{usr/,}bin/gpgconf rPx,
|
||||
/{usr/,}bin/gpgsm rPx,
|
||||
/{usr/,}lib/gnupg/scdaemon rPx,
|
||||
@{bin}/dirmngr rPx,
|
||||
@{bin}/gpg-agent rPx,
|
||||
@{bin}/gpg-connect-agent rPx,
|
||||
@{bin}/gpgconf rPx,
|
||||
@{bin}/gpgsm rPx,
|
||||
@{lib}/gnupg/scdaemon rPx,
|
||||
|
||||
/etc/inputrc r,
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/gpg-agent
|
||||
@{exec_path} = @{bin}/gpg-agent
|
||||
profile gpg-agent @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
@ -17,9 +17,9 @@ profile gpg-agent @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/pinentry{,-*} rPx,
|
||||
/{usr/,}bin/scdaemon rPx,
|
||||
/{usr/,}lib/gnupg/scdaemon rPx,
|
||||
@{bin}/pinentry{,-*} rPx,
|
||||
@{bin}/scdaemon rPx,
|
||||
@{lib}/gnupg/scdaemon rPx,
|
||||
|
||||
/usr/share/gnupg/* r,
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ profile gpg-agent @{exec_path} {
|
|||
@{PROC}/@{pid}/fd/ r,
|
||||
|
||||
# Silencer
|
||||
deny /{usr/,}bin/.gnupg/ w,
|
||||
deny @{bin}/.gnupg/ w,
|
||||
|
||||
# file inherit
|
||||
owner /dev/tty[0-9]* rw,
|
||||
|
|
|
|||
|
|
@ -6,14 +6,14 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/gpg-connect-agent
|
||||
@{exec_path} = @{bin}/gpg-connect-agent
|
||||
profile gpg-connect-agent @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/gpg-agent rPx,
|
||||
@{bin}/gpg-agent rPx,
|
||||
|
||||
/etc/inputrc r,
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/gpgconf
|
||||
@{exec_path} = @{bin}/gpgconf
|
||||
profile gpgconf @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -17,14 +17,14 @@ profile gpgconf @{exec_path} {
|
|||
|
||||
@{exec_path} mrix,
|
||||
|
||||
/{usr/,}bin/gpg-connect-agent rPx,
|
||||
/{usr/,}bin/gpg{,2} rPx,
|
||||
/{usr/,}bin/gpg-agent rPx,
|
||||
/{usr/,}bin/dirmngr rPx,
|
||||
/{usr/,}bin/gpgsm rPx,
|
||||
/{usr/,}lib/gnupg/scdaemon rPx,
|
||||
@{bin}/gpg-connect-agent rPx,
|
||||
@{bin}/gpg{,2} rPx,
|
||||
@{bin}/gpg-agent rPx,
|
||||
@{bin}/dirmngr rPx,
|
||||
@{bin}/gpgsm rPx,
|
||||
@{lib}/gnupg/scdaemon rPx,
|
||||
|
||||
/{usr/,}bin/pinentry-* rPx,
|
||||
@{bin}/pinentry-* rPx,
|
||||
|
||||
/etc/gcrypt/hwf.deny r,
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/gpgsm
|
||||
@{exec_path} = @{bin}/gpgsm
|
||||
profile gpgsm @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/scdaemon /{usr/,}lib/gnupg/scdaemon
|
||||
@{exec_path} = @{bin}/scdaemon @{lib}/gnupg/scdaemon
|
||||
profile scdaemon @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/devices-usb>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue