feat(profiles): add swtpm_ioctl.

This commit is contained in:
Alexandre Pujol 2022-06-03 20:23:28 +01:00
parent 9ad819a196
commit aa606bbdc4
Failed to generate hash of commit

View file

@ -0,0 +1,19 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/swtpm_ioctl
profile swtpm_ioctl @{exec_path} {
include <abstractions/base>
capability dac_override,
capability dac_read_search,
@{exec_path} mr,
include if exists <local/swtpm_ioctl>
}