mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-14 14:15:11 +01:00
31 lines
1 KiB
Text
31 lines
1 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
unix (bind, listen) type=stream addr="@/tmp/dbus-*",
|
|
unix (connect, send, receive, accept) type=stream 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={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
|
|
peer=(name=org.freedesktop.DBus, label=dbus-session),
|
|
|
|
dbus send bus=session path=/org/freedesktop/DBus
|
|
interface=org.freedesktop.DBus
|
|
member={RequestName,ReleaseName}
|
|
peer=(name=org.freedesktop.DBus, label=dbus-session),
|
|
|
|
/etc/machine-id r,
|
|
/var/lib/dbus/machine-id r,
|
|
|
|
owner @{tmp}/dbus-@{rand8} rw,
|
|
owner @{tmp}/dbus-@{rand10} rw,
|
|
|
|
owner @{run}/user/@{uid}/bus rw,
|
|
|
|
include if exists <abstractions/bus-session.d>
|
|
|
|
# vim:syntax=apparmor
|