# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{lib}/mate-notification-daemon/mate-notification-daemon
profile mate-notification-daemon /{,usr/}lib{,exec,32,64}/mate-notification-daemon/mate-notification-daemon flags=(complain) {
  include <abstractions/base>
  include <abstractions/fonts>
  include <abstractions/dconf-write>
  include <abstractions/freedesktop.org>

  @{exec_path} mr,

  owner @{HOME}/.Xauthority r,

  include if exists <local/mate-notification-daemon>
}