Various updates (#209)

This commit is contained in:
curiosityseeker 2023-09-10 12:59:26 +02:00 committed by GitHub
parent 5d7ce06a62
commit aaed7a25da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 35 additions and 12 deletions

View file

@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/blkid
profile blkid @{exec_path} {
profile blkid @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/disks-read>
@ -35,5 +35,7 @@ profile blkid @{exec_path} {
# For the EVALUATE=scan method
@{PROC}/partitions r,
/dev/tty@{int} rw,
include if exists <local/blkid>
}

View file

@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/{btrfs,btrfsck}
profile btrfs @{exec_path} {
profile btrfs @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/disks-write>
include <abstractions/user-download-strict>
@ -47,10 +47,9 @@ profile btrfs @{exec_path} {
@{PROC}/partitions r,
owner @{PROC}/@{pid}/mounts r,
/dev/btrfs-control rw,
/dev/tty@{int} rw,
owner /dev/pts/@{int} rw,
/dev/btrfs-control rw,
/dev/tty@{int} rw,
include if exists <local/btrfs>
}