|
From: Tom H. <th...@cy...> - 2004-06-22 08:43:35
|
CVS commit by thughes:
Prevent applications from blocking SIGVGINT in the proxy threads.
M +4 -2 vg_proxylwp.c 1.15
--- valgrind/coregrind/vg_proxylwp.c #1.14:1.15
@@ -682,5 +682,6 @@ static Int proxylwp(void *v)
vg_assert(px->state == PXS_SigACK);
appsigmask = req.sigmask;
- VG_(ksigdelset)(&appsigmask, VKI_SIGVGKILL); /* but allow SIGVGKILL to interrupt */
+ VG_(ksigdelset)(&appsigmask, VKI_SIGVGKILL); /* but allow SIGVGKILL */
+ VG_(ksigdelset)(&appsigmask, VKI_SIGVGINT); /* and SIGVGINT to interrupt */
px->state = PXS_WaitReq;
reply.req = PX_BAD; /* don't reply */
@@ -689,5 +690,6 @@ static Int proxylwp(void *v)
case PX_SetSigmask:
appsigmask = req.sigmask;
- VG_(ksigdelset)(&appsigmask, VKI_SIGVGKILL); /* but allow SIGVGKILL to interrupt */
+ VG_(ksigdelset)(&appsigmask, VKI_SIGVGKILL); /* but allow SIGVGKILL */
+ VG_(ksigdelset)(&appsigmask, VKI_SIGVGINT); /* and SIGVGINT to interrupt */
vg_assert(px->state == PXS_WaitReq ||
|