feat(profile): improve kde support on debian.

This commit is contained in:
Alexandre Pujol 2024-03-20 16:13:20 +00:00
parent 74b10ec4d3
commit 5039dae148
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
30 changed files with 111 additions and 45 deletions

View file

@ -0,0 +1,28 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{etc_ro}/sddm/wayland-session
profile wayland-session @{exec_path} {
include <abstractions/base>
include <abstractions/bash-strict>
@{exec_path} mr,
@{sh_path} rix,
@{bin}/id rix,
@{lib}/plasma-dbus-run-session-if-needed rix,
@{lib}/@{multiarch}/libexec/plasma-dbus-run-session-if-needed rix,
@{bin}/startplasma-wayland rPx,
/etc/machine-id r,
owner @{user_share_dirs}/sddm/wayland-session.log rw,
include if exists <local/wayland-session>
}