summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-07-01 12:54:29 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-07-01 12:54:29 +0300
commit9beae02713fcd30dbd75d0724bd5ee36d97c40b4 (patch)
treec7b5bc2d42851b33696f1dba89932337a91fac13 /src
parent8697205be400e560c7ae4083d7febd7aa593e61a (diff)
parentc81cb588db6c5176c7423b1a2f98218a8989b5dd (diff)
downloadtor-9beae02713fcd30dbd75d0724bd5ee36d97c40b4.tar.gz
tor-9beae02713fcd30dbd75d0724bd5ee36d97c40b4.zip
Merge branch 'tor-github/pr/1766' into maint-0.3.5
Diffstat (limited to 'src')
-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 8f577b0660..63d3e0b9a3 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)
};