Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200928233758.GB17637@brightrain.aerifal.cx>
Date: Mon, 28 Sep 2020 19:37:59 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Pending patches for MT-fork stuff

On Mon, Sep 28, 2020 at 07:26:15PM -0400, Rich Felker wrote:
> In investigating the MT-fork deadlock stuff and working on a patch
> that makes it attempt to trap rather than deadlocking, I found a
> problem with interaction of fork and aio. A fix for that, along with
> the patch to trap, and a minimal testcase for the aio bug, are
> attached.
> 
> There's also a problematic interaction of abort with fork that was
> just found in glibc that also exists in musl, that I still need to
> fix. I'll follow up later with a proposed solution for that.

And here's the proposed abort fix.

View attachment "0004-move-__abort_lock-to-its-own-file-and-drop-pointless.patch" of type "text/plain" (2082 bytes)

View attachment "0005-fix-race-deadlock-with-abort-in-forked-child-of-mult.patch" of type "text/plain" (1180 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.