summaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-07-23 10:14:25 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-07-23 10:14:25 +0300
commit7cf1dbfd51f17773e93b509d954371886243a0eb (patch)
tree2342f5c0ead2aaf4371d0f0c1c1840fcda9ae8c1 /src/common/sandbox.h
parent8dfa5772e7853f6a0ede99fd0b9284b668ff5cbc (diff)
downloadtor-7cf1dbfd51f17773e93b509d954371886243a0eb.tar.gz
tor-7cf1dbfd51f17773e93b509d954371886243a0eb.zip
changed paramfilter type to intptr_t
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index 4752f1a733..bfb7a730fe 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -22,6 +22,8 @@
#endif
+#include "torint.h"
+
/**
* Linux definitions
*/
@@ -34,7 +36,7 @@
typedef struct {
int syscall;
- char *param;
+ intptr_t param; // TODO: make this intptr_t to support multiple types
char prot;
} ParFilter;