# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# LOGPROF-SUGGEST: no

# Minimal set of rules for dbus-send/dbus-launch.

  abi <abi/4.0>,

  include <abstractions/consoles>
  include <abstractions/nameservice-strict>

  @{bin}/dbus-launch  mix,
  @{bin}/dbus-send    mrix,

  @{bin}/dbus-daemon   Px -> dbus-session,

  owner @{HOME}/.dbus/session-bus/@{hex}-@{int} w,

  include if exists <abstractions/app/bus.d>

# vim:syntax=apparmor
