feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-05-07 16:19:29 +01:00
parent 4ada6f5879
commit 239d5efe63
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
14 changed files with 22 additions and 46 deletions

View file

@ -16,8 +16,6 @@ profile borg @{exec_path} {
capability dac_override,
capability dac_read_search,
capability fowner,
capability sys_admin,
network inet dgram,
network inet6 dgram,
@ -77,6 +75,7 @@ profile borg @{exec_path} {
owner /var/tmp/tmp*/idx rw,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/stat r,
/dev/fuse rw,
@ -103,8 +102,8 @@ profile borg @{exec_path} {
capability sys_admin,
mount fstype=fuse borgfs -> @{MOUNTS}/,
mount fstype=fuse borgfs -> @{MOUNTS}/*/,
mount fstype=fuse options=(ro nosuid nodev) borgfs -> @{MOUNTS}/,
mount fstype=fuse options=(ro nosuid nodev) borgfs -> @{MOUNTS}/*/,
umount @{MOUNTS}/,
umount @{MOUNTS}/*/,

View file

@ -25,7 +25,7 @@ profile flatpak-session-helper @{exec_path} flags=(attach_disconnected) {
@{bin}/flatpak rPx,
@{bin}/ps rPx,
@{bin}/p11-kit rix,
@{bin}/pkexec rPx,
@{bin}/pkexec rPx, # TODO: too wide, rCx.
@{lib}/p11-kit/p11-kit-remote rix,
@{lib}/p11-kit/p11-kit-server rix,
/var/lib/flatpak/app/*/**/@{bin}/** rPx -> flatpak-app,

View file

@ -61,6 +61,7 @@ profile fwupdmgr @{exec_path} flags=(attach_disconnected,complain) {
owner @{HOME}/.Xauthority r,
include if exists <local/fwupdmgr_dbus>
}
include if exists <local/fwupdmgr>