Add kstart, XDG KDE updates

Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
Jeroen Rijken 2023-08-06 17:02:04 +02:00
parent eaf9bdb32b
commit c5998d37a2
4 changed files with 28 additions and 1 deletions

View File

@ -21,6 +21,7 @@ profile xdg-mime @{exec_path} flags=(attach_disconnected) {
@{bin}/cut rix,
@{bin}/file rix,
@{bin}/head rix,
@{bin}/ktraderclient5 rPUx,
@{bin}/mv rix,
@{bin}/readlink rix,
@{bin}/sed rix,

View File

@ -19,6 +19,7 @@ profile xdg-settings @{exec_path} {
@{bin}/basename rix,
@{bin}/cat rix,
@{bin}/cut rix,
@{bin}/kreadconfig5 rPx,
@{bin}/mktemp rix,
@{bin}/mv rix,
@{bin}/readlink rix,

View File

@ -15,7 +15,7 @@ profile kglobalaccel5 @{exec_path} {
@{exec_path} mr,
@{bin}/kstart rPUx,
@{bin}/kstart rPx,
/usr/share/hwdata/*.ids r,
/usr/share/icu/@{int}.@{int}/*.dat r,

View File

@ -0,0 +1,25 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Jeroen Rijken
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/kstart
profile kstart @{exec_path} flags=(complain,attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/fontconfig-cache-read>
include <abstractions/fonts>
unix (connect, send, receive) type=stream peer=(addr="@/tmp/.ICE-unix/4979"),
@{exec_path} mr,
/{usr/,}bin/** rPUx,
/{usr/,}bin/konsole rUx,
@{HOME}.Xauthority r,
include if exists <local/kstart>
}