diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-18 18:03:10 +0300 |
---|---|---|
committer | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-18 18:03:10 +0300 |
commit | 673349c42ec5e07c0fdb54d2a45f7b104865325b (patch) | |
tree | 21b0d9aed5d85ebb11abca3249861ef564d5f218 /src/common/sandbox.h | |
parent | 6848e29307b9bfbabf06df0aaf56062ba4638ff6 (diff) | |
download | tor-673349c42ec5e07c0fdb54d2a45f7b104865325b.tar.gz tor-673349c42ec5e07c0fdb54d2a45f7b104865325b.zip |
Repair of some of the lost parameter filters history
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r-- | src/common/sandbox.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h index bd6f0cfb47..cfbecebbd4 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 */ |