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

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{lib}/open-iscsi/net-interface-handler
@{att} = ""
profile open-iscsi-net-interface-handler /{,usr/}lib{,exec,32,64}/open-iscsi/net-interface-handler flags=(complain) {
  include <abstractions/base-strict>

  @{exec_path} mr,
  @{sh_path} r,

  include if exists <local/open-iscsi-net-interface-handler>
}

# vim:syntax=apparmor
