diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-12 19:46:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-12 19:46:53 -0500 |
commit | 426110dfa2e27f134e7bf44341e5df6f454e49a3 (patch) | |
tree | ae4b3188befb4d173c2bd0093d6d1c0d4b6fa136 /src | |
parent | 9abef516f609a619b25e8f53a413a2e3df05bde8 (diff) | |
parent | 15b41fa6ae6a1356d5453242ccb7d7d301dd5e67 (diff) | |
download | tor-426110dfa2e27f134e7bf44341e5df6f454e49a3.tar.gz tor-426110dfa2e27f134e7bf44341e5df6f454e49a3.zip |
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src')
-rw-r--r-- | src/common/sandbox.c | 5 |
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.*/ |