-
Notifications
You must be signed in to change notification settings - Fork 2
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
WIPEONFORK [Linux] #59
Comments
I think this could work well as part of For Is failing to reseed after a fork a case we want to handle, or exceedingly rare? We are talking here about a feature for a very recent Linux kernel version, and for OpenBSD. Both have an OS RNG that is supposed to be infallible. And if Advantages of using a custom wrapper:
Advantages of using
|
It's possible to have the |
I have experimented with this, but couldn't get it to work yet on Fedora 27. I am not sure if it was my code, or if the necessary libraries are not yet recent enough. |
Isn't WIPEONFORK applied to entire pages? Is there any scheme for aggregating allocations that want similar page flags? |
We could maybe make use of this, e.g. as a wrapper around a CSPRNG:
https://aws.amazon.com/blogs/opensource/better-random-number-generation-for-openssl-libc-and-linux-mainline/
Unfortunately it sounds like it's only available on one platform.
The text was updated successfully, but these errors were encountered: