tech-kern archive

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

sigaction(2) broken in -current



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;
}




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index