# apparmor.d - Full set of apparmor profiles # Copyright (C) 2018-2021 Mikhail Morfikov # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = /{usr/,}bin/fzsftp profile fzsftp @{exec_path} { include include include signal (receive) set=(term, kill) peer=filezilla, # Needed? deny ptrace (trace), @{exec_path} mr, /{usr/,}bin/{,ba,da}sh mrix, /{usr/,}bin/ps rix, /{usr/,}bin/ls rix, @{PROC}/ r, @{PROC}/uptime r, @{PROC}/sys/kernel/osrelease r, @{PROC}/sys/kernel/pid_max r, @{PROC}/tty/drivers r, deny @{PROC}/@{pids}/stat r, deny @{PROC}/@{pids}/cmdline r, /tmp/ r, owner @{HOME}/.putty/randomseed rw, # file_inherit #deny @{HOME}/.cache/filezilla/** rw, include if exists }