feat(profiles): ensure bin, sbin compatibility for (u)mount.
This commit is contained in:
parent
779853dc7f
commit
24056c8cd1
5 changed files with 15 additions and 13 deletions
|
|
@ -57,7 +57,7 @@ profile spectre-meltdown-checker @{exec_path} {
|
|||
/{usr/,}bin/{,@{multiarch}-}objdump rix,
|
||||
/{usr/,}{s,}bin/iucode_tool rix,
|
||||
/{usr/,}bin/dmesg rix,
|
||||
/{usr/,}bin/mount rix,
|
||||
/{usr/,}{s,}bin/mount rix,
|
||||
/{usr/,}bin/find rix,
|
||||
/{usr/,}bin/xargs rix,
|
||||
/{usr/,}bin/readlink rix,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/umount
|
||||
@{exec_path} = /{usr/,}{s,}bin/umount
|
||||
profile umount @{exec_path} flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -26,8 +26,8 @@ profile umount @{exec_path} flags=(complain) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}sbin/umount.* rPx,
|
||||
/{usr/,}sbin/mount.* rPx,
|
||||
/{usr/,}{s,}bin/umount.* rPx,
|
||||
/{usr/,}{s,}bin/mount.* rPx,
|
||||
|
||||
# Mount points
|
||||
@{HOME}/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue