feat(profile): add keyboxd.

This commit is contained in:
Alexandre Pujol 2024-01-27 19:43:12 +00:00
parent 72ade58c98
commit 4234c54f52
Failed to generate hash of commit
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,22 @@
# 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}/gnupg/keyboxd
profile keyboxd @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
owner @{HOME}/@{XDG_GPG_DIR}/common.conf r,
owner @{HOME}/@{XDG_GPG_DIR}/public-keys.d/ rw,
owner @{HOME}/@{XDG_GPG_DIR}/public-keys.d/* rwlk,
owner @{PROC}/@{pid}/fd/ r,
include if exists <local/keyboxd>
}

View file

@ -207,6 +207,7 @@ kde-powerdevil attach_disconnected,mediate_deleted,complain
kde-systemd-start-condition complain
kded5 complain
kernel-install complain
keyboxd complain
kglobalaccel5 complain
kgx complain
kio_http_cache_cleaner complain
@ -403,7 +404,7 @@ update-ca-certificates complain
update-grub complain
update-secureboot-policy complain
userdbctl complain
utempter complain
utempter attach_disconnected,complain
uuidd complain
virt-manager attach_disconnected,complain
virtinterfaced attach_disconnected,complain