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

# Communication to the system TPM chip over `/dev/tpm@{int}` and kernel TPM
# resource manager `/dev/tpmrm@{int}`

  abi <abi/4.0>,

  @{sys}/class/tpmrm/ r,

  /dev/tpm@{int} rw,
  /dev/tpmrm@{int} rw,

  include if exists <abstractions/tpm.d>

# vim:syntax=apparmor
