Skip to content

Commit

Permalink
Merge branch 'tor-gitlab/mr/556' into maint-0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoulet-tor committed Mar 28, 2022
2 parents 3dee8a5 + de38726 commit b882b8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changes/clone3-sandbox
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
o Minor features (linux seccomp2 sandbox):
- Permit the clone3 syscall, which is apparently used in glibc-2.34 and
later. Closes ticket 40590.
3 changes: 3 additions & 0 deletions src/lib/sandbox/sandbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ static int filter_nopar_gen[] = {
SCMP_SYS(close),
SCMP_SYS(clone),
SCMP_SYS(dup),
#ifdef __NR_clone3
SCMP_SYS(clone3),
#endif
SCMP_SYS(epoll_create),
SCMP_SYS(epoll_wait),
#ifdef __NR_epoll_pwait
Expand Down

0 comments on commit b882b8d

Please sign in to comment.