mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-19 01:18:16 +01:00
feat(profile): move gcr tools.
This commit is contained in:
parent
a66ff700a2
commit
dd1b3b16e2
2 changed files with 19 additions and 1 deletions
18
apparmor.d/groups/gnome/gcr-prompter
Normal file
18
apparmor.d/groups/gnome/gcr-prompter
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = @{lib}/gcr-prompter
|
||||||
|
profile gcr-prompter @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
owner @{HOME}/@{XDG_SSH_DIR}/ r,
|
||||||
|
|
||||||
|
include if exists <local/gcr-prompter>
|
||||||
|
}
|
|
@ -15,7 +15,7 @@ profile gcr-ssh-agent @{exec_path} {
|
||||||
@{bin}/ssh-agent rPx,
|
@{bin}/ssh-agent rPx,
|
||||||
@{bin}/ssh-add rix,
|
@{bin}/ssh-add rix,
|
||||||
|
|
||||||
owner @{HOME}/@{XDG_SSH_DIR}/* r,
|
owner @{HOME}/@{XDG_SSH_DIR}/{,*} r,
|
||||||
|
|
||||||
owner @{run}/user/@{uid}/ssh-askpass.@{rand6}/{,*} rw,
|
owner @{run}/user/@{uid}/ssh-askpass.@{rand6}/{,*} rw,
|
||||||
|
|
Loading…
Reference in a new issue