Various updates (#201)

This commit is contained in:
curiosityseeker 2023-09-01 20:09:45 +02:00 committed by GitHub
parent 86b1ee4df2
commit c2bb733624
Failed to generate hash of commit
6 changed files with 11 additions and 1 deletions

View file

@ -115,6 +115,7 @@ profile kded5 @{exec_path} {
owner @{user_share_dirs}/services5/{,**} r, owner @{user_share_dirs}/services5/{,**} r,
@{run}/mount/utab r, @{run}/mount/utab r,
@{run}/udev/data/c189:@{int} r, # for /dev/bus/usb/**
owner @{run}/user/@{uid}/#@{int} rw, owner @{run}/user/@{uid}/#@{int} rw,
owner @{run}/user/@{uid}/gvfs/ r, owner @{run}/user/@{uid}/gvfs/ r,
owner @{run}/user/@{uid}/kded5*kioworker.socket rwl, owner @{run}/user/@{uid}/kded5*kioworker.socket rwl,

View file

@ -167,7 +167,8 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
@{sys}/bus/ r, @{sys}/bus/ r,
@{sys}/bus/usb/devices/ r, @{sys}/bus/usb/devices/ r,
@{sys}/class/{,*} r, @{sys}/class/{,**} r,
@{sys}/devices/platform/** r,
@{sys}/devices/pci[0-9]*/**/name r, @{sys}/devices/pci[0-9]*/**/name r,
@{sys}/devices/virtual/thermal/thermal_zone@{int}/hwmon@{int}/ r, @{sys}/devices/virtual/thermal/thermal_zone@{int}/hwmon@{int}/ r,

View file

@ -56,6 +56,7 @@ profile pacman @{exec_path} {
@{bin}/archlinux-java rPx, @{bin}/archlinux-java rPx,
@{bin}/bootctl rPx, @{bin}/bootctl rPx,
@{bin}/cat rix, @{bin}/cat rix,
@{bin}/cert-sync rPx,
@{bin}/checkrebuild rPUx, @{bin}/checkrebuild rPUx,
@{bin}/chgrp rix, @{bin}/chgrp rix,
@{bin}/chmod rix, @{bin}/chmod rix,

View file

@ -30,6 +30,9 @@ profile systemd-binfmt @{exec_path} flags=(attach_disconnected) {
@{PROC}/sys/kernel/osrelease r, @{PROC}/sys/kernel/osrelease r,
owner @{PROC}/@{pid}/stat r, owner @{PROC}/@{pid}/stat r,
/dev/tty@{int} rw,
/dev/pts/@{int} rw,
deny /apparmor/.null rw, deny /apparmor/.null rw,
include if exists <local/systemd-binfmt> include if exists <local/systemd-binfmt>

View file

@ -22,6 +22,8 @@ profile swapoff @{exec_path} {
# SWAP file common locations # SWAP file common locations
owner /swapfile rw, owner /swapfile rw,
/dev/pts/@{int} rw,
include if exists <local/swapoff> include if exists <local/swapoff>
} }

View file

@ -23,5 +23,7 @@ profile swapon @{exec_path} {
@{PROC}/swaps r, @{PROC}/swaps r,
/dev/pts/@{int} rw,
include if exists <local/swapon> include if exists <local/swapon>
} }