feat(abs): add some common dbus rules.

This commit is contained in:
Alexandre Pujol 2023-11-29 22:10:23 +00:00
parent 94f18ed6c1
commit f5e7cd7d0c
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
dbus send bus=accessibility path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member={RequestName,ReleaseName}
peer=(name=org.freedesktop.DBus, label=dbus-daemon),

View File

@ -7,6 +7,11 @@
unix (connect, send, receive, accept) type=stream peer=(addr="@/tmp/dbus-????????"), unix (connect, send, receive, accept) type=stream peer=(addr="@/tmp/dbus-????????"),
dbus send bus=session path=/org/freedesktop/dbus
interface=org.freedesktop.DBus
member={RequestName,ReleaseName}
peer=(name=org.freedesktop.DBus, label=dbus-daemon),
owner @{run}/user/@{uid}/at-spi/ rw, owner @{run}/user/@{uid}/at-spi/ rw,
owner @{run}/user/@{uid}/at-spi/bus rw, owner @{run}/user/@{uid}/at-spi/bus rw,
owner @{run}/user/@{uid}/at-spi/bus_@{int} rw, owner @{run}/user/@{uid}/at-spi/bus_@{int} rw,

View File

@ -0,0 +1,8 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member={RequestName,ReleaseName}
peer=(name=org.freedesktop.DBus, label=dbus-daemon),