22 lines
569 B
Text
22 lines
569 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 bind bus=session name=org.mate.atril.Daemon,
|
|
|
|
dbus (send, receive) bus=session path=/org/mate/atril/**
|
|
peer=(name="{:*,org.freedesktop.DBus}", label=atril), # all interfaces and members
|
|
|
|
@{exec_path} mr,
|
|
|
|
include if exists <local/atrild>
|
|
}
|