Messages in this thread | | | Subject | Re: [BUG] ptraced process waiting on syscall may return kernel internal errnos | From | Benjamin Herrenschmidt <> | Date | Thu, 07 Jun 2007 13:27:01 +1000 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |