Re: [PATCH 1/5] Split wait_noreap_copyout()

From: Andrew Morton
Date: Mon May 11 2009 - 19:49:18 EST


On Mon, 11 May 2009 15:25:50 +0200
Vitaly Mayatskikh <v.mayatskih@xxxxxxxxx> wrote:

> + if (!retval && infop) {
> + retval = put_user(signal, &infop->si_signo);
> + if (!retval)
> + retval = put_user(0, &infop->si_errno);
> + if (!retval)
> + retval = put_user((short)why, &infop->si_code);
> + if (!retval)
> + retval = put_user(pid, &infop->si_pid);
> + if (!retval)
> + retval = put_user(uid, &infop->si_uid);
> + if (!retval)
> + retval = put_user(status, &infop->si_status);
> + }

I'll assume that "More changes to come" includes making all this somewhat
less inefficient ;)

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