From 7123e9706e424c2a0561ad81db3ef9e4073df30c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 22 Mar 2016 13:18:18 -0400 Subject: [PATCH] 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 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) { -- 2.47.3