feat(abs): add pgrep.

This commit is contained in:
Alexandre Pujol 2024-05-30 21:08:03 +01:00
parent 3f688be7a0
commit 45ae8f5d27
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 38 additions and 42 deletions

View file

@ -167,24 +167,9 @@ profile kded @{exec_path} {
profile pgrep {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/app/pgrep>
capability sys_ptrace,
ptrace (read),
@{bin}/pgrep mr,
@{sys}/devices/system/node/ r,
@{sys}/devices/system/node/node@{int}/meminfo r,
@{PROC}/ r,
@{PROC}/@{pids}/cgroup r,
@{PROC}/@{pids}/cmdline r,
@{PROC}/@{pids}/stat r,
@{PROC}/sys/kernel/osrelease r,
@{PROC}/tty/drivers r,
@{PROC}/uptime r,
include if exists <local/kded_pgrep>
}