aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-24 13:35:30 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-24 13:35:30 -0400
commit15be51b41d1a0c7b8743800c40cf60110cfe880f (patch)
treed3178c04342588d2c7e63f53538b72199d303480 /src/common/sandbox.c
parent991545acf19039b2d8ca895bdcf53bb5f2770c31 (diff)
downloadtor-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.c28
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;