tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sigaction(2) broken in -current



Hi,

On Tue, Nov 25, 2008 at 01:47:03PM +0100, Matthias Drochner wrote:

> I'm trying to update my box to -current. With a kernel
> from yesterday's sources, a lot of breakage happens due
> to sigaction(2) failing unexpectedly. The appended
> test program get an EINVAL.
> This is a non-modular kernel.
> 
> best regards
> Matthias
> 
> #include <stdio.h>
> #include <signal.h>
> #include <err.h>
> 
> int
> main()
> {
>         struct sigaction osa;
>         int res;
> 
>         res = sigaction(SIGINT, NULL, &osa);
>         if (res)
>                 err(1, "sigaction");
> 
>         return 0;
> }

I'm working on this. I think it might also explain the FP issues you were
seeing with signals.

Andrew


Home | Main Index | Thread Index | Old Index