aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-09 14:55:47 -0400
committerNick Mathewson <nickm@torproject.org>2013-09-09 14:55:47 -0400
commit00fd0cc5f91ad431c4beb25b8cc8f89ff1462268 (patch)
tree06934aa15dcbc1d9c3eaa3e6d76c3d070f84cda0 /src/common/sandbox.h
parent340cca524f23195c00c46874b19980bbe7138ead (diff)
downloadtor-00fd0cc5f91ad431c4beb25b8cc8f89ff1462268.tar
tor-00fd0cc5f91ad431c4beb25b8cc8f89ff1462268.tar.gz
Basic compilation fixes.
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index ed9caa168..e61e0b333 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -204,12 +204,12 @@ int sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, char *com);
int sandbox_cfg_allow_execve_array(sandbox_cfg_t **cfg, ...);
/**
- * Function used to add a stat64 allowed filename to a supplied configuration.
+ * Function used to add a stat/stat64 allowed filename to a configuration.
* The (char*) specifies the path to the allowed file, fr = 1 tells the
* function that the char* needs to be free-ed, 0 means the pointer does not
* need to be free-ed.
*/
-int sandbox_cfg_allow_stat64_filename(sandbox_cfg_t **cfg, char *file,
+int sandbox_cfg_allow_stat_filename(sandbox_cfg_t **cfg, char *file,
int fr);
/** Function used to add a series of stat64 allowed filenames to a supplied
@@ -220,7 +220,7 @@ int sandbox_cfg_allow_stat64_filename(sandbox_cfg_t **cfg, char *file,
* that the char* needs to be free-ed, 0 means the pointer does not need to
* be free-ed; the final parameter needs to be <NULL, 0>.
*/
-int sandbox_cfg_allow_stat64_filename_array(sandbox_cfg_t **cfg, ...);
+int sandbox_cfg_allow_stat_filename_array(sandbox_cfg_t **cfg, ...);
/** Function used to initialise a sandbox configuration.*/
int sandbox_init(sandbox_cfg_t* cfg);