Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #29668

Closed (moved)
Open
Opened Mar 06, 2019 by Nick Mathewson@nickm🥄

Drop thread_fast_rng during postfork; improve thread_fast_rng fork-safety

If you fork with a thread_fast_rng, we need to invalidate the thread_fast_rng so it will get reconstructed in the child process.

We should also tweak thread_fast_rng so that it is always misuse-resistant across fork()s in the same way. Right now it has 3 behaviors if you try to share it across a fork:

  • it works seamlessly if you have zero-on-fork support
  • it crashes if you have drop-on-fork support
  • it becomes an insecure prng if you have neither.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.4.1.x-final
Milestone
Tor: 0.4.1.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#29668