[...]
> /* Should we really block SIGCHLD? */
> ignored = (oact.sa_handler == SIG_IGN);
>
> if (!ignored)
> /* Restore the original signal mask. */
> (void) sigprocmask (SIG_SETMASK, &oset, (sigset_t *) NULL);
>
> ret = __syscall_nanosleep (req, rem);
>
> if (ignored)
These 'if' conditions are backward.
zw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/