# vim:syntax=apparmor # ------------------------------------------------------------------ # # Copyright (C) 2020-2021 Mikhail Morfikov # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License published by the Free Software Foundation. # # ------------------------------------------------------------------ abi , include @{exec_path} = /{usr/,}lib/@{multiarch}/polkit-mate/polkit-mate-authentication-agent-[0-9] profile polkit-mate-authentication-agent @{exec_path} { include include include include include include include include include include include signal (send) set=(term, kill) peer=polkit-agent-helper, @{exec_path} mr, /{usr/,}lib/polkit-[0-9]/polkit-agent-helper-[0-9] rPx, @{PROC}/1/cgroup r, owner @{PROC}/@{pid}/cgroup r, owner @{PROC}/@{pid}/fd/ r, /var/lib/dbus/machine-id r, /etc/machine-id r, owner @{HOME}/.Xauthority r, /usr/share/glib-2.0/schemas/gschemas.compiled r, /usr/share/X11/xkb/** r, # file_inherit owner /dev/tty[0-9]* rw, include if exists }