Update profiles.
This commit is contained in:
parent
2cdd954613
commit
d7be27411b
15 changed files with 49 additions and 89 deletions
|
|
@ -13,6 +13,8 @@ profile mandb @{exec_path} flags=(complain) {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability dac_read_search,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/man_db.conf r,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ profile nvtop @{exec_path} {
|
|||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/opencl-nvidia>
|
||||
|
||||
capability sys_ptrace,
|
||||
|
||||
ptrace (read),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
|
|
|||
|
|
@ -12,8 +12,13 @@ profile resize2fs @{exec_path} {
|
|||
include <abstractions/disks-write>
|
||||
include <abstractions/user-download-strict>
|
||||
|
||||
capability sys_resource,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/ r,
|
||||
/.ismount-test-file rw,
|
||||
|
||||
@{PROC}/swaps r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
||||
|
|
|
|||
|
|
@ -27,10 +27,13 @@ profile resolvconf @{exec_path} {
|
|||
/usr/lib/resolvconf/{,**} r,
|
||||
|
||||
/etc/resolv.conf rw,
|
||||
/etc/resolvconf/{,**} r,
|
||||
/etc/resolvconf/update.d/libc rix,
|
||||
|
||||
owner @{run}/resolvconf/{,**} rw,
|
||||
owner @{run}/resolvconf/run-lock wk,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/resolvconf>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue