diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-24 13:35:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-08-24 13:35:30 -0400 |
commit | 15be51b41d1a0c7b8743800c40cf60110cfe880f (patch) | |
tree | d3178c04342588d2c7e63f53538b72199d303480 /src/common/sandbox.c | |
parent | 991545acf19039b2d8ca895bdcf53bb5f2770c31 (diff) | |
download | tor-15be51b41d1a0c7b8743800c40cf60110cfe880f.tar.gz tor-15be51b41d1a0c7b8743800c40cf60110cfe880f.zip |
Remove the non-implemented versions of the sandbox _array() functions
Diffstat (limited to 'src/common/sandbox.c')
-rw-r--r-- | src/common/sandbox.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c index e215fe2926..146f4ad5a5 100644 --- a/src/common/sandbox.c +++ b/src/common/sandbox.c @@ -1684,26 +1684,12 @@ sandbox_cfg_allow_open_filename(sandbox_cfg_t **cfg, char *file) } int -sandbox_cfg_allow_open_filename_array(sandbox_cfg_t **cfg, ...) -{ - (void)cfg; - return 0; -} - -int sandbox_cfg_allow_openat_filename(sandbox_cfg_t **cfg, char *file) { (void)cfg; (void)file; return 0; } -int -sandbox_cfg_allow_openat_filename_array(sandbox_cfg_t **cfg, ...) -{ - (void)cfg; - return 0; -} - #if 0 int sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, const char *com) @@ -1711,13 +1697,6 @@ sandbox_cfg_allow_execve(sandbox_cfg_t **cfg, const char *com) (void)cfg; (void)com; return 0; } - -int -sandbox_cfg_allow_execve_array(sandbox_cfg_t **cfg, ...) -{ - (void)cfg; - return 0; -} #endif int @@ -1728,13 +1707,6 @@ sandbox_cfg_allow_stat_filename(sandbox_cfg_t **cfg, char *file) } int -sandbox_cfg_allow_stat_filename_array(sandbox_cfg_t **cfg, ...) -{ - (void)cfg; - return 0; -} - -int sandbox_cfg_allow_rename(sandbox_cfg_t **cfg, char *file1, char *file2) { (void)cfg; (void)file1; (void)file2; |