38 lines
1 KiB
Text
38 lines
1 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2018-2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/{,@{multiarch}/}xfce4/notifyd/xfce4-notifyd
|
|
profile xfce-notifyd @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-accessibility>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/fontconfig-cache-read>
|
|
include <abstractions/graphics>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/xfce>
|
|
|
|
# TODO: local only
|
|
network inet dgram,
|
|
network inet stream,
|
|
network inet6 dgram,
|
|
network inet6 stream,
|
|
network netlink raw,
|
|
|
|
#aa:dbus own bus=session name=org.xfce.Notifyd
|
|
#aa:dbus own bus=session name=org.freedesktop.Notifications
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{user_cache_dirs}/xfce4/notifyd/ rw,
|
|
owner @{user_cache_dirs}/xfce4/notifyd/** rwk,
|
|
|
|
include if exists <local/xfce-notifyd>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|