aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-16 12:24:08 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-16 22:03:08 -0400
commitf268101a612bd637e270914365271d08fc5813db (patch)
tree1c917809c0d0d7925693ab2fbc1b548e42246407 /src/common/sandbox.h
parent6807b76a5e004a2d6c9f46f8b4dec0c90007996c (diff)
downloadtor-f268101a612bd637e270914365271d08fc5813db.tar
tor-f268101a612bd637e270914365271d08fc5813db.tar.gz
Clean up sandbox structures a bit
Drop pindex,pindex2 as unused. Admit a type to avoid using a void*
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index 8fcd221ef..c4144dbb2 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -65,10 +65,6 @@ typedef struct smp_param {
/** syscall associated with parameter. */
int syscall;
- /** parameter index. */
- int pindex;
- /** parameter index, second one. */
- int pindex2;
/** parameter value. */
intptr_t value;
/** parameter value, second argument. */
@@ -89,7 +85,7 @@ struct sandbox_cfg_elem {
SB_IMPL implem;
/** Configuration parameter. */
- void *param;
+ smp_param_t *param;
/** Next element of the configuration*/
struct sandbox_cfg_elem *next;