Update gnome-keyring-daemon.

This commit is contained in:
Alexandre Pujol 2021-04-04 17:25:31 +01:00
parent 62c7e77ffd
commit 131ef331f5
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2017-2021 Mikhail Morfikov
# 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -16,6 +17,8 @@ profile gnome-keyring-daemon @{exec_path} {
capability ipc_lock,
@{exec_path} mr,
/{usr/,}bin/ssh-add rix,
/{usr/,}bin/ssh-agent rPx,
# Keyrings location
owner @{user_share_dirs}/keyrings/ rw,
@ -26,6 +29,7 @@ profile gnome-keyring-daemon @{exec_path} {
owner @{run}/user/[0-9]*/keyring/ rw,
owner @{run}/user/[0-9]*/keyring/* rw,
owner @{run}/user/[0-9]*/ssh-askpass.[0-9A-Z]*/{,*} rw,
@{PROC}/[0-9]*/fd/ r,