aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-12 19:46:53 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-12 19:46:53 -0500
commit426110dfa2e27f134e7bf44341e5df6f454e49a3 (patch)
treeae4b3188befb4d173c2bd0093d6d1c0d4b6fa136 /src
parent9abef516f609a619b25e8f53a413a2e3df05bde8 (diff)
parent15b41fa6ae6a1356d5453242ccb7d7d301dd5e67 (diff)
downloadtor-426110dfa2e27f134e7bf44341e5df6f454e49a3.tar.gz
tor-426110dfa2e27f134e7bf44341e5df6f454e49a3.zip
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src')
-rw-r--r--src/common/sandbox.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 84c46dcb05..37f582048c 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -106,6 +106,11 @@
#define M_SYSCALL arm_r7
+#elif defined(__aarch64__) && defined(__LP64__)
+
+#define REG_SYSCALL 8
+#define M_SYSCALL regs[REG_SYSCALL]
+
#endif /* defined(__i386__) || ... */
/**Determines if at least one sandbox is active.*/