浏览代码

Repair build when no sandbox support is enabled.

Nick Mathewson 8 年之前
父节点
当前提交
7123e9706e
共有 1 个文件被更改,包括 15 次插入0 次删除
  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)
 {