Skip to content

Commit

Permalink
linux: add faccessat2 to default seccomp rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvink committed Apr 29, 2024
1 parent 6fbb6d1 commit 860e21a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/seccomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ static struct sock_filter filter_kore[] = {
#endif
#if defined(SYS_newfstatat)
KORE_SYSCALL_ALLOW(newfstatat),
#endif
#if defined(SYS_faccessat2)
KORE_SYSCALL_ALLOW(faccessat2),
#endif
KORE_SYSCALL_ALLOW(write),
KORE_SYSCALL_ALLOW(fcntl),
Expand Down

0 comments on commit 860e21a

Please sign in to comment.