Add wait4 to the seccomp2 sandbox allowable syscall list

fixes bug 15088. patch from sanic.
This commit is contained in:
Nick Mathewson 2015-03-04 12:18:10 +01:00
parent 51e36026e5
commit d5b2cbea10
2 changed files with 5 additions and 0 deletions

4
changes/bug15088 Normal file
View File

@ -0,0 +1,4 @@
o Minor bugfixes (Linux seccomp2 sandbox):
- Upon receiving sighup, do not crash during attempts to call
wait4. Fixes bug 15088; bugfix on 0.2.5.1-alpha. Patch from
"sanic".

View File

@ -164,6 +164,7 @@ static int filter_nopar_gen[] = {
#endif
SCMP_SYS(stat),
SCMP_SYS(uname),
SCMP_SYS(wait4),
SCMP_SYS(write),
SCMP_SYS(writev),
SCMP_SYS(exit_group),