summaryrefslogtreecommitdiff
path: root/src/lib/sandbox
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-07-01 12:55:03 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-07-01 12:55:03 +0300
commit7f999203ce22422ccc2f0609a35221092c852a0c (patch)
tree448e2be04aac9a94d26b5f412c75017984cafc68 /src/lib/sandbox
parent8f59b3e6f2a908818f16516e2f4729e4425bae11 (diff)
parent0d02c053f84cbbca6c373ccea5b2174e6c62e3c4 (diff)
downloadtor-7f999203ce22422ccc2f0609a35221092c852a0c.tar.gz
tor-7f999203ce22422ccc2f0609a35221092c852a0c.zip
Merge branch 'maint-0.4.4'
Diffstat (limited to 'src/lib/sandbox')
-rw-r--r--src/lib/sandbox/sandbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
index 903d48449a..2b4181e7f8 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -279,6 +279,9 @@ static int filter_nopar_gen[] = {
SCMP_SYS(recvfrom),
SCMP_SYS(sendto),
SCMP_SYS(unlink),
+#ifdef __NR_unlinkat
+ SCMP_SYS(unlinkat),
+#endif
SCMP_SYS(poll)
};