feat(profile): snap - ensure snap profile can all rm their own lib_dirs.
This commit is contained in:
parent
a5385c594a
commit
d44001b71f
6 changed files with 5 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ profile snap-discard-ns @{exec_path} {
|
|||
umount @{run}/snapd/ns/*.mnt,
|
||||
|
||||
@{exec_path} mr,
|
||||
@{lib_dirs}/**.so* mr,
|
||||
|
||||
/ r,
|
||||
@{run}/ r,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ profile snap-failure @{exec_path} {
|
|||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
@{lib_dirs}/**.so* mr,
|
||||
|
||||
@{bin}/systemctl rCx -> systemctl,
|
||||
@{lib_dirs}/snapd/snapd rPx,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ profile snap-seccomp @{exec_path} {
|
|||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{lib_dirs}/**.so* mr,
|
||||
|
||||
@{bin}/getent rix,
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ profile snap-update-ns @{exec_path} {
|
|||
umount /usr/share/xml/iso-codes/,
|
||||
|
||||
@{exec_path} mr,
|
||||
@{lib_dirs}/**.so* mr,
|
||||
|
||||
@{lib}/@{multiarch}/webkit2gtk-@{version}/ w,
|
||||
/usr/share/xml/iso-codes/ w,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ profile snapd-aa-prompt-listener @{exec_path} {
|
|||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mrix,
|
||||
@{lib_dirs}/**.so* mr,
|
||||
|
||||
@{lib_dirs}/snapd/info r,
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ profile snapd-aa-prompt-ui @{exec_path} {
|
|||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mrix,
|
||||
@{lib_dirs}/**.so* mr,
|
||||
|
||||
@{lib_dirs}/snapd/info r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue