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
|
|
@ -13,20 +13,20 @@ profile check-support-status-hook @{exec_path} {
|
|||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}bin/ r,
|
||||
/{usr/,}bin/getent rix,
|
||||
/{usr/,}bin/mkdir rix,
|
||||
/{usr/,}bin/chown rix,
|
||||
/{usr/,}bin/stat rix,
|
||||
/{usr/,}bin/mktemp rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
@{bin}/ r,
|
||||
@{bin}/getent rix,
|
||||
@{bin}/mkdir rix,
|
||||
@{bin}/chown rix,
|
||||
@{bin}/stat rix,
|
||||
@{bin}/mktemp rix,
|
||||
@{bin}/rm rix,
|
||||
|
||||
/{usr/,}sbin/adduser rPx,
|
||||
/{usr/,}bin/check-support-status rPx,
|
||||
/{usr/,}bin/debconf-escape rCx -> debconf-escape,
|
||||
/{usr/,}sbin/runuser rCx -> runuser,
|
||||
@{bin}/adduser rPx,
|
||||
@{bin}/check-support-status rPx,
|
||||
@{bin}/debconf-escape rCx -> debconf-escape,
|
||||
@{bin}/runuser rCx -> runuser,
|
||||
|
||||
# Think what to do about this (#FIXME#)
|
||||
/usr/share/debconf/frontend rPx,
|
||||
|
|
@ -51,8 +51,8 @@ profile check-support-status-hook @{exec_path} {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/perl>
|
||||
|
||||
/{usr/,}bin/debconf-escape r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/debconf-escape r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/tmp/ r,
|
||||
owner /tmp/debian-security-support.postinst.*/output r,
|
||||
|
|
@ -66,14 +66,14 @@ profile check-support-status-hook @{exec_path} {
|
|||
include <abstractions/nameservice-strict>
|
||||
|
||||
/usr/share/debconf/frontend r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/usr/share/debian-security-support/ r,
|
||||
/usr/share/debian-security-support/check-support-status.hook rPx,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/stty rix,
|
||||
/{usr/,}bin/locale rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/stty rix,
|
||||
@{bin}/locale rix,
|
||||
|
||||
/etc/debconf.conf r,
|
||||
owner /var/cache/debconf/{config,passwords,templates}.dat{,-new,-old} rwk,
|
||||
|
|
@ -84,8 +84,8 @@ profile check-support-status-hook @{exec_path} {
|
|||
include <abstractions/fontconfig-cache-read>
|
||||
include <abstractions/freedesktop.org>
|
||||
capability dac_read_search,
|
||||
/{usr/,}bin/lsb_release rPx -> lsb_release,
|
||||
/{usr/,}bin/hostname rix,
|
||||
@{bin}/lsb_release rPx -> lsb_release,
|
||||
@{bin}/hostname rix,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
@{HOME}/.Xauthority r,
|
||||
|
||||
|
|
@ -110,11 +110,11 @@ profile check-support-status-hook @{exec_path} {
|
|||
# To write records to the kernel auditing log.
|
||||
capability audit_write,
|
||||
|
||||
/{usr/,}sbin/runuser mr,
|
||||
@{bin}/runuser mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}bin/check-support-status rPx,
|
||||
@{bin}/check-support-status rPx,
|
||||
|
||||
owner @{PROC}/@{pids}/loginuid r,
|
||||
@{PROC}/1/limits r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue