[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Do sandbox_is_active() check before reconstructing dump_desc() FIFO on startup too
commit 34d9dabed18452aed6ba0d983673c8366c1b64a2
Author: Andrea Shepard <andrea@xxxxxxxxxxxxxx>
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 */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits