Re: [BUG] ptraced process waiting on syscall may return kernelinternal errnos
From: Benjamin Herrenschmidt
Date: Wed Jun 06 2007 - 23:27:47 EST
On Wed, 2007-06-06 at 08:35 -0700, Linus Torvalds wrote:
> So now we should do "recalc_sigpending()" only when signals may be
> *added*
> (where messing with the "blocked" mask obviously is a form of adding
> signals, and possibly the most common reason for having to recalculate
> the
> sigpending mask).
>
> Comments? This patch is _entirely_ and utterly untested, so I'm only
> saying that this "feels" safer and more correct to me.
Oh and we still need to at least do the if (tsk == current) thingy
for the DRM notifier hack...
Ben.
-
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/