various improvements (#590)

This commit is contained in:
valoq 2024-10-28 15:41:41 +01:00 committed by GitHub
parent 6f586f1f46
commit 1dc8714cb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 26 additions and 8 deletions

View file

@ -0,0 +1,30 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2021 Mikhail Morfikov
# 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-gtk{,-2}
profile pinentry-gtk @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/gtk>
include <abstractions/fonts>
include <abstractions/fontconfig-cache-read>
include <abstractions/freedesktop.org>
@{exec_path} mr,
/usr/share/gtk-@{int}.@{int}/{,**} r,
owner @{run}/user/@{uid}/.mutter-Xwaylandauth.@{rand6} r,
owner /dev/tty@{int} r,
include if exists <local/pinentry-gtk>
}
# vim:syntax=apparmor