Re: [PATCH] cleanup ptrace stops and remove notify_parent

From: Andrew Morton
Date: Mon Aug 30 2004 - 22:46:54 EST


Roland McGrath <roland@xxxxxxxxxx> wrote:
>
> This patch is against Linus's current tree.

It clashes significantly with your waitid syscall patch. Which one do you
believe has priority?

> + info.si_status = tsk->exit_code & 0x7f;
> if (tsk->exit_code & 0x80)
> - why = CLD_DUMPED;
> + info.si_code = CLD_DUMPED;
> else if (tsk->exit_code & 0x7f)
> - why = CLD_KILLED;
> + info.si_code = CLD_KILLED;
> else {
> - why = CLD_EXITED;
> - status = tsk->exit_code >> 8;
> - }
> - break;
> + info.si_code = CLD_EXITED;
> + info.si_status = tsk->exit_code >> 8;

Indenting catastrophe in do_notify_parent() needs fixing please.

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