mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
featr(profile): add polkit-gnome-authentication-agent.
This commit is contained in:
parent
ed864b6391
commit
3b03d8e20a
1 changed files with 23 additions and 0 deletions
|
@ -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>
|
||||
}
|
Loading…
Reference in a new issue