Re: [Patch 4/21] Make fill_psinfo generic

From: Oleg Nesterov
Date: Tue Dec 14 2010 - 11:01:25 EST


On 12/14, Suzuki K. Poulose wrote:
>
> + if (p->group_leader == current->group_leader) {
> + if (copy_from_user(&psinfo->pr_psargs,
> + (const char __user *)mm->arg_start, len))
> + return -EFAULT;
> + } else {
> + int bytes = access_process_vm(p, mm->arg_start,
> + &psinfo->pr_psargs, len, 0);

The same.

Oleg.

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