]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Repair build when no sandbox support is enabled.
authorNick Mathewson <nickm@torproject.org>
Tue, 22 Mar 2016 17:18:18 +0000 (13:18 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Mar 2016 17:18:18 +0000 (13:18 -0400)
src/common/sandbox.c

index b07af6bd2ab9fbc6d5997c8d93ee33dc09f30ec6..7365d7ac4fdade847bf955a379731d620226c3a3 100644 (file)
@@ -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)
 {