polishing

This commit is contained in:
nobodysu 2022-05-28 00:47:21 +03:00 committed by Alex
parent 9dab6b9794
commit 4a76a69632
6 changed files with 64 additions and 27 deletions

View file

@ -11,6 +11,8 @@ profile systemd-tty-ask-password-agent @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
# capability net_admin,
signal (receive) set=(term cont) peer=logrotate,
@{exec_path} mr,
@ -19,6 +21,9 @@ profile systemd-tty-ask-password-agent @{exec_path} {
@{run}/systemd/ask-password/ r,
@{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>
}