[tor-bugs] #34382 [Core Tor/Tor]: Don't require M_SYSCALL in sandbox.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 4 16:00:33 UTC 2020


#34382: Don't require M_SYSCALL in sandbox.c
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  easy fast-fix
Actual Points:                |  Parent ID:
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 In sandbox.c, we have a platform-dependent M_SYSCALL macro that is used to
 extract the syscall from a ucontext_t pointer.

 But we only use this value for debugging.  Perhaps instead we should make
 it optional, so that platforms where we don't have it defined can still
 build with m_syscall.

 See also #32904 and #30987

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


More information about the tor-bugs mailing list