diff --git a/apparmor.d/abstractions/app/bus b/apparmor.d/abstractions/app/bus new file mode 100644 index 00000000..d1d0d8cb --- /dev/null +++ b/apparmor.d/abstractions/app/bus @@ -0,0 +1,18 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +# Minimal set of rules for dbus-send/dbus-launch. + + include + + @{bin}/dbus-launch mix, + @{bin}/dbus-send mix, + + @{bin}/dbus-daemon Px -> dbus-session, + + owner @{HOME}/.dbus/session-bus/@{hex}-@{int} w, + + include if exists + +# vim:syntax=apparmor