Various updates (#204)

This commit is contained in:
curiosityseeker 2023-09-04 15:58:07 +02:00 committed by GitHub
parent 090349bed2
commit 41525621aa
Failed to generate hash of commit
10 changed files with 22 additions and 7 deletions

View file

@ -29,6 +29,7 @@ profile xdg-open @{exec_path} flags=(attach_disconnected) {
@{bin}/exo-open rPx, @{bin}/exo-open rPx,
@{bin}/gio rPx, @{bin}/gio rPx,
#@{bin}/kde-open5 rPUx, #@{bin}/kde-open5 rPUx,
@{bin}/ktraderclient5 rPUx,
@{bin}/dbus-launch rCx -> dbus, @{bin}/dbus-launch rCx -> dbus,
@{bin}/dbus-send rCx -> dbus, @{bin}/dbus-send rCx -> dbus,

View file

@ -13,6 +13,7 @@ profile kactivitymanagerd @{exec_path} {
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/qt5> include <abstractions/qt5>
include <abstractions/recent-documents-write> include <abstractions/recent-documents-write>
include <abstractions/wayland>
include <abstractions/X-strict> include <abstractions/X-strict>
@{exec_path} mr, @{exec_path} mr,
@ -20,7 +21,9 @@ profile kactivitymanagerd @{exec_path} {
/etc/xdg/menus/{,*/} r, /etc/xdg/menus/{,*/} r,
/usr/share/hwdata/*.ids r, /usr/share/hwdata/*.ids r,
/usr/share/icu/@{int}.@{int}/*.dat r, /usr/share/icu/@{int}.@{int}/*.dat r,
/usr/share/kf5/kactivitymanagerd/{,**} r,
/usr/share/kservices5/{,**} r, /usr/share/kservices5/{,**} r,
/usr/share/mime/{,**} r,
/etc/xdg/kdeglobals r, /etc/xdg/kdeglobals r,
/etc/machine-id r, /etc/machine-id r,
@ -39,6 +42,7 @@ profile kactivitymanagerd @{exec_path} {
owner @{user_share_dirs}/kactivitymanagerd/{,**} rwlk, owner @{user_share_dirs}/kactivitymanagerd/{,**} rwlk,
owner @{user_share_dirs}/kservices5/{,**} r, owner @{user_share_dirs}/kservices5/{,**} r,
owner @{user_share_dirs}/recently-used.xbel r,
@{PROC}/sys/kernel/core_pattern r, @{PROC}/sys/kernel/core_pattern r,
@{PROC}/sys/kernel/random/boot_id r, @{PROC}/sys/kernel/random/boot_id r,
@ -46,4 +50,4 @@ profile kactivitymanagerd @{exec_path} {
/dev/tty r, /dev/tty r,
include if exists <local/kactivitymanagerd> include if exists <local/kactivitymanagerd>
} }

View file

@ -44,6 +44,7 @@ profile kded5 @{exec_path} {
@{bin}/kcminit rPx, @{bin}/kcminit rPx,
@{bin}/pgrep rCx -> pgrep, @{bin}/pgrep rCx -> pgrep,
@{bin}/setxkbmap rix, @{bin}/setxkbmap rix,
@{bin}/xrdb rPx,
@{bin}/xsettingsd rPx, @{bin}/xsettingsd rPx,
@{lib}/kf5/kconf_update rPx, @{lib}/kf5/kconf_update rPx,
@{lib}/utempter/utempter rPx, @{lib}/utempter/utempter rPx,
@ -61,6 +62,7 @@ profile kded5 @{exec_path} {
/etc/fstab r, /etc/fstab r,
/etc/machine-id r, /etc/machine-id r,
/etc/xdg/accept-languages.codes r,
/etc/xdg/kcminputrc r, /etc/xdg/kcminputrc r,
/etc/xdg/kde* r, /etc/xdg/kde* r,
/etc/xdg/kioslaverc r, /etc/xdg/kioslaverc r,
@ -135,6 +137,7 @@ profile kded5 @{exec_path} {
owner @{PROC}/@{pid}/mountinfo r, owner @{PROC}/@{pid}/mountinfo r,
owner @{PROC}/@{pid}/mounts r, owner @{PROC}/@{pid}/mounts r,
/dev/disk/by-label/ r,
/dev/ptmx rw, /dev/ptmx rw,
/dev/rfkill r, /dev/rfkill r,

View file

@ -17,6 +17,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
include <abstractions/freedesktop.org> include <abstractions/freedesktop.org>
include <abstractions/mesa> include <abstractions/mesa>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/qt5-shader-cache>
include <abstractions/vulkan> include <abstractions/vulkan>
include <abstractions/wayland> include <abstractions/wayland>
@ -55,7 +56,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
owner /var/lib/sddm/.cache/#@{int} rw, owner /var/lib/sddm/.cache/#@{int} rw,
owner /var/lib/sddm/.cache/fontconfig/* r, owner /var/lib/sddm/.cache/fontconfig/* rw,
owner /var/lib/sddm/.cache/mesa_shader_cache/** r, owner /var/lib/sddm/.cache/mesa_shader_cache/** r,
owner /var/lib/sddm/.cache/mesa_shader_cache/index rw, owner /var/lib/sddm/.cache/mesa_shader_cache/index rw,
owner /var/lib/sddm/.cache/ksycoca5_* rwkl -> /var/lib/sddm/.cache/#@{int}, owner /var/lib/sddm/.cache/ksycoca5_* rwkl -> /var/lib/sddm/.cache/#@{int},

View file

@ -128,6 +128,7 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
owner @{user_config_dirs}/kdeglobals r, owner @{user_config_dirs}/kdeglobals r,
owner @{user_config_dirs}/kdedefaults/kdeglobals r, owner @{user_config_dirs}/kdedefaults/kdeglobals r,
owner @{user_config_dirs}/menus/{,**} r,
owner @{user_config_dirs}/startkderc r, owner @{user_config_dirs}/startkderc r,
owner @{user_share_dirs}/ w, owner @{user_share_dirs}/ w,

View file

@ -54,7 +54,7 @@ profile startplasma @{exec_path} {
owner @{user_config_dirs}/kdeglobals{,.@{rand6}} rwl -> @{user_config_dirs}/#@{int}, owner @{user_config_dirs}/kdeglobals{,.@{rand6}} rwl -> @{user_config_dirs}/#@{int},
owner @{user_config_dirs}/ksplashrc r, owner @{user_config_dirs}/ksplashrc r,
owner @{user_config_dirs}/kwinkdeglobalsrc.lock rwk, owner @{user_config_dirs}/kwinkdeglobalsrc.lock rwk,
owner @{user_config_dirs}/menus/{,**.menu} r, owner @{user_config_dirs}/menus/{,**} r,
owner @{user_config_dirs}/plasma-localerc rwl, owner @{user_config_dirs}/plasma-localerc rwl,
owner @{user_config_dirs}/plasma-localerc.lock rwk, owner @{user_config_dirs}/plasma-localerc.lock rwk,
owner @{user_config_dirs}/plasma-workspace/env/ r, owner @{user_config_dirs}/plasma-workspace/env/ r,

View file

@ -80,7 +80,7 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
/etc/plymouth/plymouthd.conf r, /etc/plymouth/plymouthd.conf r,
/etc/vconsole.conf r, /etc/vconsole.conf r,
/usr/share/kbd/keymaps/{,**} r, /usr/share/kbd/{,**} r,
/usr/share/plymouth/*.png r, /usr/share/plymouth/*.png r,
/usr/share/plymouth/plymouthd.defaults r, /usr/share/plymouth/plymouthd.defaults r,
/usr/share/plymouth/themes/{,**} r, /usr/share/plymouth/themes/{,**} r,
@ -109,6 +109,8 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/@{pid}/mountinfo r, owner @{PROC}/@{pid}/mountinfo r,
/dev/tty@{int}* rw,
# Inherit silencer # Inherit silencer
deny @{HOME}/** r, deny @{HOME}/** r,
deny network inet6 stream, deny network inet6 stream,

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{bin}/systemd-hwdb @{exec_path} = @{bin}/systemd-hwdb
profile systemd-hwdb @{exec_path} flags=(attach_disconnected) { profile systemd-hwdb @{exec_path} flags=(attach_disconnected,mediate_deleted) {
include <abstractions/base> include <abstractions/base>
include <abstractions/consoles> include <abstractions/consoles>
@ -15,6 +15,7 @@ profile systemd-hwdb @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr, @{exec_path} mr,
@{lib}/udev/#@{int} rwl,
@{lib}/udev/.#hwdb.bin[0-9a-zA-Z]* wl -> @{lib}/udev/#@{int}, @{lib}/udev/.#hwdb.bin[0-9a-zA-Z]* wl -> @{lib}/udev/#@{int},
@{lib}/udev/hwdb.bin w, @{lib}/udev/hwdb.bin w,

View file

@ -29,5 +29,7 @@ profile zram-generator @{exec_path} {
@{PROC}/crypto r, @{PROC}/crypto r,
owner /dev/pts/@{int} rw,
include if exists <local/zram-generator> include if exists <local/zram-generator>
} }

View file

@ -277,7 +277,7 @@ systemd-escape complain
systemd-homed attach_disconnected,complain systemd-homed attach_disconnected,complain
systemd-homework complain systemd-homework complain
systemd-hostnamed attach_disconnected,complain systemd-hostnamed attach_disconnected,complain
systemd-hwdb attach_disconnected,complain systemd-hwdb attach_disconnected,mediate_deleted,complain
systemd-inhibit attach_disconnected,complain systemd-inhibit attach_disconnected,complain
systemd-localed attach_disconnected,complain systemd-localed attach_disconnected,complain
systemd-logind attach_disconnected,complain systemd-logind attach_disconnected,complain