[tor-bugs] #26040 [Core Tor/Tor]: Improve getrandom handling

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 14 03:00:13 UTC 2018


#26040: Improve getrandom handling
--------------------------+------------------------------------
 Reporter:  Hello71       |          Owner:  Hello71
     Type:  enhancement   |         Status:  needs_revision
 Priority:  Medium        |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:  catalyst      |        Sponsor:
--------------------------+------------------------------------

Comment (by catalyst):

 Replying to [comment:6 Hello71]:
 > Ah, I remember. I read the EINTR part of the ERRORS section, and I
 interpreted it to mean that we will never receive EINTR, contrary to your
 quote. I filed https://bugzilla.kernel.org/show_bug.cgi?id=199711 to ask
 which one it is.
 Thanks for filing the kernel bug report! It looks like libevent might
 always set `SA_RESTART` when installing signal handlers on systems with
 `sigaction()`? (at least based on my quick skim of the source)

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


More information about the tor-bugs mailing list