aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-05-27 14:50:44 -0400
committerNick Mathewson <nickm@torproject.org>2014-05-27 17:34:52 -0400
commitb0c1c700114aa8d4dfc180d85870c5bbe15fcacb (patch)
treeb85a14a434d4ce16b8e009c937563f5c2d5c700e /src/common/sandbox.h
parent824bebd40954d2f766a7b37e6b4d206f9b682ed9 (diff)
downloadtor-b0c1c700114aa8d4dfc180d85870c5bbe15fcacb.tar.gz
tor-b0c1c700114aa8d4dfc180d85870c5bbe15fcacb.zip
Make sandbox.c compile on arm
This is a minimal set of changes for compilation; I need a more recent kernel to test this stuff.
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index b57215285e..c3c6766631 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -119,22 +119,6 @@ typedef struct {
sandbox_cfg_t *filter_dynamic;
} sandbox_t;
-/**
- * Linux 32 bit definitions
- */
-#if defined(__i386__)
-
-#define REG_SYSCALL REG_EAX
-
-/**
- * Linux 64 bit definitions
- */
-#elif defined(__x86_64__)
-
-#define REG_SYSCALL REG_RAX
-
-#endif
-
#endif // USE_LIBSECCOMP
#ifdef USE_LIBSECCOMP