apparmor.d/apparmor.d/groups/gnome/seahorse
REmerald da93eb29d8 feat(groups/g*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #393 to keep the diff list relatively short.
2024-06-16 17:30:58 +01:00

48 lines
1.3 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/3.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.freedesktop.secrets>
include <abstractions/dconf-write>
include <abstractions/gnome-strict>
include <abstractions/p11-kit>
include <abstractions/ssl_certs>
dbus bind bus=session name=org.gnome.seahorse.Application,
dbus receive bus=session path=/org/gnome/seahorse/Application
interface=org.gnome.Shell.SearchProvider2
peer=(name=:*),
@{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,
/etc/{,opensc/}opensc.conf r,
owner @{HOME}/@{XDG_SSH_DIR}/{,**} r,
owner @{PROC}/@{pid}/fd/ r,
include if exists <local/seahorse>
}
# vim:syntax=apparmor