On Thu, Jan 10, 2013 at 03:27:41PM +0400, Konstantin Serebryany wrote: > > So, I'd guard the prctl call with additional > > #ifdef PR_SET_NAME > > Ok. > I'd prefer to guard the whole test with #if defined(__linux__) && > defined(PR_SET_NAME).
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. > It is very likely that I will flip fast_unwind_on_fatal to 0 next week. Perfect, thanks. Jakub