feat(profile): add runit-helper.

This commit is contained in:
Alexandre Pujol 2025-05-25 23:53:40 +02:00
parent 99384e6513
commit 4cd79c63f6
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -0,0 +1,23 @@
# 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} = @{lib}/runit-helper/runit-helper
profile runit-helper @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{bin}/mkdir rix,
@{run}/runit/ rw,
@{run}/runit/supervise/ w,
include if exists <local/runit-helper>
}
# vim:syntax=apparmor