feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-10-08 14:00:21 +01:00
parent 958cc671b2
commit b5fbef8eef
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
17 changed files with 62 additions and 82 deletions

View file

@ -120,7 +120,7 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
/.flatpak-info r,
/usr/share/pipewire/client.conf r,
/usr/share/xdg-desktop-portal/portals/{,*.portal} r,
/usr/share/xdg-desktop-portal/** r,
/etc/pipewire/client.conf.d/ r,

View file

@ -17,6 +17,8 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
capability sys_admin,
capability sys_chroot,
network unix stream,
@{exec_path} rmix,
@{bin}/{,ba}sh rix,
@ -117,7 +119,6 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
deny /apparmor/.null rw,
deny network inet stream,
deny network inet6 stream,
deny unix (receive) type=stream,
include if exists <local/mkinitcpio>
}

View file

@ -159,7 +159,6 @@ profile pacman @{exec_path} {
# Silencer,
deny @{HOME}/ r,
deny /tmp/ r,
deny unix (receive) type=stream,
profile gpg {
include <abstractions/base>

View file

@ -27,13 +27,10 @@ profile systemd-timedated @{exec_path} flags=(attach_disconnected) {
interface=org.freedesktop.DBus.Properties
member={Get,GetAll},
dbus bind bus=system
name=org.freedesktop.timedate[0-9],
dbus bind bus=system name=org.freedesktop.timedate[0-9],
@{exec_path} mr,
/dev/rtc[0-9] r,
@{etc_rw}/.#adjtime* rw,
@{etc_rw}/adjtime rw,
@ -45,5 +42,7 @@ profile systemd-timedated @{exec_path} flags=(attach_disconnected) {
@{run}/systemd/notify rw,
/dev/rtc@{int} r,
include if exists <local/systemd-timedated>
}