feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-04-09 23:48:33 +01:00
parent 5873cbff95
commit 3c6102e919
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 27 additions and 67 deletions

View file

@ -16,6 +16,8 @@ profile dconf-editor @{exec_path} {
@{exec_path} mr,
@{open_path} rPx -> child-open-help,
# When GSETTINGS_BACKEND=keyfile
owner @{user_config_dirs}/glib-2.0/ rw,
owner @{user_config_dirs}/glib-2.0/settings/ rw,

View file

@ -62,22 +62,11 @@ profile pulseaudio @{exec_path} {
member=GetManagedObjects
peer=(name=org.bluez),
dbus send bus=system path=/
interface=org.freedesktop.DBus.Peer
member=Ping
peer=(name=org.freedesktop.Avahi, label=avahi-daemon),
dbus send bus=system path=/Client@{int}/ServiceResolver@{int}
interface=org.freedesktop.Avahi.ServiceResolver
member={Found,Free}
peer=(name=org.freedesktop.Avahi, label=avahi-daemon),
# No label in rule
dbus send bus=system path=/org/freedesktop/RealtimeKit@{int}
interface=org.freedesktop.RealtimeKit@{int}
member=MakeThreadHighPriority
peer=(name=org.freedesktop.RealtimeKit@{int}),
@{exec_path} mrix,
@{lib}/pulse/gsettings-helper rix,

View file

@ -34,6 +34,7 @@ profile loupe @{exec_path} flags=(attach_disconnected) {
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/cpu.max r,
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/cmdline r,
deny @{user_share_dirs}/gvfs-metadata/* r,

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/share/update-notifier/notify-reboot-required
@{exec_path} = /usr/share/{update,reboot}-notifier/notify-reboot-required
profile notify-reboot-required @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@ -17,7 +17,7 @@ profile notify-reboot-required @{exec_path} {
@{bin}/gettext rix,
@{bin}/snap rPUx,
/usr/share/update-notifier/notify-reboot-required r,
/usr/share/{update,reboot}-notifier/notify-reboot-required r,
@{run}/reboot-required rw,
@{run}/reboot-required.pkgs rw,