Skip to content

Commit 1026f87

Browse files
author
Julio Guerra
committed
seccomp: allow syscall membarrier
Add the membarrier syscall to the default seccomp profile. It is for example used in the implementation of dlopen() in the musl libc of Alpine images. Signed-off-by: Julio Guerra <[email protected]>
1 parent c7ad2b8 commit 1026f87

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

profiles/seccomp/default.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
"lstat",
188188
"lstat64",
189189
"madvise",
190+
"membarrier",
190191
"memfd_create",
191192
"mincore",
192193
"mkdir",

profiles/seccomp/seccomp_default.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ func DefaultProfile() *types.Seccomp {
180180
"lstat",
181181
"lstat64",
182182
"madvise",
183+
"membarrier",
183184
"memfd_create",
184185
"mincore",
185186
"mkdir",

0 commit comments

Comments
 (0)