mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-27 07:27:24 +01:00
fix: apparmor parser inside snap.
This commit is contained in:
parent
969e2dbbec
commit
3a407cb345
2 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,7 @@ profile apparmor_parser @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{lib_dirs}/@{multiarch}/** mr,
|
||||||
@{lib_dirs}/snapd/apparmor.d/{,**} r,
|
@{lib_dirs}/snapd/apparmor.d/{,**} r,
|
||||||
@{lib_dirs}/snapd/apparmor/{,**} r,
|
@{lib_dirs}/snapd/apparmor/{,**} r,
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ profile snap-seccomp @{exec_path} {
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
capability dac_read_search,
|
||||||
|
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
Loading…
Reference in a new issue