feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-03-25 15:48:59 +00:00
parent 5ea574c333
commit 02499d90f0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
42 changed files with 119 additions and 33 deletions

View file

@ -45,6 +45,8 @@ profile gpg @{exec_path} {
owner /var/lib/*/.gnupg/ rw,
owner /var/lib/*/.gnupg/** rwkl -> /var/lib/*/.gnupg/**,
owner /tmp/tmp.[a-zA-Z0-9]* rw,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
owner @{PROC}/@{pid}/task/@{tid}/stat rw,

View file

@ -17,8 +17,9 @@ profile gpg-agent @{exec_path} {
@{exec_path} mr,
/{usr/,}lib/gnupg/scdaemon rPx,
/{usr/,}bin/pinentry{,-*} rPx,
/{usr/,}bin/scdaemon rPx,
/{usr/,}lib/gnupg/scdaemon rPx,
/usr/share/gnupg/* r,

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/gnupg/scdaemon
@{exec_path} = /{usr/,}bin/scdaemon /{usr/,}lib/gnupg/scdaemon
profile scdaemon @{exec_path} {
include <abstractions/base>
include <abstractions/devices-usb>