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

abi <abi/3.0>,

include <tunables/global>

@{exec_path} = @{lib}/console-setup/console-setup.sh
profile console-setup @{exec_path} {
  include <abstractions/base>

  @{exec_path} mr,

  @{bin}/uname rPx,
  @{bin}/mkdir rix,

  @{run}/console-setup/boot_completed w,

  include if exists <local/console-setup>
}

# vim:syntax=apparmor
