feat: prefix variables that refer to a profile
This commit is contained in:
parent
751bc683d9
commit
6dd0c36e9a
39 changed files with 57 additions and 49 deletions
|
|
@ -22,7 +22,7 @@ profile networkctl @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
signal send peer=child-pager,
|
||||
|
||||
ptrace (read) peer=@{systemd},
|
||||
ptrace (read) peer=@{p_systemd},
|
||||
|
||||
unix (bind) type=stream addr=@@{hex}/bus/networkctl/system,
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ profile systemd-analyze @{exec_path} {
|
|||
|
||||
signal (send) peer=child-pager,
|
||||
|
||||
#aa:dbus talk bus=system name=org.freedesktop.systemd1 label="@{systemd}"
|
||||
#aa:dbus talk bus=system name=org.freedesktop.systemd1 label="@{p_systemd}"
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ profile systemd-generator-ds-identify @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
ptrace (read) peer=@{systemd},
|
||||
ptrace (read) peer=@{p_systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ profile systemd-generator-run @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/base>
|
||||
include <abstractions/common/systemd>
|
||||
|
||||
ptrace (read) peer=@{systemd},
|
||||
ptrace (read) peer=@{p_systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ profile systemd-generator-veritysetup @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/base>
|
||||
include <abstractions/common/systemd>
|
||||
|
||||
ptrace (read) peer=@{systemd},
|
||||
ptrace (read) peer=@{p_systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ profile systemd-logind @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
#aa:dbus own bus=system name=org.freedesktop.login1
|
||||
|
||||
#aa:dbus talk bus=system name=org.freedesktop.systemd1 label="@{systemd}"
|
||||
#aa:dbus talk bus=system name=org.freedesktop.systemd1 label="@{p_systemd}"
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/login@{int}{,/seat/auto,session/_@{int}}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ profile systemd-machined @{exec_path} {
|
|||
|
||||
#aa:dbus own bus=system name=org.freedesktop.machine1
|
||||
|
||||
#aa:dbus talk bus=system name=org.freedesktop.systemd1 label="@{systemd}"
|
||||
#aa:dbus talk bus=system name=org.freedesktop.systemd1 label="@{p_systemd}"
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ profile systemd-sulogin-shell @{exec_path} {
|
|||
capability net_admin,
|
||||
capability sys_resource,
|
||||
|
||||
signal (receive) set=(hup) peer=@{systemd},
|
||||
signal (receive) set=(hup) peer=@{p_systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ profile systemd-timedated @{exec_path} flags=(attach_disconnected) {
|
|||
dbus send bus=system path=/org/freedesktop/systemd1/unit/*
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll
|
||||
peer=(name=org.freedesktop.systemd1, label="@{systemd}"),
|
||||
peer=(name=org.freedesktop.systemd1, label="@{p_systemd}"),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ profile systemd-timesyncd @{exec_path} flags=(attach_disconnected) {
|
|||
network inet6 stream,
|
||||
|
||||
unix (bind) type=stream addr=@@{hex}/bus/systemd-timesyn/bus-api-timesync,
|
||||
unix (send, receive) type=dgram addr=none peer=(label=@{systemd}, addr=none),
|
||||
unix (send, receive) type=dgram addr=none peer=(label=@{p_systemd}, addr=none),
|
||||
|
||||
#aa:dbus own bus=system name=org.freedesktop.timesync1
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ profile systemd-update-done @{exec_path} {
|
|||
|
||||
capability net_admin,
|
||||
|
||||
ptrace (read) peer=@{systemd},
|
||||
ptrace (read) peer=@{p_systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ profile systemd-userwork @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
capability sys_resource,
|
||||
|
||||
signal (send) peer=@{systemd},
|
||||
signal (send) peer=@{p_systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue