aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-07-29 14:46:47 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-07-29 14:46:47 +0300
commit6d5b0367f6e0035f99570b5bb76a75322ae9a85e (patch)
tree480293232f6d1801a7b7c0f4374f953fb4319159 /src/common/sandbox.h
parent8f9d3da19447f138bc451937b20537810926ff30 (diff)
downloadtor-6d5b0367f6e0035f99570b5bb76a75322ae9a85e.tar
tor-6d5b0367f6e0035f99570b5bb76a75322ae9a85e.tar.gz
Changes as suggested by nickm
- char* to const char* and name refactoring - workaround for accept4 syscall
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index c6d80659e..9acf8c4a9 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -80,7 +80,7 @@ typedef struct pfd_elem sandbox_cfg_t;
void sandbox_set_debugging_fd(int fd);
int tor_global_sandbox(void);
-char* get_prot_param(char *param);
+const char* sandbox_intern_string(char *param);
sandbox_cfg_t * sandbox_cfg_new();
int sandbox_cfg_allow_open_filename(sandbox_cfg_t **cfg, char *file);