From 8d5e0fc37c4a75af989cb05f443dd54f6e24b768 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 6 Mar 2022 14:01:14 +0000 Subject: [PATCH] Add glib-compile-resources. --- .../profiles-g-l/glib-compile-resources | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apparmor.d/profiles-g-l/glib-compile-resources diff --git a/apparmor.d/profiles-g-l/glib-compile-resources b/apparmor.d/profiles-g-l/glib-compile-resources new file mode 100644 index 00000000..e1dde8d6 --- /dev/null +++ b/apparmor.d/profiles-g-l/glib-compile-resources @@ -0,0 +1,22 @@ +# 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/glib-compile-resources +profile glib-compile-resources @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/xmllint rix, + + /tmp/resource-* rw, + + owner @{PROC}/@{pid}/fd/ r, + + include if exists +}