feat(profile): add pidof

This commit is contained in:
Alexandre Pujol 2025-07-07 00:22:26 +02:00
parent 6b5fad404b
commit 771dd9b589
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/pidof
profile pidof @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
include if exists <local/pidof>
}
# vim:syntax=apparmor