feat(profile): general update.
This commit is contained in:
parent
70a8407bd7
commit
0a74d5c6fe
22 changed files with 39 additions and 16 deletions
|
|
@ -12,12 +12,14 @@ profile systemd-tty-ask-password-agent @{exec_path} {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/systemd-common>
|
||||
|
||||
audit capability net_admin,
|
||||
capability dac_override,
|
||||
capability net_admin,
|
||||
capability sys_resource,
|
||||
|
||||
signal (receive) set=(term cont) peer=default,
|
||||
signal (receive) set=(term cont) peer=logrotate,
|
||||
|
||||
@{exec_path} mr,
|
||||
@{exec_path} mrix,
|
||||
|
||||
@{run}/systemd/ask-password-block/{,*} rw,
|
||||
@{run}/systemd/ask-password/{,*} rw,
|
||||
|
|
@ -25,6 +27,9 @@ profile systemd-tty-ask-password-agent @{exec_path} {
|
|||
|
||||
@{PROC}/@{pids}/stat r,
|
||||
|
||||
@{sys}/devices/virtual/tty/console/active r,
|
||||
@{sys}/devices/virtual/tty/tty@{int}/active r,
|
||||
|
||||
/dev/tty@{int} rw,
|
||||
|
||||
include if exists <local/systemd-tty-ask-password-agent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue