# 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/,}{s,}bin/nft profile nft @{exec_path} { include include # To be able to run the nft command. capability net_admin, network netlink raw, @{exec_path} mr, owner /etc/iproute2/** r, owner /etc/nftables/**.nft r, @{PROC}/sys/kernel/osrelease r, @{PROC}/1/environ r, @{PROC}/cmdline r, include if exists }