-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See jedisct1/libsodium#1237: sodium_malloc() calls sodium_mlock() for us, but it ignores any failures reported from there, so if we run out of our mlock quota, instead of failing loudly and clearly, it will just give us non-mlocked memory instead, and when we use it under the assumption that it will be mlocked, all sorts of spurious / nondeterministic failures will result.
- Loading branch information
Showing
2 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters