mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
28 lines
760 B
Text
28 lines
760 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/atril/atrild
|
|
profile atrild @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus-session-strict>
|
|
|
|
dbus send bus=session path=/org/freedesktop/DBus
|
|
interface=org.freedesktop.DBus
|
|
member={RequestName,ReleaseName}
|
|
peer=(name=org.freedesktop.DBus, label=dbus-daemon),
|
|
|
|
dbus (send, receive) bus=session path=/org/mate/atril/**
|
|
peer=(name="{:*,org.freedesktop.DBus}", label=atril), # all interfaces and members
|
|
|
|
dbus bind bus=session
|
|
name=org.mate.atril.Daemon,
|
|
|
|
@{exec_path} mr,
|
|
|
|
include if exists <local/atrild>
|
|
}
|