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 00000000..207348ef --- /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