[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #24424 [Core Tor/Tor]: fails to build with libseccomp-dev installed on arm64
#24424: fails to build with libseccomp-dev installed on arm64
-------------------------------------------------+-------------------------
Reporter: weasel | Owner: nickm
Type: defect | Status:
| needs_revision
Priority: Medium | Milestone: Tor:
| 0.3.2.x-final
Component: Core Tor/Tor | Version: Tor:
| unspecified
Severity: Normal | Resolution:
Keywords: 029-backport 030-backport | Actual Points:
031-backport |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by weasel):
This makes things build on arm64 (and does not break builds on arm64 or
arm64):
{{{
--- src/common/sandbox.c 2017-11-20 18:22:10.000000000 +0000
+++ /home/weasel/sandbox.c 2017-11-28 08:31:16.990108519 +0000
@@ -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.*/
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24424#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs