[tor-bugs] #32282 [Core Tor/Tor]: Avoid regressions to raw log mask calculations

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 25 07:30:45 UTC 2019


#32282: Avoid regressions to raw log mask calculations
------------------------------+------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  task          |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-autostyle
Actual Points:                |  Parent ID:  #31713
       Points:  0.5           |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 It's easy to accidentally calculate log masks yourself, rather than using
 the standard macro.

 Can we replace masks[LOG_*-LOG_ERR] with masks[SEVERITY_MASK_IDX(LOG_*)]
 automatically?
 Or should we ban -LOG_ERR

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32282>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list