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

abi <abi/3.0>,

include <tunables/global>

@{exec_path} = @{lib}/systemd/systemd-socket-proxyd
profile systemd-socket-proxyd @{exec_path} {
  include <abstractions/base>
  include <abstractions/common/systemd>

  capability net_admin,

  network inet stream,
  network inet6 stream,

  @{exec_path} mr,

  include if exists <local/systemd-socket-proxyd>
}