Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140817101156.GQ22308@port70.net>
Date: Sun, 17 Aug 2014 12:11:57 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Test case for 'false ownership' of mutex via TID reuse

* Rich Felker <dalias@...c.org> [2014-08-16 19:06:11 -0400]:
> 
> http://austingroupbugs.net/view.php?id=755
> 
> Sadly it's rather slow and impractical to add to libc-test. I'm not
> sure if it's possible to run it in a container with a smaller pid/tid
> space to get the reuse to happen sooner. It can also have false
> negatives if some other process claims the tid before it gets reused
> for a new thread in the test process. Ideas to make the test more
> practical and reliable would be nice.

i already had a test for this, but did not commit it because of the
slowness

i could speed up the test by increasing the max user process limit
(RLIMIT_NPROC) and creating a lot of zombies, but that's probably
not practical

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.