# apparmor.d - Full set of apparmor profiles # Copyright (C) 2018-2021 Mikhail Morfikov # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{lib}/@{multiarch}/xfce[0-9]/exo-[0-9]/exo-helper-[0-9] profile exo-helper @{exec_path} { include include include # These are needed when there's no default application set in the ~/.config/xfce4/helpers.rc include include include include @{exec_path} mr, /usr/share/ r, /usr/share/xfce4/ r, /usr/share/xfce4/helpers/ r, /usr/share/xfce4/helpers/*.desktop r, /usr/local/share/ r, owner @{user_share_dirs}/ r, owner @{user_share_dirs}/xfce4/ r, owner @{user_share_dirs}/xfce4/helpers/ r, /etc/xdg/{,xdg-*/}xfce4/helpers.rc r, owner @{user_config_dirs}/xfce4/helpers.rc rw, owner @{user_config_dirs}/xfce4/helpers.rc.@{pid}.tmp rw, owner @{user_share_dirs}/xfce4/helpers/*.desktop rw, owner @{user_share_dirs}/xfce4/helpers/*.desktop.@{pid}.tmp rw, owner @{user_config_dirs}/mimeapps.list{,.@{rand6}} rw, # Some missing icons /usr/share/**.png r, owner @{PROC}/@{pid}/fd/ r, owner @{PROC}/@{pid}/mountinfo r, owner @{PROC}/@{pid}/mounts r, /etc/fstab r, # file_inherit owner /dev/tty[0-9]* rw, include if exists }