aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index bfb7a730fe..de5699e342 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -34,9 +34,15 @@
#define MAX_PARAM_LEN 32
+#define PARAM_PTR 0
+#define PARAM_NUM 1
+
typedef struct {
int syscall;
- intptr_t param; // TODO: make this intptr_t to support multiple types
+
+ char ptype;
+ intptr_t param;
+
char prot;
} ParFilter;