# vim:syntax=apparmor # ------------------------------------------------------------------ # # Copyright (C) 2018-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/at-spi2-core/at-spi-bus-launcher @{exec_path} += /usr/libexec/at-spi-bus-launcher profile at-spi-bus-launcher @{exec_path} { include include include # Needed? deny capability sys_nice, signal (send) set=(term, kill) peer=dbus-daemon, network inet stream, network inet6 stream, @{exec_path} mr, /{usr/,}bin/dbus-daemon rPUx, owner @{PROC}/@{pid}/fd/ r, owner @{HOME}/.Xauthority r, /var/lib/lightdm/.Xauthority r, /usr/share/glib-2.0/schemas/gschemas.compiled r, include owner @{run}/user/[0-9]*/dconf/ rw, owner @{run}/user/[0-9]*/dconf/user rw, # file_inherit owner /dev/tty[0-9]* rw, owner @{HOME}/.xsession-errors w, /var/log/lightdm/seat[0-9]*-greeter.log w, include if exists }