Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2e2e3693-b16a-d158-9617-99978a2b287f@gmail.com>
Date: Wed, 17 Feb 2021 14:49:45 -0500
From: Dominic Chen <d.c.ddcc@...il.com>
To: Rich Felker <dalias@...c.org>
Cc: fweimer@...hat.com, musl@...ts.openwall.com
Subject: Re: Incorrect thread TID caching

On 2/15/2021 11:56 AM, Rich Felker wrote:
> Following up on this now, the code in _Fork is something I really
> don't want to duplicate for clone() for risk of forgetting there's a
> copy in the latter and letting it bitrot there. I'd rather refactor
> things so the same logic can be shared...

Thanks for the update. Can you use something like 
__attribute__((always_inline)) to just write the logic once but force it 
to be inlined into both library functions?

Dominic

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.