Update runsvdir

This commit is contained in:
Besanon 2024-06-06 18:46:46 +02:00 committed by GitHub
parent 0e8fa0c39e
commit e2b4317e11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,8 +8,8 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_pathrunsvdir} = @{bin}/runsvdir
profile runsvdir @{exec_pathrunsvdir} flags=(attach_disconnected) {
@{exec_path} = @{bin}/runsvdir
profile runsvdir @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/bus-system>
@ -28,7 +28,7 @@ profile runsvdir @{exec_pathrunsvdir} flags=(attach_disconnected) {
ptrace (read) peer=elogind,
@{exec_pathrunsvdir} mr,
@{exec_path} mr,
@{bin}/dbus-send rix,
@{bin}/runsv rPx,
@ -60,4 +60,5 @@ profile runsvdir @{exec_pathrunsvdir} flags=(attach_disconnected) {
owner /tmp/#@{int}* rw,
owner /tmp/*/{,s} rw,
include if exists <local/runsvdir>
}