# 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/4.0>,

include <tunables/global>

@{exec_path} = @{lib}/systemd/systemd-homework
profile systemd-homework /{,usr/}lib{,exec,32,64}/systemd/systemd-homework flags=(complain) {
  include <abstractions/base>
  include <abstractions/nameservice-strict>
  include <abstractions/common/systemd>

  @{exec_path} mr,

  /etc/machine-id r,

  include if exists <local/systemd-homework>
}