refactor(profiles): use @{bin} and @{lib} in profiles (4)
This commit is contained in:
parent
27daa7c9bb
commit
43b0f09b65
173 changed files with 909 additions and 916 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/del{user,group}
|
||||
@{exec_path} = @{bin}/del{user,group}
|
||||
profile deluser @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/perl>
|
||||
|
|
@ -20,17 +20,17 @@ profile deluser @{exec_path} {
|
|||
capability dac_override,
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}{s,}bin/userdel rPx,
|
||||
/{usr/,}{s,}bin/groupdel rPx,
|
||||
/{usr/,}bin/gpasswd rPx,
|
||||
@{bin}/userdel rPx,
|
||||
@{bin}/groupdel rPx,
|
||||
@{bin}/gpasswd rPx,
|
||||
|
||||
/{usr/,}bin/crontab rPx,
|
||||
@{bin}/crontab rPx,
|
||||
|
||||
/{usr/,}bin/mount rCx -> mount,
|
||||
@{bin}/mount rCx -> mount,
|
||||
|
||||
/etc/adduser.conf r,
|
||||
/etc/deluser.conf r,
|
||||
|
|
@ -48,7 +48,7 @@ profile deluser @{exec_path} {
|
|||
profile mount {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/mount mr,
|
||||
@{bin}/mount mr,
|
||||
|
||||
@{PROC}/@{pid}/mountinfo r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue