# apparmor.d - Full set of apparmor profiles # Copyright (C) 2019-2021 Mikhail Morfikov # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = /{usr/,}sbin/swapoff profile swapoff @{exec_path} { include include capability sys_admin, @{exec_path} mr, /etc/fstab r, @{PROC}/swaps r, # SWAP file common locations owner /swapfile rw, include if exists }