feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-12-15 19:41:51 +00:00
parent 11cc9bd672
commit 600d929d85
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 35 additions and 13 deletions

View file

@ -10,6 +10,7 @@ include <tunables/global>
profile systemd-tty-ask-password-agent @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/systemd-common>
# capability net_admin,
@ -18,12 +19,10 @@ profile systemd-tty-ask-password-agent @{exec_path} {
@{exec_path} mr,
@{run}/systemd/ask-password-block/{,*} rw,
@{run}/systemd/ask-password/ r,
@{run}/systemd/ask-password/{,*} rw,
@{run}/utmp rk,
@{PROC}/@{pids}/stat r,
@{PROC}/sys/kernel/osrelease r,
@{PROC}/cmdline r,
@{PROC}/1/environ r,
include if exists <local/systemd-tty-ask-password-agent>
}