feat(profile): add kreadconfig5 & some network integration.

See: #134
This commit is contained in:
Alexandre Pujol 2023-03-28 22:11:12 +01:00
parent aaa24f644b
commit df792530cd
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,23 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/kreadconfig5
profile kreadconfig @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/usr/share/icu/{,**} r,
/etc/xdg/kdeglobals r,
owner @{user_config_dirs}/kdedefaults/kdeglobals r,
owner @{user_config_dirs}/kdeglobals r,
include if exists <local/kreadconfig>
}