aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-07-18 18:03:10 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-07-18 18:03:10 +0300
commit673349c42ec5e07c0fdb54d2a45f7b104865325b (patch)
tree21b0d9aed5d85ebb11abca3249861ef564d5f218 /src/common/sandbox.h
parent6848e29307b9bfbabf06df0aaf56062ba4638ff6 (diff)
downloadtor-673349c42ec5e07c0fdb54d2a45f7b104865325b.tar
tor-673349c42ec5e07c0fdb54d2a45f7b104865325b.tar.gz
Repair of some of the lost parameter filters history
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index bd6f0cfb4..cfbecebbd 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -30,6 +30,14 @@
#define __USE_GNU
#include <sys/ucontext.h>
+#define MAX_PARAM_LEN 32
+
+typedef struct {
+ int syscall;
+ char *param;
+ char prot;
+} ParFilter;
+
/**
* Linux 32 bit definitions
*/