From: Nick Mathewson Date: Tue, 22 Mar 2016 17:18:18 +0000 (-0400) Subject: Repair build when no sandbox support is enabled. X-Git-Tag: tor-0.2.8.2-alpha~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7123e9706e424c2a0561ad81db3ef9e4073df30c;p=thirdparty%2Ftor.git Repair build when no sandbox support is enabled. --- diff --git a/src/common/sandbox.c b/src/common/sandbox.c index b07af6bd2a..7365d7ac4f 100644 --- a/src/common/sandbox.c +++ b/src/common/sandbox.c @@ -1884,6 +1884,21 @@ sandbox_cfg_allow_stat_filename(sandbox_cfg_t **cfg, char *file) return 0; } +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) {