Date: Wed, 3 Feb 2021 17:55:18 -0500 From: Rich Felker <dalias@...c.org> To: Dominic Chen <d.c.ddcc@...il.com> Cc: fweimer@...hat.com, musl@...ts.openwall.com Subject: Re: Incorrect thread TID caching On Wed, Feb 03, 2021 at 05:30:01PM -0500, Dominic Chen wrote: > > On 2/3/2021 4:01 PM, Rich Felker wrote: > >OK, raise should probably just be changed here to work even in vforked > >child since it seems plausible someone will use it there. It's not > >like saving the syscall actually matters here. But that's independent > >of the clone() issue. > > Sounds good, thanks! Hm, looking at how to do this now, and if clone is going to behave like _Fork, it needs to be able to run code in the child (to restore the signals is masked, etc.), which means it needs to wrap the child function passed to it. I think this is doable, but it's not entirely trivial. Rich
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.