feat: profiles and integration tests improvments.
Add the udbus variable to be used in `unix bind` rule for dbus.
This commit is contained in:
parent
b4bcb2f16e
commit
4e5f4cb06a
43 changed files with 81 additions and 47 deletions
|
|
@ -13,6 +13,8 @@ profile needrestart-apt-pinvoke @{exec_path} {
|
|||
include <abstractions/bus/org.freedesktop.login1>
|
||||
include <abstractions/consoles>
|
||||
|
||||
capability dac_read_search,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ profile qemu-ga @{exec_path} {
|
|||
|
||||
ptrace (read) peer=@{p_systemd},
|
||||
|
||||
unix type=stream addr=@@{hex16}/bus/shutdown/system,
|
||||
unix type=stream addr=@@{udbus}/bus/shutdown/system,
|
||||
|
||||
#aa:dbus talk bus=system name=org.freedesktop.login1 label=systemd-logind
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue