mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(profile): add keyboxd.
This commit is contained in:
parent
72ade58c98
commit
4234c54f52
2 changed files with 24 additions and 1 deletions
22
apparmor.d/groups/gpg/keyboxd
Normal file
22
apparmor.d/groups/gpg/keyboxd
Normal 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>
|
||||||
|
}
|
|
@ -207,6 +207,7 @@ kde-powerdevil attach_disconnected,mediate_deleted,complain
|
||||||
kde-systemd-start-condition complain
|
kde-systemd-start-condition complain
|
||||||
kded5 complain
|
kded5 complain
|
||||||
kernel-install complain
|
kernel-install complain
|
||||||
|
keyboxd complain
|
||||||
kglobalaccel5 complain
|
kglobalaccel5 complain
|
||||||
kgx complain
|
kgx complain
|
||||||
kio_http_cache_cleaner complain
|
kio_http_cache_cleaner complain
|
||||||
|
@ -403,7 +404,7 @@ update-ca-certificates complain
|
||||||
update-grub complain
|
update-grub complain
|
||||||
update-secureboot-policy complain
|
update-secureboot-policy complain
|
||||||
userdbctl complain
|
userdbctl complain
|
||||||
utempter complain
|
utempter attach_disconnected,complain
|
||||||
uuidd complain
|
uuidd complain
|
||||||
virt-manager attach_disconnected,complain
|
virt-manager attach_disconnected,complain
|
||||||
virtinterfaced attach_disconnected,complain
|
virtinterfaced attach_disconnected,complain
|
||||||
|
|
Loading…
Reference in a new issue