# apparmor.d - Full set of apparmor profiles # Copyright (C) 2021 Alexandre Pujol # Copyright (C) 2022 Jeroen Rijken # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = /{usr/,}bin/pkttyagent profile pkttyagent @{exec_path} { include include include capability sys_nice, capability audit_write, ptrace (read), signal (send,receive), dbus send bus=system path=/org/freedesktop/PolicyKit[0-9]/Authority interface=org.freedesktop.DBus.Properties member=GetAll, dbus send bus=system path=/org/freedesktop/PolicyKit[0-9]/Authority interface=org.freedesktop.PolicyKit[0-9].Authority member=RegisterAuthenticationAgentWithOptions, dbus receive bus=system path=/org/freedesktop/PolicyKit[0-9]/AuthenticationAgent interface=org.freedesktop.PolicyKit1.AuthenticationAgent member=BeginAuthentication, dbus receive bus=system path=/org/freedesktop/PolicyKit[0-9]/Authority interface=org.freedesktop.PolicyKit[0-9].Authority member=Changed, @{exec_path} mr, owner @{PROC}/@{pids}/stat r, /dev/tty rw, include if exists }