diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-09 10:36:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-09 10:36:45 -0400 |
commit | 94352368db9045a9704c713dbbc0f41ecc511910 (patch) | |
tree | fb364f3abd78da2c8712597f2bbc47702d36d9e1 /src/common/sandbox.h | |
parent | d2713b4ddc9d8a98d4b687188bcf392fd3235994 (diff) | |
download | tor-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.h | 8 |
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. |