# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2026 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

# Allow egress ICMP messages (echo request, connectivity checks).
# A raw socket cannot be restricted to a protocol, it requires capability net_raw.

  abi <abi/4.0>,

  network (create getattr getopt setattr setopt shutdown send receive) inet raw,

  include if exists <abstractions/network/out/icmp.d>

# vim:syntax=apparmor
