Re: [BUG] ptraced process waiting on syscall may return kernelinternal errnos

From: Roland McGrath
Date: Wed Jun 13 2007 - 20:03:32 EST


> btw, another interesting grep is to see how tweak TIF_SIGPENDING by
> hand ... there's some scary bits in the tty code too...

All I see there are the calls just added recently by Oleg, which are
correct and necessary to fix a bug. Wrapping it in something less magical
might be nice. It is the right thing to do in any place that is
introducing an -ERESTART* error code without having just checked signal_pending.


Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/