commit 7123e9706e424c2a0561ad81db3ef9e4073df30c Author: Nick Mathewson nickm@torproject.org Date: Tue Mar 22 13:18:18 2016 -0400
Repair build when no sandbox support is enabled. --- src/common/sandbox.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
diff --git a/src/common/sandbox.c b/src/common/sandbox.c index b07af6b..7365d7a 100644 --- a/src/common/sandbox.c +++ b/src/common/sandbox.c @@ -1885,6 +1885,21 @@ sandbox_cfg_allow_stat_filename(sandbox_cfg_t **cfg, char *file) }
int +sandbox_cfg_allow_chown_filename(sandbox_cfg_t **cfg, char *file) +{ + (void)cfg; (void)file; + return 0; +} + + +int +sandbox_cfg_allow_chmod_filename(sandbox_cfg_t **cfg, char *file) +{ + (void)cfg; (void)file; + return 0; +} + +int sandbox_cfg_allow_rename(sandbox_cfg_t **cfg, char *file1, char *file2) { (void)cfg; (void)file1; (void)file2;
tor-commits@lists.torproject.org