Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore sys/random.h inclusion for getentropy() #93

Merged
merged 1 commit into from May 7, 2018

Conversation

tlyu
Copy link
Contributor

@tlyu tlyu commented May 7, 2018

Code movement for the refactoring for ticket 24658 didn't copy the
inclusion of sys/random.h, which is needed to get a prototype for
getentropy() on macOS 10.12 Sierra. It also didn't copy the inclusion
of sys/syscall.h, which might prevent the getrandom() syscall from
being properly detected. Move these inclusions. Bug not in any
released Tor.

Code movement for the refactoring for ticket 24658 didn't copy the
inclusion of sys/random.h, which is needed to get a prototype for
getentropy() on macOS 10.12 Sierra.  It also didn't copy the inclusion
of sys/syscall.h, which might prevent the getrandom() syscall from
being properly detected.  Move these inclusions.  Bug not in any
released Tor.
@coveralls
Copy link

coveralls commented May 7, 2018

Pull Request Test Coverage Report for Build 689

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 58.886%

Totals Coverage Status
Change from base Build 688: 0.0%
Covered Lines: 40517
Relevant Lines: 68806

💛 - Coveralls

@tor-bot tor-bot merged commit 9326abe into torproject:master May 7, 2018
@tlyu tlyu deleted the bug26036 branch May 7, 2018 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants