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

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{lib}/systemd/system-generators/ostree-system-generator 
profile systemd-generator-ostree /{{,usr/}lib{,exec,32,64}/systemd/system-generators/ostree-system-generator,}  flags=(attach_disconnected,complain) {
  include <abstractions/base>

  @{exec_path} mr,

  @{PROC}/cmdline r,

  include if exists <local/systemd-generator-ostree>
}