Stream: git-wasmtime

Topic: wasmtime / PR #5244 Avoid unconditional `getrandom` sysca...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2022 at 15:02):

alexcrichton opened PR #5244 from wasi-less-getrandom to main:

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.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2022 at 15:02):

alexcrichton requested sunfishcode for a review on PR #5244.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2022 at 16:45):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2022 at 19:58):

alexcrichton merged PR #5244.


Last updated: Nov 22 2024 at 17:03 UTC