# 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/,}bin/eject profile eject @{exec_path} { include include capability sys_rawio, @{exec_path} mr, /{usr/,}bin/{,ba,da}sh rix, /{usr/,}lib/eject/dmcrypt-get-device rPx, owner @{PROC}/@{pid}/mounts r, owner @{PROC}/@{pid}/mountinfo r, /etc/fstab r, include if exists }