feat(profiles): minor kde additions.

This commit is contained in:
Alexandre Pujol 2023-11-22 20:06:39 +00:00
parent ae99433595
commit 6c6646e1f6
Failed to generate hash of commit
4 changed files with 9 additions and 4 deletions

View file

@ -21,6 +21,8 @@ profile akonadi_indexing_agent @{exec_path} {
@{exec_path} mr, @{exec_path} mr,
@{bin}/akonadi_html_to_text rix,
/usr/share/akonadi/plugins/serializer/ r, /usr/share/akonadi/plugins/serializer/ r,
/usr/share/akonadi/plugins/serializer/*.desktop r, /usr/share/akonadi/plugins/serializer/*.desktop r,
/usr/share/hwdata/*.ids r, /usr/share/hwdata/*.ids r,

View file

@ -25,6 +25,10 @@ profile plasma-browser-integration-host @{exec_path} {
@{exec_path} mr, @{exec_path} mr,
/usr/share/kservices5/{,**} r, /usr/share/kservices5/{,**} r,
/usr/share/mime/ r,
/etc/xdg/menus/ r,
/etc/xdg/taskmanagerrulesrc r,
owner @{user_cache_dirs}/ksycoca5_* r, owner @{user_cache_dirs}/ksycoca5_* r,
owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_cache_dirs}/icon-cache.kcache rw,

View file

@ -36,8 +36,7 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
network netlink raw, network netlink raw,
ptrace (read) peer=kwalletd5, ptrace (read),
ptrace (read) peer=unconfined,
ptrace (trace) peer=@{profile_name}, ptrace (trace) peer=@{profile_name},
signal (send) set=term peer=kwin_wayland, signal (send) set=term peer=kwin_wayland,
@ -140,10 +139,10 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
owner @{user_share_dirs}/sddm/xorg-session.log w, owner @{user_share_dirs}/sddm/xorg-session.log w,
/tmp/sddm-* rw, /tmp/sddm-* rw,
/tmp/xauth_@{rand6} rwl -> /tmp/#@{int},
owner /tmp/*/{,s} rw, owner /tmp/*/{,s} rw,
owner /tmp/#@{int} rw, owner /tmp/#@{int} rw,
owner /tmp/sddm-auth* rw, owner /tmp/sddm-auth* rw,
owner /tmp/xauth_@{rand6} rwl -> /tmp/#@{int},
@{run}/faillock/[a-zA-z0-9]* rwk, @{run}/faillock/[a-zA-z0-9]* rwk,
@{run}/sddm.pid rw, @{run}/sddm.pid rw,

View file

@ -41,7 +41,7 @@ profile startplasma @{exec_path} {
owner @{user_cache_dirs}/ rw, owner @{user_cache_dirs}/ rw,
owner @{user_cache_dirs}/#@{int} rw, owner @{user_cache_dirs}/#@{int} rw,
owner @{user_cache_dirs}/kcrash-metadata/ rw, owner @{user_cache_dirs}/kcrash-metadata/ rw,
owner @{user_cache_dirs}/ksycoca5_* rwkl -> @{user_cache_dirs}/#@{int}, @{user_cache_dirs}/ksycoca5_* rwkl -> @{user_cache_dirs}/#@{int},
owner @{user_cache_dirs}/plasma-svgelements rw, owner @{user_cache_dirs}/plasma-svgelements rw,
owner @{user_config_dirs}/#@{int} rw, owner @{user_config_dirs}/#@{int} rw,