feat(profile): update pkexec.
This commit is contained in:
parent
682c98b320
commit
6e2d817805
3 changed files with 7 additions and 9 deletions
|
|
@ -8,15 +8,15 @@ abi <abi/4.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/pkexec
|
||||
profile pkexec @{exec_path} flags=(complain) {
|
||||
profile pkexec @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/pkexec>
|
||||
|
||||
audit capability sys_nice,
|
||||
capability sys_nice,
|
||||
|
||||
signal (send) set=(term, kill) peer=polkit-agent-helper,
|
||||
signal send set=(term, kill) peer=polkit-agent-helper,
|
||||
|
||||
ptrace (read),
|
||||
ptrace read,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ profile pkexec @{exec_path} flags=(complain) {
|
|||
/etc/default/locale r,
|
||||
|
||||
@{PROC}/@{pid}/fdinfo/@{int} r,
|
||||
@{PROC}/@{pids}/stat r,
|
||||
@{PROC}/@{pid}/stat r,
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
||||
include if exists <local/pkexec>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue