Skip to content

Commit 8ad760b

Browse files
authored
Update privsep-linux.c to allow statx (#349)
Add statx to SECCOMP_ALLOW
1 parent 96d3912 commit 8ad760b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/privsep-linux.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,9 @@ static struct sock_filter ps_seccomp_filter[] = {
441441
#ifdef __NR_shutdown
442442
SECCOMP_ALLOW(__NR_shutdown),
443443
#endif
444+
#ifdef __NR_statx
445+
SECCOMP_ALLOW(__NR_statx),
446+
#endif
444447
#ifdef __NR_time
445448
SECCOMP_ALLOW(__NR_time),
446449
#endif

0 commit comments

Comments
 (0)