feat(profile): use the cups-client more often.

This commit is contained in:
Alexandre Pujol 2024-06-10 23:51:38 +01:00
parent bb6df870bb
commit 222685c029
Failed to generate hash of commit
5 changed files with 5 additions and 10 deletions

View file

@ -17,6 +17,7 @@
include <abstractions/bus-system>
include <abstractions/bus/org.a11y>
include <abstractions/bus/org.freedesktop.FileManager1>
include <abstractions/cups-client>
include <abstractions/dconf-write>
include <abstractions/desktop>
include <abstractions/enchant>
@ -69,7 +70,6 @@
/usr/share/xul-ext/kwallet5/* r,
/etc/@{name}/{,**} r,
/etc/cups/client.conf r,
/etc/fstab r,
/etc/mailcap r,
/etc/mime.types r,
@ -81,7 +81,6 @@
/var/lib/nscd/services r,
owner @{HOME}/ r,
owner @{HOME}/.cups/lpoptions r,
owner @{config_dirs}/ rw,
owner @{config_dirs}/** rwk,

View file

@ -15,6 +15,7 @@
include <abstractions/bus-system>
include <abstractions/bus/org.a11y>
include <abstractions/consoles>
include <abstractions/cups-client>
# include <abstractions/deny-sensitive-home>
include <abstractions/desktop>
include <abstractions/devices-usb>
@ -63,7 +64,6 @@
owner @{tmp}/** rmwk,
owner /dev/shm/** rwlk -> /dev/shm/**,
@{run}/cups/cups.sock rw, # Allow access to cups printing socket.
@{run}/havahi-daemon/socket rw, # Allow access to avahi-daemon socket.
@{run}/host/{,**} r,
@{run}/pcscd/pcscd.comm rw, # Allow access to pcscd socket.

View file

@ -16,6 +16,7 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
include <abstractions/bus/org.a11y>
include <abstractions/bus/org.freedesktop.portal.Desktop>
include <abstractions/bus/org.gtk.vfs.MountTracker>
include <abstractions/cups-client>
include <abstractions/dconf-write>
include <abstractions/gnome-strict>
include <abstractions/graphics>
@ -93,7 +94,6 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
/usr/share/wallpapers/{,**} r,
/usr/share/xml/iso-codes/{,**} r,
/etc/cups/client.conf r,
/etc/machine-info r,
/etc/rygel.conf r,
/etc/security/pwquality.conf r,
@ -130,7 +130,6 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
owner @{tmp}/gdkpixbuf-xpm-tmp.@{rand6} rw,
@{run}/cups/cups.sock rw,
@{run}/samba/ rw,
@{run}/systemd/sessions/ r,
@{run}/systemd/sessions/* r,

View file

@ -13,6 +13,7 @@ profile gsd-print-notifications @{exec_path} flags=(attach_disconnected) {
include <abstractions/bus-system>
include <abstractions/bus/org.freedesktop.Avahi>
include <abstractions/bus/org.gnome.SessionManager>
include <abstractions/cups-client>
include <abstractions/nameservice-strict>
network inet stream,
@ -34,10 +35,6 @@ profile gsd-print-notifications @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
@{lib}/gsd-printer rPx,
/etc/cups/client.conf r,
@{run}/cups/cups.sock rw,
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/fd/ r,

View file

@ -16,6 +16,7 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
include <abstractions/bus/org.freedesktop.NetworkManager>
include <abstractions/bus/org.freedesktop.UPower>
include <abstractions/consoles>
include <abstractions/cups-client>
include <abstractions/devices-usb>
include <abstractions/disks-read>
include <abstractions/enchant>
@ -76,7 +77,6 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
/usr/share/wallpapers/{,**} r,
/etc/appstream.conf r,
/etc/cups/client.conf r,
/etc/fstab r,
/etc/ksysguarddrc r,
/etc/machine-id r,