Explorar o código

Repair build when no sandbox support is enabled.

Nick Mathewson %!s(int64=8) %!d(string=hai) anos
pai
achega
7123e9706e
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  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)
 {