Update profile from #25.

This commit is contained in:
Alexandre Pujol 2022-02-08 19:49:31 +00:00
parent 9ecc1aa240
commit 6294159d7a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
28 changed files with 83 additions and 20 deletions

View file

@ -28,6 +28,8 @@ profile child-systemctl flags=(attach_disconnected) {
/{usr/,}bin/systemctl mr,
/etc/systemd/user/{,**} rwl,
owner @{PROC}/@{pid}/stat r,
@{PROC}/sys/kernel/osrelease r,
@{PROC}/1/environ r,

View file

@ -14,9 +14,10 @@ profile journalctl @{exec_path} {
include <abstractions/nameservice-strict>
include <abstractions/systemd-common>
capability sys_resource,
capability dac_read_search,
capability dac_override,
capability dac_read_search,
capability net_admin,
capability sys_resource,
signal (send) peer=child-pager,

View file

@ -28,8 +28,9 @@ profile systemd-hostnamed @{exec_path} {
@{run}/udev/data/+dmi:id r,
@{sys}/firmware/dmi/entries/*/raw r,
/etc/hostname rw,
/etc/.#hostname* rw,
/etc/hostname rw,
/etc/machine-info r,
@{run}/udev/data/+dmi:id r,

View file

@ -22,10 +22,11 @@ profile systemd-logind @{exec_path} flags=(complain) {
@{exec_path} mr,
/etc/systemd/sleep.conf r,
/etc/systemd/logind.conf r,
/etc/passwd r,
/etc/machine-id r,
/etc/nsswitch.conf r,
/etc/passwd r,
/etc/systemd/logind.conf r,
/etc/systemd/sleep.conf r,
/boot/{,**} r,

View file

@ -16,6 +16,8 @@ profile zram-generator @{exec_path} {
/{usr/,}lib/systemd/systemd-makefs rPx,
/{usr/,}bin/systemd-detect-virt rPx,
/etc/systemd/zram-generator.conf r,
@{sys}/devices/virtual/block/zram[0-9]*/{disksize,reset} rw,
@{sys}/block/zram[0-9]*/{disksize,reset} rw,