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

# Desktop Management Interface (DMI) firmware tables and identity files
#
# DMI is a standard framework for managing and tracking hardware components in a
# computer.
#
# It is a light version of <abstractions/sys/dmi-full> that leaks only the most
# basic identity information and no version strings.

  abi <abi/4.0>,

  @{sys}/devices/virtual/dmi/id/bios_vendor r,      # BIOS manufacturer
  @{sys}/devices/virtual/dmi/id/board_vendor r,     # Motherboard manufacturer
  @{sys}/devices/virtual/dmi/id/product_family r,   # Product family name
  @{sys}/devices/virtual/dmi/id/product_name r,     # System product name
  @{sys}/devices/virtual/dmi/id/sys_vendor r,       # System manufacturer

  include if exists <abstractions/sys/dmi.d>

# vim:syntax=apparmor
