Skip to content

Commit 49e993e

Browse files
mgornybluca
authored andcommitted
nspawn: Include arm_fadvise64_64 in syscall allow_list
Add the `arm_fadvise64_64` syscall to the allow_list, in addition to the existing `fadvise64` and `fadvise64_64` syscalls, as this is the syscall actually defined for `arm` architecture. Adding it fixes the syscall being rejected in arm32 containers. Fixes #35194 (cherry picked from commit 7fd70a5) (cherry picked from commit 964ced4) (cherry picked from commit 8bf58cd) (cherry picked from commit a775463)
1 parent 9754409 commit 49e993e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nspawn/nspawn-seccomp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ static int add_syscall_filters(
5656
{ CAP_IPC_LOCK, "@memlock" },
5757

5858
/* Plus a good set of additional syscalls which are not part of any of the groups above */
59+
{ 0, "arm_fadvise64_64" },
5960
{ 0, "brk" },
6061
{ 0, "capget" },
6162
{ 0, "capset" },

0 commit comments

Comments
 (0)