lkml.org 
[lkml]   [2010]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch 4/21] Make fill_psinfo generic
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.



\
 
 \ /
  Last update: 2010-12-14 17:03    [W:0.127 / U:0.648 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site