summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-08 13:40:14 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-08 13:40:14 -0400
commit0df22e8f5f5c4e1a329f2930f6eb9ecde1cf9848 (patch)
tree4d34427d19263308e3a15624cc12a341fa05d34e /src
parent5ff0b519ecee6e3d0b6d4550bd74f197a818b08d (diff)
parent1cdad9782d31f10e8e622a642b49f39deebc3737 (diff)
downloadtor-0df22e8f5f5c4e1a329f2930f6eb9ecde1cf9848.tar.gz
tor-0df22e8f5f5c4e1a329f2930f6eb9ecde1cf9848.zip
Merge branch 'bug21943_029' into maint-0.2.9
Diffstat (limited to 'src')
-rw-r--r--src/common/sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index ebc843e130..95c9f83b8d 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -155,6 +155,7 @@ static int filter_nopar_gen[] = {
#ifdef __NR_getgid32
SCMP_SYS(getgid32),
#endif
+ SCMP_SYS(getpid),
#ifdef __NR_getrlimit
SCMP_SYS(getrlimit),
#endif