[tor-commits] [tor/master] Do sandbox_is_active() check before reconstructing dump_desc() FIFO on startup too
nickm at torproject.org
nickm at torproject.org
Thu Jun 30 15:18:32 UTC 2016
commit 34d9dabed18452aed6ba0d983673c8366c1b64a2
Author: Andrea Shepard <andrea at torproject.org>
Date: Thu Jun 30 07:45:55 2016 +0000
Do sandbox_is_active() check before reconstructing dump_desc() FIFO on startup too
---
src/or/routerparse.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 2260693..def6373 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -6001,7 +6001,9 @@ rend_parse_client_keys(strmap_t *parsed_clients, const char *ckstr)
void
routerparse_init(void)
{
- dump_desc_init();
+ if (!(sandbox_is_active())) {
+ dump_desc_init();
+ }
}
/** Clean up all data structures used by routerparse.c at exit */
More information about the tor-commits
mailing list