Merge branch 'feat/update' of https://github.com/Jeroen0494/apparmor.d into Jeroen0494-feat/update

* 'feat/update' of https://github.com/Jeroen0494/apparmor.d:
  signal to socket
  Add kstart, XDG KDE updates
  Plank profile
  containerd and KDE updates
This commit is contained in:
Alexandre Pujol 2023-11-29 22:20:29 +00:00
commit f06f01a36a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
8 changed files with 67 additions and 2 deletions

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

@ -20,6 +20,10 @@ profile ksmserver @{exec_path} flags=(attach_disconnected,mediate_deleted) {
include <abstractions/X-strict>
signal (send) set=(usr1,term) peer=kscreenlocker-greet,
unix (connect, receive, send, accept)
type=stream
peer=(addr="@/tmp/.ICE-unix/[0-9]*"),
@{exec_path} mr,

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>
}