feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-01-28 21:09:14 +00:00
parent bd562600cf
commit a5c5ee70a2
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 15 additions and 11 deletions

View file

@ -42,15 +42,13 @@ profile xdg-document-portal @{exec_path} flags=(attach_disconnected) {
owner @{run}/user/@{uid}/doc/ rw,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/cgroup r,
@{PROC}/1/cgroup r,
@{PROC}/sys/fs/pipe-max-size r,
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/fd/ r,
/dev/fuse rw,
# file inherit
owner /dev/tty@{int} rw,
/dev/fuse rw,
owner /dev/tty@{int} rw,
profile fusermount {
include <abstractions/base>
@ -75,8 +73,9 @@ profile xdg-document-portal @{exec_path} flags=(attach_disconnected) {
@{PROC}/@{pids}/mounts r,
/dev/fuse rw,
/dev/fuse rw,
owner /dev/tty@{int} rw,
include if exists <local/xdg-document-portal_fusermount>
}