This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Always do locking when accessing streams


On Thu, Apr 18, 2013 at 11:36:34AM +0200, Andreas Schwab wrote:
>    /* If we can't signal ourselves and the abort instruction failed, exit.  */
> -  if (stage == 7)
> +  if (stage == 5)
>      {
>        ++stage;
>        _exit (127);

Unrelated to your patch, but while I'm noticing it, I should mention
that this final step is a bug. abort is required to cause abnormal
program termination. That can be achieved by raise(SIGKILL).

Note that in order for that to work correctly, the bug I just reported
in raise (#15368) needs to be fixed.

Rich


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]