mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
Add kstart, XDG KDE updates
Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
parent
eaf9bdb32b
commit
c5998d37a2
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
25
apparmor.d/groups/kde/kstart
Normal file
25
apparmor.d/groups/kde/kstart
Normal 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>
|
||||
}
|
Loading…
Reference in New Issue
Block a user