feat(abs): add pgrep.
This commit is contained in:
parent
3f688be7a0
commit
45ae8f5d27
6 changed files with 38 additions and 42 deletions
|
|
@ -90,14 +90,7 @@ profile kanyremote @{exec_path} {
|
|||
|
||||
profile pgrep {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
@{bin}/pgrep mr,
|
||||
|
||||
# The /proc/ dir and the cmdline file have to be radable to avoid pgrep segfault.
|
||||
@{PROC}/ r,
|
||||
@{PROC}/@{pids}/cmdline r,
|
||||
deny @{PROC}/sys/kernel/osrelease r,
|
||||
include <abstractions/app/pgrep>
|
||||
|
||||
/usr/share/anyremote/{,**} r,
|
||||
|
||||
|
|
|
|||
|
|
@ -97,14 +97,8 @@ profile logrotate @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
profile pgrep {
|
||||
include <abstractions/base>
|
||||
|
||||
@{bin}/pgrep mr,
|
||||
|
||||
# The /proc/ dir and the cmdline file have to be radable to avoid pgrep segfault.
|
||||
@{PROC}/ r,
|
||||
@{PROC}/@{pids}/cmdline r,
|
||||
@{PROC}/sys/kernel/osrelease r,
|
||||
|
||||
include <abstractions/app/pgrep>
|
||||
|
||||
include if exists <local/logrotate_pgrep>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue