Re: [PATCH] [5/6] Handle TIF_RESTORE_SIGMASK for i386

From: David Woodhouse
Date: Fri Jan 13 2006 - 01:22:25 EST


On Thu, 2006-01-12 at 22:10 -0800, Andrew Morton wrote:
> rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
> rt_sigsuspend(~[HUP CHLD RTMIN RT_1]) = -1 EINVAL (Invalid argument)

OK, that makes it easier to track down -- thanks. Unfortunately my
scratch i386 box in the office hasn't rebooted onto my test kernel so
it'll have to wait until (a sensible hour in) the morning.

I suspect it might be the sigset size. We have a whole bunch of

/* XXX: Don't preclude handling different sized sigset_t's. */
if (sigsetsize != sizeof(sigset_t))
return -EINVAL;

--
dwmw2

-
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/