apparmor.d/apparmor.d/profiles-m-r/pinentry-gnome3
Alexandre Pujol 66455a9251
feat(profile): improve support for some profiles.
Most of the rules have come from the integration tests.
2024-11-12 22:18:11 +00:00

24 lines
541 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/pinentry-gnome3
profile pinentry-gnome3 @{exec_path} {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/consoles>
signal (receive) set=(int) peer=gpg-agent,
@{exec_path} mr,
owner @{PROC}/@{pid}/cmdline r,
include if exists <local/pinentry-gnome3>
}
# vim:syntax=apparmor