feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-02-15 00:19:13 +00:00
parent a334b461d0
commit 14fe43714a
Failed to generate hash of commit
12 changed files with 24 additions and 25 deletions

View file

@ -15,9 +15,9 @@ include <tunables/global>
@{exec_path} += @{bin}/web2disk
profile calibre @{exec_path} {
include <abstractions/base>
include <abstractions/bus/org.a11y>
include <abstractions/bus-accessibility>
include <abstractions/bus-session>
include <abstractions/bus/org.a11y>
include <abstractions/bus/org.gtk.vfs.MountTracker>
include <abstractions/chromium-common>
include <abstractions/devices-usb>

View file

@ -27,6 +27,7 @@ profile dbus-daemon @{exec_path} flags=(attach_disconnected) {
network bluetooth stream,
network bluetooth seqpacket,
signal (receive) set=(cont term) peer=@{systemd_user},
signal (receive) set=(term hup kill) peer=at-spi-bus-launcher,
signal (receive) set=(term hup kill) peer=dbus-run-session,
signal (receive) set=(term hup kill) peer=gdm*,

View file

@ -55,7 +55,7 @@ profile at-spi-bus-launcher @{exec_path} flags=(attach_disconnected) {
@{sys}/module/apparmor/parameters/enabled r,
@{PROC}/@{pid}/cmdline r,
@{PROC}/@{pid}/oom_score_adj r,
@{PROC}/@{pid}/oom_score_adj rw,
@{PROC}/@{pids}/mounts r,
@{PROC}/1/cgroup r,
owner @{PROC}/@{pid}/attr/apparmor/current r,

View file

@ -42,6 +42,8 @@ profile polkit-agent-helper @{exec_path} {
@{exec_path} mr,
@{bin}/unix_chkpwd rPx,
owner @{HOME}/.xsession-errors w,
@{run}/faillock/[a-zA-z0-9]* rwk,

View file

@ -41,11 +41,9 @@ profile pulseaudio @{exec_path} {
network bluetooth stream,
network bluetooth seqpacket,
dbus bind bus=session name=org.freedesktop.ReserveDevice1.Audio1,
dbus bind bus=session name=org.PulseAudio1,
dbus bind bus=session name=org.pulseaudio*,
# dbus: own bus=session name=org.freedesktop.ReserveDevice1.Audio@{int}
# dbus: own bus=session name=org.PulseAudio1
# dbus: own bus=session name=org.pulseaudio*
dbus receive bus=session
interface=org.freedesktop.DBus.Introspectable

View file

@ -35,8 +35,8 @@ profile subiquity-console-conf @{exec_path} {
@{bin}/tty rix,
@{bin}/journalctl rCx -> journalctl,
@{bin}/ssh-keygen rPx,
@{bin}/sshd rPx,
@{bin}/ssh-keygen rPx,
@{bin}/sshd rPx,
@{bin}/snap rPUx,
/usr/lib/snapd/snap-recovery-chooser rPUx,
/usr/share/netplan/netplan.script rPUx, # TODO: rPx,

View file

@ -22,23 +22,16 @@ profile update-notifier @{exec_path} {
include <abstractions/openssl>
include <abstractions/python>
dbus receive bus=session path=/org/ayatana/NotificationItem{,/**}
interface={com.canonical.dbusmenu,org.freedesktop.DBus.Properties}
peer=(name=:*, label=gnome-shell),
# dbus: talk bus=system name=org.debian.apt label=apt
dbus send bus=session path=/StatusNotifierWatcher
interface=org.kde.StatusNotifierWatcher
member=RegisterStatusNotifierItem
peer=(name=:*, label=gnome-shell),
# dbus receive bus=session path=/org/ayatana/NotificationItem{,/**}
# interface={com.canonical.dbusmenu,org.freedesktop.DBus.Properties}
# peer=(name=:*, label=gnome-shell),
dbus send bus=system path=/org/debian/apt
interface=org.debian.apt
member=GetActiveTransactions
peer=(name=:*, label=apt),
dbus send bus=system path=/org/debian/apt
dbus receive bus=session path=/org/ayatana/NotificationItem/software_update_available
interface=org.freedesktop.DBus.Properties
member=GetAll
peer=(name=:*, label=apt),
member={Get,GetAll}
peer=(name=:*, label=gnome-shell),
@{exec_path} mr,

View file

@ -11,6 +11,7 @@ profile file-roller @{exec_path} {
include <abstractions/base>
include <abstractions/bus-accessibility>
include <abstractions/bus-session>
include <abstractions/bus/org.a11y>
include <abstractions/dconf-write>
include <abstractions/desktop>
include <abstractions/nameservice-strict>

View file

@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/grpck
profile grpck @{exec_path} {
profile grpck @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/pwck
profile pwck @{exec_path} {
profile pwck @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>

View file

@ -16,6 +16,8 @@ profile snapd-aa-prompt-listener @{exec_path} {
@{lib_dirs}/snapd/info r,
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
@{PROC}/cmdline r,
include if exists <local/snapd-aa-prompt-listener>

View file

@ -42,7 +42,9 @@ profile spice-vdagent @{exec_path} flags=(attach_disconnected) {
/etc/pipewire/client.conf r,
/var/lib/gdm{3,}/.config/pulse/cookie rk,
/var/lib/gdm{3,}/.config/user-dirs.dirs r,
/var/lib/nscd/passwd r,
owner @{user_config_dirs}/user-dirs.dirs r,