sandbox: permit listen(2)

Fix for 12115; bugfix on 0.2.5.1-alpha
This commit is contained in:
Nick Mathewson 2014-05-27 19:28:12 -04:00
parent 14842de9a7
commit a056ffabbb
2 changed files with 4 additions and 0 deletions

3
changes/bug12115 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (linux seccomp sandbox):
- Avoid crashing when re-opening listener ports with the seccomp
sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.

View File

@ -186,6 +186,7 @@ static int filter_nopar_gen[] = {
// socket syscalls // socket syscalls
SCMP_SYS(bind), SCMP_SYS(bind),
SCMP_SYS(listen),
SCMP_SYS(connect), SCMP_SYS(connect),
SCMP_SYS(getsockname), SCMP_SYS(getsockname),
SCMP_SYS(recvmsg), SCMP_SYS(recvmsg),