musl: restore lock skipping for mostly-singlethreaded programs, and related patches

The remainder of the patch series proposed by upstream [2] for the locking
synchronization issue [1].

[1] https://www.openwall.com/lists/musl/2020/05/22/3
[2] https://www.openwall.com/lists/musl/2020/05/22/10

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
Matthias Schiffer 2020-05-23 21:17:15 +02:00
parent 10c211031c
commit afea16b8f7
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
3 changed files with 166 additions and 0 deletions