Browse Source

Repair build when no sandbox support is enabled.

Nick Mathewson 8 years ago
parent
commit
7123e9706e
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/common/sandbox.c

+ 15 - 0
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)
 {