46 lines
1.2 KiB
Text
46 lines
1.2 KiB
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}/seahorse
|
|
profile seahorse @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-accessibility>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/bus-system>
|
|
include <abstractions/bus/org.a11y>
|
|
include <abstractions/bus/org.freedesktop.Avahi>
|
|
include <abstractions/bus/org.freedesktop.portal.Desktop>
|
|
include <abstractions/bus/org.gtk.vfs.MountTracker>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/gnome-strict>
|
|
include <abstractions/p11-kit>
|
|
include <abstractions/pcscd>
|
|
include <abstractions/secrets-service>
|
|
include <abstractions/ssl_certs>
|
|
|
|
#aa:dbus own bus=session name=org.gnome.seahorse.Application interface+=org.gnome.Shell.SearchProvider2
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/gpgconf rPx,
|
|
@{bin}/gpg{,2} rPx,
|
|
@{bin}/gpgsm rPx,
|
|
|
|
@{open_path} rPx -> child-open-help,
|
|
|
|
/etc/pki/trust/blocklist/ r,
|
|
/etc/gcrypt/hwf.deny r,
|
|
|
|
owner @{HOME}/@{XDG_SSH_DIR}/{,**} r,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
|
|
include if exists <local/seahorse>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|