# apparmor.d - Full set of apparmor profiles # Copyright (C) 2023 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{bin}/firewalld profile firewalld @{exec_path} { include include include capability mknod, capability net_admin, capability net_raw, capability setpcap, network inet raw, network inet6 raw, network netlink raw, @{exec_path} mr, @{bin}/ r, @{bin}/alts rix, @{bin}/ebtables-legacy rix, @{bin}/ebtables-legacy-restore rix, @{bin}/false rix, @{bin}/ipset rix, @{bin}/kmod rPx, @{bin}/xtables-legacy-multi rix, @{bin}/xtables-nft-multi rix, /usr/share/libalternatives/ r, /usr/share/libalternatives/ebtables*/{,*} r, /usr/share/libalternatives/ip{,4,6}tables*/{,*} r, /etc/firewalld/{,**} r, /etc/firewalld/zones/{,**} rw, /etc/iproute2/group r, /etc/iproute2/rt_realms r, /var/lib/ebtables/lock rwk, /var/log/firewalld rw, @{run}/firewalld/{,*} rw, @{run}/xtables.lock rwk, @{PROC}/sys/kernel/modprobe r, @{PROC}/sys/net/ipv{4,6}/ip_forward rw, owner @{PROC}/@{pid}/fd/ r, owner @{PROC}/@{pid}/mounts r, owner @{PROC}/@{pids}/net/ip_tables_names r, include if exists }