# 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/,}bin/nmap profile nmap @{exec_path} { include include include include capability net_raw, capability net_bind_service, signal (receive) set=(term, kill) peer=zenmap, network inet dgram, network inet6 dgram, network inet raw, network inet6 raw, network netlink raw, network packet raw, @{exec_path} r, owner @{PROC}/@{pid}/net/dev r, owner @{PROC}/@{pid}/net/if_inet6 r, /usr/share/nmap/** r, owner /tmp/zenmap-stdout-* rw, owner /tmp/zenmap-*.xml rw, include if exists }