feat(abs): add the fusermount abstraction.
This commit is contained in:
parent
9aaf109383
commit
1009de7e6c
15 changed files with 67 additions and 179 deletions
|
|
@ -40,24 +40,17 @@ profile gvfsd-fuse @{exec_path} {
|
|||
|
||||
profile fusermount {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/app/fusermount>
|
||||
|
||||
capability dac_read_search,
|
||||
capability sys_admin, # To mount anything
|
||||
capability setuid,
|
||||
|
||||
mount fstype={fuse,fuse.*} -> @{run}/user/@{uid}/gvfs/,
|
||||
umount @{run}/user/@{uid}/**/,
|
||||
|
||||
unix (send,receive) type=stream addr=none peer=(label=gvfsd-fuse),
|
||||
|
||||
@{bin}/fusermount{,3} mr,
|
||||
|
||||
/etc/fuse{,3}.conf r,
|
||||
/etc/machine-id r,
|
||||
|
||||
@{PROC}/@{pid}/mounts r,
|
||||
|
||||
/dev/fuse rw,
|
||||
@{bin}/mount rix,
|
||||
@{bin}/umount rix,
|
||||
|
||||
include if exists <local/gvfsd-fuse_fusermount>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue