aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sandbox
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-07-01 12:55:02 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-07-01 12:55:02 +0300
commit38208185be063cfe575f97b99b3270210fbd0a8c (patch)
tree80423ea21bcf32d60aea389ec259b28ecadb1b70 /src/lib/sandbox
parentdbb70d85bf65d33e0a1035146d71a2a610e91056 (diff)
parent9beae02713fcd30dbd75d0724bd5ee36d97c40b4 (diff)
downloadtor-38208185be063cfe575f97b99b3270210fbd0a8c.tar.gz
tor-38208185be063cfe575f97b99b3270210fbd0a8c.zip
Merge branch 'maint-0.3.5' into maint-0.4.2
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 3515e8854e..3d47b09080 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -269,6 +269,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)
};