apparmor.d/apparmor.d/groups/kde/kstart
Jeroen Rijken 4c5a21145a General update
Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
2024-02-21 13:56:40 +00:00

34 lines
921 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Jeroen Rijken
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/kstart
profile kstart @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/bus-accessibility>
include <abstractions/dri>
include <abstractions/fontconfig-cache-read>
include <abstractions/kde-strict>
include <abstractions/kde-open5>
include <abstractions/nameservice-strict>
@{exec_path} mr,
@{bin}/** rPUx,
@{bin}/konsole rPx,
/var/lib/flatpak/exports/share/mime/ r,
owner @{user_cache_dirs}/mesa_shader_cache/index rw,
owner @{user_share_dirs}/kservices5/ r,
owner @{user_share_dirs}/kservices5/ServiceMenus/ r,
@{PROC}/sys/dev/i915/perf_stream_paranoid r,
include if exists <local/kstart>
}