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

include <tunables/global>

@{exec_path} = @{lib}/udev/dmi_memory_id 
profile udev-dmi-memory-id @{exec_path} {
  include <abstractions/base>

  @{exec_path} mr,

  /etc/udev/udev.conf r,

  @{sys}/firmware/dmi/tables/DMI r,
  @{sys}/firmware/dmi/tables/smbios_entry_point r,

  include if exists <local/udev-dmi-memory-id>
}

# vim:syntax=apparmor
