diff --git a/apparmor.d/profiles-s-z/swtpm_ioctl b/apparmor.d/profiles-s-z/swtpm_ioctl new file mode 100644 index 00000000..75660e85 --- /dev/null +++ b/apparmor.d/profiles-s-z/swtpm_ioctl @@ -0,0 +1,19 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/swtpm_ioctl +profile swtpm_ioctl @{exec_path} { + include + + capability dac_override, + capability dac_read_search, + + @{exec_path} mr, + + include if exists +} \ No newline at end of file