summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-03-22 13:18:18 -0400
committerNick Mathewson <nickm@torproject.org>2016-03-22 13:18:18 -0400
commit7123e9706e424c2a0561ad81db3ef9e4073df30c (patch)
tree3db77d9d77f23753c8a2338618b568144b50b7d4 /src/common
parentca8423a703803db860ee39906f8b5d362e0f64f2 (diff)
downloadtor-7123e9706e424c2a0561ad81db3ef9e4073df30c.tar.gz
tor-7123e9706e424c2a0561ad81db3ef9e4073df30c.zip
Repair build when no sandbox support is enabled.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/sandbox.c15
1 files changed, 15 insertions, 0 deletions
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
@@ -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;