From: Nick Mathewson Date: Sun, 24 Aug 2014 17:35:30 +0000 (-0400) Subject: Remove the non-implemented versions of the sandbox _array() functions X-Git-Tag: tor-0.2.6.1-alpha~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15be51b41d1a0c7b8743800c40cf60110cfe880f;p=thirdparty%2Ftor.git Remove the non-implemented versions of the sandbox _array() functions --- 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 @@ -1683,13 +1683,6 @@ sandbox_cfg_allow_open_filename(sandbox_cfg_t **cfg, char *file) return 0; } -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) { @@ -1697,13 +1690,6 @@ sandbox_cfg_allow_openat_filename(sandbox_cfg_t **cfg, char *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 @@ -1727,13 +1706,6 @@ sandbox_cfg_allow_stat_filename(sandbox_cfg_t **cfg, char *file) return 0; } -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) {