feat(profile): zypper & kde integration.

See: #134
This commit is contained in:
Alexandre Pujol 2023-03-28 00:02:35 +01:00
parent e73fc07792
commit aaa24f644b
Failed to generate hash of commit
4 changed files with 12 additions and 2 deletions

View file

@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/cron
profile cron @{exec_path} {
profile cron @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/app-launcher-root>
include <abstractions/authentication>
@ -45,6 +45,7 @@ profile cron @{exec_path} {
/var/spool/cron/crontabs/{,*} r,
@{run}/systemd/sessions/*.ref rw,
owner @{run}/crond.pid rwk,
owner @{run}/crond.reboot rw,

View file

@ -70,6 +70,11 @@ profile gpg-agent @{exec_path} {
owner /var/lib/*/gnupg/{,d.*/}S.gpg-agent{,.ssh,.browser,.extra} rw,
owner /var/lib/*/gnupg/sshcontrol r,
owner /var/tmp/zypp.*/ rw,
owner /var/tmp/zypp.*/{,*/}private-keys-v1.d/ rw,
owner /var/tmp/zypp.*/{,*/}private-keys-v1.d/@{hex}.key rw,
owner /var/tmp/zypp.*/{,*/}S.gpg-agent{,.ssh,.browser,.extra} rw,
owner /tmp/tmp.*/gnupg/ rw,
owner /tmp/tmp.*/gnupg/private-keys-v1.d/ rw,
owner /tmp/tmp.*/gnupg/private-keys-v1.d/@{hex}.key rw,

View file

@ -24,7 +24,9 @@ profile scdaemon @{exec_path} {
owner @{run}/user/@{uid}/gnupg/S.scdaemon rw,
owner @{run}/user/@{uid}/gnupg/d.*/S.scdaemon rw,
owner /var/tmp/zypp.??????/zypp-trusted-*/S.scdaemon w,
owner /var/tmp/zypp.*/PublicKey/S.scdaemon w,
owner /var/tmp/zypp.*/zypp-general-kr*/S.scdaemon w,
owner /var/tmp/zypp.*/zypp-trusted-*/S.scdaemon w,
@{PROC}/@{pid}/task/@{tid}/comm rw,

View file

@ -66,6 +66,8 @@ profile sddm @{exec_path} {
@{exec_path} mr,
/{usr/,}lib/@{multiarch}/sddm/sddm-helper rix,
/{usr/,}lib{,exec}/sddm/sddm-helper rix,
/{usr/,}bin/{,ba,da}sh mrix,
/{usr/,}bin/sddm-greeter rPx,