Update runsvchdir

This commit is contained in:
Besanon 2024-06-03 09:46:23 +02:00 committed by GitHub
parent 36f926c769
commit 56ab2ccadd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1 +1,27 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_pathrunCH} = @{bin}/runsvchdir
profile runsvchdir @{exec_pathrunCH} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_pathrunCH} mr,
owner @{run}/runit/runsvdir/ rw,
owner @{run}/runit/runsvdir/** rw,
owner @{run}/runit/runsvdir/current/ rw,
owner /etc/runit/runsvdir/ rw,
owner /etc/runit/runsvdir/** rw,
owner /etc/runit/runsvdir/current/ rw,
owner /dev/tty@{int} rw,
}