Small fixes.

This commit is contained in:
Alexandre Pujol 2021-05-30 16:15:29 +01:00
parent 9b7ab9cbc3
commit 44dc86cd36
Failed to generate hash of commit
7 changed files with 12 additions and 3 deletions

View file

@ -22,6 +22,9 @@ profile dbus-daemon @{exec_path} flags=(attach_disconnected) {
network netlink raw,
network bluetooth stream,
network bluetooth seqpacket,
ptrace (read) peer=unconfined,
@{exec_path} mr,

View file

@ -59,7 +59,7 @@ profile blueman @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/mounts r,
owner @{PROC}/@{pid}/cmdline r,
@{PROC}/@{pids}/cmdline r,
include <abstractions/dconf>
owner @{run}/user/@{uid}/dconf/ rw,

View file

@ -22,11 +22,13 @@ profile gsd-power @{exec_path} flags=(attach_disconnected) {
/usr/share/gdm/greeter-dconf-defaults r,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/icons/{,**} r,
/usr/share/sounds/freedesktop/index.theme r,
/usr/share/sounds/freedesktop/stereo/*.oga r,
/usr/share/X11/xkb/** r,
/etc/machine-id r,
/var/lib/dbus/machine-id r,
/var/lib/gdm/.config/pulse/client.conf r,
/etc/pulse/client.conf r,
owner @{user_cache_dirs}/event-sound-cache.tdb.* rwk,

View file

@ -22,6 +22,7 @@ profile browserpass @{exec_path} {
owner @{HOME}/.mozilla/firefox/[0-9a-z]*.default/extensions/* r,
owner @{user_cache_dirs}/mozilla/firefox/[0-9a-z]*.default/startupCache/scriptCache-*.bin r,
owner @{user_cache_dirs}/mozilla/firefox/[0-9a-z]*.default/startupCache/startupCache.*.little r,
owner @{user_cache_dirs}/mozilla/firefox/[0-9a-z]*.default/safebrowsing-updating/google[0-9]/goog-phish-proto-[0-9]*.vlpset rw,
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,

View file

@ -12,7 +12,7 @@ profile gdk-pixbuf-query-loaders @{exec_path} {
@{exec_path} mr,
/{usr/,}lib/gdk-pixbuf-[0-9].[0-9]*/*/loaders.cache.* rw,
/{usr/,}lib/gdk-pixbuf-[0-9].[0-9]*/{,*}/loaders.cache.* rw,
include if exists <local/gdk-pixbuf-query-loaders>
}

View file

@ -14,7 +14,7 @@ profile mission-control @{exec_path} {
network netlink raw,
@{exec_path} mr,
/usr/{lib,libexec}/* rUx, # FIXME: Needed ?
/usr/{lib,libexec}/* rPUx, # FIXME: Needed ?
/usr/share/telepathy/{,**} r,
/usr/share/glib-2.0/schemas/gschemas.compiled r,

View file

@ -47,5 +47,8 @@ profile polkitd @{exec_path} {
@{run}/systemd/sessions/* r,
@{run}/systemd/users/@{uid} r,
# Silencer
deny /.cache/ rw,
include if exists <local/polkitd>
}