Skip to content

Commit

Permalink
Merge branch 'maint-0.3.2' into release-0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Apr 23, 2018
2 parents 65fd973 + 1438c6c commit ecb51bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changes/bug24969
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
o Minor bugfixes (Linux seccomp2 sandbox):
- Allow the nanosleep() system call, which glibc uses to implement
sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
3 changes: 3 additions & 0 deletions src/common/sandbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ static int filter_nopar_gen[] = {
SCMP_SYS(mmap),
#endif
SCMP_SYS(munmap),
#ifdef __NR_nanosleep
SCMP_SYS(nanosleep),
#endif
#ifdef __NR_prlimit
SCMP_SYS(prlimit),
#endif
Expand Down

0 comments on commit ecb51bf

Please sign in to comment.