From 7a1304720ec73aac42ef0e576f73ee6eb8e68a88 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 21 May 2022 17:10:49 +0100 Subject: [PATCH] feat(profiles): add qemu-ga. --- apparmor.d/profiles-m-r/qemu-ga | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 apparmor.d/profiles-m-r/qemu-ga diff --git a/apparmor.d/profiles-m-r/qemu-ga b/apparmor.d/profiles-m-r/qemu-ga new file mode 100644 index 00000000..77c49dd3 --- /dev/null +++ b/apparmor.d/profiles-m-r/qemu-ga @@ -0,0 +1,20 @@ +# 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/qemu-ga +profile qemu-ga @{exec_path} { + include + + @{exec_path} mr, + + owner @{run}/qga.state* rw, + + /dev/vport[0-9]*p[0-9]* rw, + + include if exists +} \ No newline at end of file