feat(kde): improve integration.

This commit is contained in:
Alexandre Pujol 2023-04-05 23:52:45 +01:00
parent 4f22a6ebaa
commit 26b4c574e3
Failed to generate hash of commit
5 changed files with 21 additions and 3 deletions

View file

@ -136,6 +136,7 @@ profile xorg @{exec_path} flags=(attach_disconnected) {
@{PROC}/@{pids}/cmdline r,
@{PROC}/cmdline r,
@{PROC}/ioports r,
@{PROC}/mtrr rw,
/dev/input/event[0-9]* rw,

View file

@ -14,17 +14,19 @@ profile xrdb @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/{,*-}cpp-[0-9]* rix,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/{,@{multiarch}-}cpp-[0-9]* rix,
/{usr/,}bin/cpp rix,
/{usr/,}lib{,32,64}/gcc/@{multiarch}/[0-9]*/cc1 rix,
/{usr/,}lib{,32,64}/gcc/*/[0-9]*/cc1 rix,
/{usr/,}lib/llvm-[0-9]*/bin/clang rix,
/usr/include/stdc-predef.h r,
@{etc_ro}/Xresources/x11-common r,
@{etc_ro}/X11/Xresources r,
# The location of the .Xresources file
owner @{HOME}/.Xdefaults r,
owner @{HOME}/.Xresources r,
owner @{user_config_dirs}/.Xresources r,
owner @{user_config_dirs}/Xresources/.Xresources r,
@ -35,6 +37,8 @@ profile xrdb @{exec_path} {
owner /tmp/startplasma-x11.?????? r,
owner /tmp/xauth-[0-9]*-_[0-9] r,
@{run}/sddm/\{@{uuid}\} r,
# file_inherit
owner /dev/tty[0-9]* rw,
owner @{HOME}/.xsession-errors w,

View file

@ -15,6 +15,8 @@ profile xset @{exec_path} {
owner @{HOME}/.Xauthority r,
@{run}/sddm/\{@{uuid}\} r,
# file_inherit
owner /dev/tty[0-9]* rw,
owner @{HOME}/.xsession-errors w,

View file

@ -46,6 +46,8 @@ profile sddm @{exec_path} flags=(attach_disconnected) {
/{usr/,}bin/tr rix,
/{usr/,}bin/cat rix,
/{usr/,}bin/tty rix,
/{usr/,}bin/xmodmap rix,
/{usr/,}{s,}bin/checkproc rix,
/{usr/,}bin/sddm-greeter rPx,
/etc/sddm/Xsession rPx,
@ -56,11 +58,14 @@ profile sddm @{exec_path} flags=(attach_disconnected) {
/{usr/,}bin/sway rPUx,
/{usr/,}bin/flatpak rPUx,
/{usr/,}bin/systemctl rPx -> child-systemctl,
@{etc_ro}/X11/xdm/Xsession rPx,
/{usr/,}bin/dbus-update-activation-environment rCx -> dbus,
/{usr/,}bin/gnome-keyring-daemon rPx,
/{usr/,}bin/kwalletd5 rPx,
/{usr/,}bin/startplasma-x11 rPx,
/{usr/,}bin/systemctl rPx -> child-systemctl,
/{usr/,}bin/xrdb rPx,
/{usr/,}bin/xset rPx,
/usr/etc/X11/xdm/Xsetup rix,
/usr/share/sddm/scripts/Xsetup rix,
@ -75,11 +80,13 @@ profile sddm @{exec_path} flags=(attach_disconnected) {
/usr/share/wayland-sessions/{,*.desktop} r,
/usr/share/xsessions/{,*.desktop} r,
/var/lib/AccountsService/icons/*.icon r,
/usr/share/qt5/qtlogging.ini r,
/etc/X11/xinit/xinitrc.d/{,*} r,
@{etc_ro}/environment r,
@{etc_ro}/security/limits.d/ r,
@{etc_ro}/X11/Xmodmap r,
/etc/debuginfod/{,*} r,
/etc/default/locale r,
/etc/locale.conf r,
@ -87,6 +94,7 @@ profile sddm @{exec_path} flags=(attach_disconnected) {
/etc/sddm.conf r,
/etc/sddm.conf.d/{,*} r,
/etc/shells r,
/etc/sysconfig/displaymanager r,
/ r,
@ -110,6 +118,7 @@ profile sddm @{exec_path} flags=(attach_disconnected) {
owner /tmp/sddm-auth* rw,
@{run}/faillock/[a-zA-z0-9]* rwk,
@{run}/sddm.pid rw,
@{run}/sddm/* w,
@{run}/systemd/sessions/*.ref rw,
owner @{run}/sddm/ rw,

View file

@ -48,6 +48,7 @@ profile login @{exec_path} flags=(attach_disconnected) {
/etc/legal r,
/etc/machine-id r,
/etc/motd r,
/etc/motd.d/ r,
/etc/security/group.conf r,
/etc/security/limits.conf r,
/etc/security/pam_env.conf r,
@ -57,6 +58,7 @@ profile login @{exec_path} flags=(attach_disconnected) {
owner @{user_cache_dirs}/motd.legal-displayed rw,
@{run}/motd.d/ r,
@{run}/dbus/system_bus_socket rw,
@{run}/faillock/* rwk,
@{run}/motd.dynamic{,.new} rw,