mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add torture test for zipos file descriptors
This change hardens the code for opening /zip/ files using the system call interface. Thread safety and signal safety has been improved for file descriptors in general. We now document fixed addresses that are needed for low level allocations.
This commit is contained in:
parent
579080cd4c
commit
e466dd0553
44 changed files with 2981 additions and 307 deletions
|
@ -30,6 +30,9 @@
|
|||
* called, then it'll return the same sequence each time your program
|
||||
* runs. Faster and more modern alternatives exist to this function.
|
||||
*
|
||||
* This function is not thread safe in the sense that multiple threads
|
||||
* might simultaneously generate the same random values.
|
||||
*
|
||||
* @note this function does well on bigcrush and practrand
|
||||
* @note this function is not intended for cryptography
|
||||
* @see lemur64(), rand64(), rdrand()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue