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

Avoid unconditional getrandom syscall creating a WasiCtx #5244

Merged

Commits on Nov 10, 2022

  1. Avoid unconditional getrandom syscall creating a WasiCtx

    This commit updates the default random context inserted into a
    `WasiCtxt` to be seeded from `thread_rng` rather than the system's
    entropy. This avoids an unconditional syscall on the creation of all
    `WasiCtx` structures shouldn't reduce the quality of the random numbers
    produced.
    alexcrichton committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    ace9b37 View commit details
    Browse the repository at this point in the history