master
Tighten behavior of _rs_allocate failure for portable arc4random implementations.
Using pthread_atfork instead of __register_atfork with uClibc on noMMU
Tighten behavior of _rs_allocate on Windows.
spelling fixes; from paul tagliamonte i removed the arithmetics -> arithmetic changes, as i felt they were not clearly correct
make fixed-sized fixed-value mib[] arrays be const ok guenther tb millert
For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
Update getentropy on Windows to use Cryptography Next Generation (CNG).