summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-11 13:26:14 -0400
committerNick Mathewson <nickm@torproject.org>2015-03-11 13:31:33 -0400
commit809517a8634b320ddfced409ac6ea90e8c0b9344 (patch)
tree3752c06f229652969e77f59b0fa765eab83f6343 /src/or/or.h
parent985687bc4f99b90ed88ccdbefc820260c299ff23 (diff)
downloadtor-809517a8634b320ddfced409ac6ea90e8c0b9344.tar.gz
tor-809517a8634b320ddfced409ac6ea90e8c0b9344.zip
Allow {World,Group}Writable on AF_UNIX {Socks,Control}Ports.
Closes ticket 15220
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 6723f93f77..3350f3babd 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3322,6 +3322,9 @@ typedef struct port_cfg_t {
uint8_t type; /**< One of CONN_TYPE_*_LISTENER */
unsigned is_unix_addr : 1; /**< True iff this is an AF_UNIX address. */
+ unsigned is_group_writable : 1;
+ unsigned is_world_writable : 1;
+
entry_port_cfg_t entry_cfg;
server_port_cfg_t server_cfg;