parent
1506ae04d8
commit
cea9fd5614
10 changed files with 32 additions and 9 deletions
|
|
@ -39,6 +39,7 @@ profile DiscoverNotifier @{exec_path} {
|
||||||
@{bin}/gpgconf rCx -> gpg,
|
@{bin}/gpgconf rCx -> gpg,
|
||||||
@{bin}/gpgsm rCx -> gpg,
|
@{bin}/gpgsm rCx -> gpg,
|
||||||
|
|
||||||
|
/usr/share/flatpak/remotes.d/{,**} r,
|
||||||
/usr/share/metainfo/{,**} r,
|
/usr/share/metainfo/{,**} r,
|
||||||
|
|
||||||
/etc/machine-id r,
|
/etc/machine-id r,
|
||||||
|
|
|
||||||
|
|
@ -182,6 +182,9 @@ profile kded @{exec_path} {
|
||||||
|
|
||||||
@{sys}/class/leds/ r,
|
@{sys}/class/leds/ r,
|
||||||
|
|
||||||
|
@{run}/udev/data/b8:@{int} r, # for /dev/sd*
|
||||||
|
@{run}/udev/data/b259:@{int} r, # Block Extended Major
|
||||||
|
|
||||||
@{PROC}/ r,
|
@{PROC}/ r,
|
||||||
@{PROC}/@{pids}/cmdline/ r,
|
@{PROC}/@{pids}/cmdline/ r,
|
||||||
@{PROC}/@{pids}/fd/ r,
|
@{PROC}/@{pids}/fd/ r,
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@ profile kioworker @{exec_path} {
|
||||||
/usr/share/kservices{5,6}/{,**} r,
|
/usr/share/kservices{5,6}/{,**} r,
|
||||||
/usr/share/kservicetypes{5,6}/*.desktop r,
|
/usr/share/kservicetypes{5,6}/*.desktop r,
|
||||||
/usr/share/remoteview/* r,
|
/usr/share/remoteview/* r,
|
||||||
|
/usr/share/thumbnailers/{,**} r,
|
||||||
|
|
||||||
/etc/fstab r,
|
/etc/fstab r,
|
||||||
/etc/xdg/kioslaverc r,
|
/etc/xdg/kioslaverc r,
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@ profile kscreen_backend_launcher @{exec_path} {
|
||||||
include <abstractions/bus-accessibility>
|
include <abstractions/bus-accessibility>
|
||||||
include <abstractions/bus-session>
|
include <abstractions/bus-session>
|
||||||
include <abstractions/bus/org.a11y>
|
include <abstractions/bus/org.a11y>
|
||||||
|
include <abstractions/desktop>
|
||||||
include <abstractions/kde-strict>
|
include <abstractions/kde-strict>
|
||||||
include <abstractions/lxqt>
|
|
||||||
|
|
||||||
#aa:dbus own bus=session name=org.kde.KScreen
|
#aa:dbus own bus=session name=org.kde.KScreen
|
||||||
#aa:dbus talk bus=system name=org.kde.kf5auth path=/ label=kde-powerdevil
|
#aa:dbus talk bus=system name=org.kde.kf5auth path=/ label=kde-powerdevil
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/ksmserver-logout-greeter
|
@{exec_path} = @{bin}/ksmserver-logout-greeter
|
||||||
@{exec_path} += @{lib}/@{multiarch}/{,libexec/}ksmserver-logout-greeter
|
@{exec_path} += @{lib}/@{multiarch}/{,libexec/}ksmserver-logout-greeter
|
||||||
profile ksmserver-logout-greeter @{exec_path} flags=(attach_disconnected) {
|
profile ksmserver-logout-greeter @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
include <abstractions/fontconfig-cache-read>
|
include <abstractions/fontconfig-cache-read>
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ profile kwalletd @{exec_path} {
|
||||||
owner @{user_share_dirs}/kwalletd/ rw,
|
owner @{user_share_dirs}/kwalletd/ rw,
|
||||||
owner @{user_share_dirs}/kwalletd/** rwkl -> @{user_share_dirs}/kwalletd/#@{int},
|
owner @{user_share_dirs}/kwalletd/** rwkl -> @{user_share_dirs}/kwalletd/#@{int},
|
||||||
|
|
||||||
owner @{run}/user/@{uid}/kwallet{5,6}.socket r,
|
owner @{run}/user/@{uid}/kwallet{5,6}.socket rw,
|
||||||
|
|
||||||
owner @{tmp}/kwalletd5.* rw,
|
owner @{tmp}/kwalletd5.* rw,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/kwin_wayland
|
@{exec_path} = @{bin}/kwin_wayland
|
||||||
profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
|
profile kwin_wayland @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/app-launcher-user>
|
include <abstractions/app-launcher-user>
|
||||||
include <abstractions/bus-accessibility>
|
include <abstractions/bus-accessibility>
|
||||||
|
|
@ -46,6 +46,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
|
||||||
|
|
||||||
/etc/xdg/Xwayland-session.d/00-at-spi Cx -> at-spi,
|
/etc/xdg/Xwayland-session.d/00-at-spi Cx -> at-spi,
|
||||||
/etc/xdg/Xwayland-session.d/00-pulseaudio-x11 Cx -> pulseaudio,
|
/etc/xdg/Xwayland-session.d/00-pulseaudio-x11 Cx -> pulseaudio,
|
||||||
|
/etc/xdg/Xwayland-session.d/10-ibus-x11 Cx -> ibus,
|
||||||
#aa:exec kscreenlocker_greet
|
#aa:exec kscreenlocker_greet
|
||||||
|
|
||||||
/usr/share/color-schemes/*.colors r,
|
/usr/share/color-schemes/*.colors r,
|
||||||
|
|
@ -53,6 +54,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
|
||||||
/usr/share/kglobalaccel/{,**} r,
|
/usr/share/kglobalaccel/{,**} r,
|
||||||
/usr/share/kservices{5,6}/{,**} r,
|
/usr/share/kservices{5,6}/{,**} r,
|
||||||
/usr/share/kservicetypes5/{,*.desktop} r,
|
/usr/share/kservicetypes5/{,*.desktop} r,
|
||||||
|
/usr/share/kwin-wayland/{,**} r,
|
||||||
/usr/share/kwin/{,**} r,
|
/usr/share/kwin/{,**} r,
|
||||||
/usr/share/libinput-*/{,**} r,
|
/usr/share/libinput-*/{,**} r,
|
||||||
/usr/share/libinput/{,**} r,
|
/usr/share/libinput/{,**} r,
|
||||||
|
|
@ -179,6 +181,21 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
|
||||||
include if exists <local/kwin_wayland_pulseaudio>
|
include if exists <local/kwin_wayland_pulseaudio>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
profile ibus {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/consoles>
|
||||||
|
|
||||||
|
@{sh_path} r,
|
||||||
|
@{lib}/{,ibus/}ibus-x11 rPx,
|
||||||
|
|
||||||
|
/etc/xdg/Xwayland-session.d/10-ibus-x11 r,
|
||||||
|
|
||||||
|
/home/ r,
|
||||||
|
owner @{HOME}/ r,
|
||||||
|
|
||||||
|
include if exists <local/kwin_wayland_ibus>
|
||||||
|
}
|
||||||
|
|
||||||
include if exists <local/kwin_wayland>
|
include if exists <local/kwin_wayland>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
|
||||||
@{lib}/libheif/{,**} mr,
|
@{lib}/libheif/{,**} mr,
|
||||||
|
|
||||||
@{bin}/dolphin rPx,
|
@{bin}/dolphin rPx,
|
||||||
@{bin}/ksysguardd rix,
|
@{bin}/ksysguardd rPUx,
|
||||||
@{bin}/plasma-discover rPUx,
|
@{bin}/plasma-discover rPUx,
|
||||||
@{bin}/xrdb rPx,
|
@{bin}/xrdb rPx,
|
||||||
@{lib}/kf{5,6}/kdesu{,d} rix,
|
@{lib}/kf{5,6}/kdesu{,d} rix,
|
||||||
|
|
@ -104,7 +104,6 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
|
||||||
|
|
||||||
/etc/appstream.conf r,
|
/etc/appstream.conf r,
|
||||||
/etc/fstab r,
|
/etc/fstab r,
|
||||||
/etc/ksysguarddrc r,
|
|
||||||
/etc/machine-id r,
|
/etc/machine-id r,
|
||||||
/etc/os-release r,
|
/etc/os-release r,
|
||||||
/etc/sensors.d/ r,
|
/etc/sensors.d/ r,
|
||||||
|
|
@ -166,6 +165,7 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
|
||||||
owner @{user_config_dirs}/klaunchrc r,
|
owner @{user_config_dirs}/klaunchrc r,
|
||||||
owner @{user_config_dirs}/klipperrc r,
|
owner @{user_config_dirs}/klipperrc r,
|
||||||
owner @{user_config_dirs}/kmail2.notifyrc r,
|
owner @{user_config_dirs}/kmail2.notifyrc r,
|
||||||
|
owner @{user_config_dirs}/knfsshare r,
|
||||||
owner @{user_config_dirs}/korganizerrc r,
|
owner @{user_config_dirs}/korganizerrc r,
|
||||||
owner @{user_config_dirs}/krunnerrc r,
|
owner @{user_config_dirs}/krunnerrc r,
|
||||||
owner @{user_config_dirs}/ksmserverrc r,
|
owner @{user_config_dirs}/ksmserverrc r,
|
||||||
|
|
@ -200,9 +200,10 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
|
||||||
owner @{user_share_dirs}/wallpapers/{,**} rw,
|
owner @{user_share_dirs}/wallpapers/{,**} rw,
|
||||||
|
|
||||||
owner @{user_state_dirs}/#@{int} rw,
|
owner @{user_state_dirs}/#@{int} rw,
|
||||||
|
owner @{user_state_dirs}/plasma/* r,
|
||||||
owner @{user_state_dirs}/plasmashellstaterc rw,
|
owner @{user_state_dirs}/plasmashellstaterc rw,
|
||||||
owner @{user_state_dirs}/plasmashellstaterc.lock rwk,
|
|
||||||
owner @{user_state_dirs}/plasmashellstaterc.@{rand6} rwl,
|
owner @{user_state_dirs}/plasmashellstaterc.@{rand6} rwl,
|
||||||
|
owner @{user_state_dirs}/plasmashellstaterc.lock rwk,
|
||||||
|
|
||||||
/tmp/.mount_nextcl@{rand6}/{,*} r,
|
/tmp/.mount_nextcl@{rand6}/{,*} r,
|
||||||
owner @{tmp}/#@{int} rw,
|
owner @{tmp}/#@{int} rw,
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,7 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
||||||
@{bin}/flatpak rPx,
|
@{bin}/flatpak rPx,
|
||||||
@{bin}/gnome-keyring-daemon rPx,
|
@{bin}/gnome-keyring-daemon rPx,
|
||||||
@{bin}/Hyprland rPx,
|
@{bin}/Hyprland rPx,
|
||||||
|
@{bin}/ksecretd rPUx,
|
||||||
@{bin}/kwalletd{5,6} rPx,
|
@{bin}/kwalletd{5,6} rPx,
|
||||||
@{bin}/kwin_wayland rPx,
|
@{bin}/kwin_wayland rPx,
|
||||||
@{bin}/labwc rPx,
|
@{bin}/labwc rPx,
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{etc_ro}/sddm/wayland-session
|
@{exec_path} = @{etc_ro}/sddm/wayland-session
|
||||||
profile wayland-session @{exec_path} {
|
profile wayland-session @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/consoles>
|
||||||
include <abstractions/shells>
|
include <abstractions/shells>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
@ -39,8 +40,6 @@ profile wayland-session @{exec_path} {
|
||||||
|
|
||||||
owner @{user_share_dirs}/sddm/wayland-session.log rw,
|
owner @{user_share_dirs}/sddm/wayland-session.log rw,
|
||||||
|
|
||||||
/dev/tty rw,
|
|
||||||
|
|
||||||
include if exists <local/wayland-session>
|
include if exists <local/wayland-session>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue