diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-24 17:06:06 +0300 |
---|---|---|
committer | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-24 17:06:06 +0300 |
commit | 962d814e52beb8d3ca8c73f3ab48d8566778dcc5 (patch) | |
tree | c0bc5ef5567eeddd851ac630b579823178b4e34e /src/common/sandbox.h | |
parent | e1410f20d749e3e76a28b7db0e99f51b863100ef (diff) | |
download | tor-962d814e52beb8d3ca8c73f3ab48d8566778dcc5.tar.gz tor-962d814e52beb8d3ca8c73f3ab48d8566778dcc5.zip |
dynamic parameter filter (prototype, not tested)
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r-- | src/common/sandbox.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h index b80c19808e..b75161d93b 100644 --- a/src/common/sandbox.h +++ b/src/common/sandbox.h @@ -45,7 +45,20 @@ typedef struct { intptr_t param; char prot; -} ParFilter; +} ParFilterStatic; + +struct pfd_elem { + int syscall; + + char ptype; + char pindex; + intptr_t param; + + char prot; + + struct pfd_elem *next; +}; +typedef struct pfd_elem ParFilterDynamic; /** * Linux 32 bit definitions |