mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-15 08:47:48 +01:00
29 lines
835 B
Text
29 lines
835 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022 Jeroen Rijken
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/avahi-browse @{bin}/avahi-browse-domains
|
|
profile avahi-browse @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-system>
|
|
include <abstractions/bus/org.freedesktop.Avahi>
|
|
include <abstractions/consoles>
|
|
|
|
dbus receive bus=system path=/Client@{int}/ServiceTypeBrowser@{int}
|
|
interface=org.freedesktop.Avahi.ServiceTypeBrowser
|
|
member={ItemNew,AllForNow,CacheExhausted}
|
|
peer=(name=:*, label=avahi-daemon),
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{lib}/@{multiarch}/avahi/service-types.db rwk,
|
|
|
|
include if exists <local/avahi-browse>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|