featr(profile): add polkit-gnome-authentication-agent.

This commit is contained in:
Alexandre Pujol 2024-04-05 12:02:22 +01:00
parent ed864b6391
commit 3b03d8e20a
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -0,0 +1,23 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{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 <abstractions/base>
include <abstractions/graphics>
include <abstractions/gnome-strict>
@{exec_path} mr,
@{PROC}/@{pid}/cgroup r,
include if exists <local/polkit-gnome-authentication-agent>
}