diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-10 14:23:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-10 14:23:13 -0500 |
commit | eb8841cd9553d1bd7804018963abacf93a088f74 (patch) | |
tree | 955184790af4929f9440866035314feb46ce1a2b /src/feature/control/control.c | |
parent | d9144700af5602cc267c0d147145c100567fdbb3 (diff) | |
parent | b2c3cb1b26c41969776ed1fd1b20588430346e45 (diff) | |
download | tor-eb8841cd9553d1bd7804018963abacf93a088f74.tar.gz tor-eb8841cd9553d1bd7804018963abacf93a088f74.zip |
Merge branch 'bug33104_041'
Diffstat (limited to 'src/feature/control/control.c')
-rw-r--r-- | src/feature/control/control.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/control/control.c b/src/feature/control/control.c index b4f27cb820..ee1026359d 100644 --- a/src/feature/control/control.c +++ b/src/feature/control/control.c @@ -158,6 +158,10 @@ control_ports_write_to_file(void) } const struct signal_name_t signal_table[] = { + /* NOTE: this table is used for handling SIGNAL commands and generating + * SIGNAL events. Order is significant: if there are two entries for the + * same numeric signal, the first one is the canonical name generated + * for the events. */ { SIGHUP, "RELOAD" }, { SIGHUP, "HUP" }, { SIGINT, "SHUTDOWN" }, |