On Thu, Jan 10, 2013 at 03:57:44PM +0400, Konstantin Serebryany wrote:
> > That is not sufficient. You can have PR_SET_NAME defined in the headers,
> > but still the underlying kernel doesn't need to handle it.
> >
> Like this?
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?r1=172048&r2=172059&pathrev=172059&diff_format=h
Yeah. I wouldn't create a separate thread just to call prctl, I believe it
should work even in the initial thread, doesn't it? But perhaps you don't
want to affect the name of the original testcase when running under gtest
native.
Jakub