feat(profile): general update.

See:  #101
This commit is contained in:
Alexandre Pujol 2023-01-16 19:01:22 +00:00
parent 1f16025c10
commit 4b5d1e1a79
Failed to generate hash of commit
6 changed files with 20 additions and 4 deletions

View file

@ -62,6 +62,7 @@ profile child-open {
/{usr/,}bin/filezilla rPx, /{usr/,}bin/filezilla rPx,
/{usr/,}bin/flameshot rPx, /{usr/,}bin/flameshot rPx,
/{usr/,}bin/geany rPx, /{usr/,}bin/geany rPx,
/{usr/,}bin/gnome-calculator rPx,
/{usr/,}bin/gnome-disk-image-mounter rPx, /{usr/,}bin/gnome-disk-image-mounter rPx,
/{usr/,}bin/kgx rPUx, /{usr/,}bin/kgx rPUx,
/{usr/,}bin/okular rPx, /{usr/,}bin/okular rPx,

View file

@ -12,8 +12,13 @@ profile cron-anacron @{exec_path} {
@{exec_path} r, @{exec_path} r,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}{s,}bin/anacron rPx, /{usr/,}{s,}bin/anacron rPx,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/cat rix,
/{usr/,}bin/date rix,
@{sys}/class/power_supply/ r,
@{sys}/devices/**/power_supply/{,**} r,
include if exists <local/cron-anacron> include if exists <local/cron-anacron>
} }

View file

@ -10,11 +10,12 @@ include <tunables/global>
profile gsd-media-keys @{exec_path} flags=(attach_disconnected) { profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/audio> include <abstractions/audio>
include <abstractions/dbus-strict>
include <abstractions/dbus-session-strict>
include <abstractions/dbus-accessibility-strict> include <abstractions/dbus-accessibility-strict>
include <abstractions/dbus-session-strict>
include <abstractions/dbus-strict>
include <abstractions/dconf-write> include <abstractions/dconf-write>
include <abstractions/fonts> include <abstractions/fonts>
include <abstractions/freedesktop.org>
include <abstractions/gtk> include <abstractions/gtk>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
@ -172,6 +173,8 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
/var/lib/gdm{3,}/.config/pulse/client.conf r, /var/lib/gdm{3,}/.config/pulse/client.conf r,
/var/lib/gdm{3,}/.config/pulse/cookie rk, /var/lib/gdm{3,}/.config/pulse/cookie rk,
/var/lib/flatpak/exports/share/applications/{,mimeinfo.cache} r,
owner @{user_config_dirs}/pulse/ rw, owner @{user_config_dirs}/pulse/ rw,
owner @{user_share_dirs}/ r, owner @{user_share_dirs}/ r,
@ -187,8 +190,9 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
@{run}/udev/data/c13:[0-9]* r, # for /dev/input/* @{run}/udev/data/c13:[0-9]* r, # for /dev/input/*
@{sys}/devices/platform/**/uevent r,
@{sys}/devices/**/usb[0-9]/{,**} r, @{sys}/devices/**/usb[0-9]/{,**} r,
@{sys}/devices/platform/**/uevent r,
@{sys}/devices/virtual/**/uevent r,
@{PROC}/1/cgroup r, @{PROC}/1/cgroup r,
owner @{PROC}/@{pid}/cgroup r, owner @{PROC}/@{pid}/cgroup r,

View file

@ -43,6 +43,8 @@ profile systemd-coredump @{exec_path} flags=(attach_disconnected) {
@{PROC}/@{pids}/fdinfo/[0-9]* r, @{PROC}/@{pids}/fdinfo/[0-9]* r,
@{PROC}/@{pids}/limits r, @{PROC}/@{pids}/limits r,
@{PROC}/@{pids}/mountinfo r, @{PROC}/@{pids}/mountinfo r,
@{PROC}/@{pids}/ns/ r,
@{PROC}/@{pids}/stat r,
owner @{PROC}/@{pid}/setgroups r, owner @{PROC}/@{pid}/setgroups r,
include if exists <local/systemd-coredump> include if exists <local/systemd-coredump>

View file

@ -21,6 +21,8 @@ profile anacron @{exec_path} {
/var/spool/anacron/cron.* rwk, /var/spool/anacron/cron.* rwk,
@{HOME}/ r,
/tmp/file* rw, /tmp/file* rw,
include if exists <local/anacron> include if exists <local/anacron>

View file

@ -18,6 +18,8 @@ profile run-parts @{exec_path} {
/usr/share/update-notifier/notify-reboot-required rPx, /usr/share/update-notifier/notify-reboot-required rPx,
/usr/share/update-notifier/notify-updates-outdated rPx, /usr/share/update-notifier/notify-updates-outdated rPx,
/etc/ r,
# Crontrab # Crontrab
/etc/cron.{hourly,daily,weekly,monthly}/ r, /etc/cron.{hourly,daily,weekly,monthly}/ r,
/etc/cron.{hourly,daily,weekly,monthly}/0anacron rPUx, /etc/cron.{hourly,daily,weekly,monthly}/0anacron rPUx,