fix(profiles): ensure entry points for snap work.
This commit is contained in:
parent
2242fc3f47
commit
e169ea5ccf
6 changed files with 36 additions and 23 deletions
|
|
@ -6,7 +6,9 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/snapd/snap-seccomp /snap/snapd/@{int}@{lib}/snapd/snap-seccomp
|
||||
@{lib_dirs} = @{lib}/ /snap/snapd/@{int}@{lib}/
|
||||
|
||||
@{exec_path} = @{lib_dirs}/snapd/snap-seccomp
|
||||
profile snap-seccomp @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -16,8 +18,6 @@ profile snap-seccomp @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/snap/snapd/@{int}/usr/lib/snapd/snap-seccomp r,
|
||||
|
||||
/var/lib/snapd/seccomp/bpf/{,**} rw,
|
||||
|
||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue