From 3b03d8e20a018c1afb4154e2fe7a3360394ecfe0 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 5 Apr 2024 12:02:22 +0100 Subject: [PATCH] featr(profile): add polkit-gnome-authentication-agent. --- .../polkit-gnome-authentication-agent | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 apparmor.d/groups/freedesktop/polkit-gnome-authentication-agent diff --git a/apparmor.d/groups/freedesktop/polkit-gnome-authentication-agent b/apparmor.d/groups/freedesktop/polkit-gnome-authentication-agent new file mode 100644 index 00000000..5f48d5c2 --- /dev/null +++ b/apparmor.d/groups/freedesktop/polkit-gnome-authentication-agent @@ -0,0 +1,23 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{lib}/@{multiarch}/{,libexec/}polkit-gnome-authentication-agent-1 +@{exec_path} += @{lib}/policykit-1-gnome/polkit-gnome-authentication-agent-1 +@{exec_path} += @{lib}/polkit-gnome-authentication-agent-1 +@{exec_path} += @{lib}/polkit-gnome/polkit-gnome-authentication-agent-1 +profile polkit-gnome-authentication-agent @{exec_path} { + include + include + include + + @{exec_path} mr, + + @{PROC}/@{pid}/cgroup r, + + include if exists +} \ No newline at end of file