feat(profile): add runit-helper.
This commit is contained in:
parent
99384e6513
commit
4cd79c63f6
1 changed files with 23 additions and 0 deletions
23
apparmor.d/profiles-m-r/runit-helper
Normal file
23
apparmor.d/profiles-m-r/runit-helper
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue