musl: add upstream patch to fix race condition in file locking
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 19 Sep 2018 06:44:24 +0000 (08:44 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 20 Sep 2018 05:06:58 +0000 (07:06 +0200)
commit1f90976c88f1e4a910f2fb55a331e3fc1048d62d
tree5c7aef14c87d74a4eef19d124de6bc5a09748792
parentadc98bfa260569c844843934768b0ae77cf64a86
musl: add upstream patch to fix race condition in file locking

According to [1]:

  musl 1.1.20 introduced a regression in stdio FILE locking that can
  cause soft deadlocks with >2 threads contending for a
  FILE. Users/dists should apply
  https://git.musl-libc.org/cgit/musl/commit/?id=0db393d3a77bb9f300a356c6a5484fc2dddb161d.

[1] https://twitter.com/musllibc/status/1042292786568024070

This commit therefore adds the corresponding patch to the musl
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/musl/0002-fix-race-condition-in-file-locking.patch [new file with mode: 0644]