From a6f1a58743b2b92824ea0237c2e2776d3f22dfb9 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 26 Sep 2021 17:29:46 +0100 Subject: [PATCH] Add spice-client-glib-usb-acl-helper. --- .../spice-client-glib-usb-acl-helper | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 apparmor.d/profiles-s-z/spice-client-glib-usb-acl-helper diff --git a/apparmor.d/profiles-s-z/spice-client-glib-usb-acl-helper b/apparmor.d/profiles-s-z/spice-client-glib-usb-acl-helper new file mode 100644 index 000000000..207348ef2 --- /dev/null +++ b/apparmor.d/profiles-s-z/spice-client-glib-usb-acl-helper @@ -0,0 +1,24 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}lib/spice-client-glib-usb-acl-helper +profile spice-client-glib-usb-acl-helper @{exec_path} { + include + + capability sys_ptrace, + capability fowner, + + @{exec_path} mr, + + /{usr/,}lib/gconv/gconv-modules r, + + owner @{PROC}/@{pid}/stat r, + @{PROC}/sys/kernel/cap_last_cap r, + + include if exists +} \ No newline at end of file