summaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-09 10:36:45 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-09 10:36:45 -0400
commit94352368db9045a9704c713dbbc0f41ecc511910 (patch)
treefb364f3abd78da2c8712597f2bbc47702d36d9e1 /src/common/sandbox.h
parentd2713b4ddc9d8a98d4b687188bcf392fd3235994 (diff)
downloadtor-94352368db9045a9704c713dbbc0f41ecc511910.tar.gz
tor-94352368db9045a9704c713dbbc0f41ecc511910.zip
Remove the #if 0ed code that was supposed to let the sandbox allow exec
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index a6b83153af..55454eaa2b 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -156,14 +156,6 @@ int sandbox_cfg_allow_rename(sandbox_cfg_t **cfg, char *file1, char *file2);
*/
int sandbox_cfg_allow_openat_filename(sandbox_cfg_t **cfg, char *file);
-#if 0
-/**
- * Function used to add a execve allowed filename to a supplied configuration.
- * The (char*) specifies the path to the allowed file; that pointer is stolen.
- */
-int sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, const char *com);
-#endif
-
/**
* Function used to add a stat/stat64 allowed filename to a configuration.
* The (char*) specifies the path to the allowed file; that pointer is stolen.