fix(profile): apply some fix raised by the test suite.
This commit is contained in:
parent
1f869c12ad
commit
cca8e6508f
24 changed files with 65 additions and 12 deletions
|
|
@ -22,6 +22,8 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
ptrace (read),
|
||||
|
||||
mqueue r type=posix /,
|
||||
|
||||
@{exec_path} mrix,
|
||||
|
||||
@{sh_path} rix,
|
||||
|
|
@ -76,8 +78,13 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/base>
|
||||
include <abstractions/app/systemctl>
|
||||
|
||||
capability sys_resource,
|
||||
capability net_admin,
|
||||
|
||||
signal send set=term peer=systemd-tty-ask-password-agent,
|
||||
|
||||
@{bin}/systemd-tty-ask-password-agent Px,
|
||||
|
||||
include if exists <local/needrestart_systemctl>
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ profile pstree @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/terminfo/** r,
|
||||
|
||||
@{PROC} r,
|
||||
@{PROC}/@{pids}/attr/current r,
|
||||
@{PROC}/@{pids}/stat r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue