Re: AUDIT: copy_from_user is a deathtrap.

Edgar Toernig
2002-05-23T11:26:25Z

Rusty Russell wrote:
>
> OS Empty file 6 byte file Pipe
> Return Size Return Size Valid Return Size
>
> AIX EFAULT 99P EFAULT 99P+6 99P+6 EFAULT 97P
>
> Linux 99P 100P 99P-6 100P 99P-2 99P 99P
> (x86)
>
> Solaris 98P 98P 99P-6 99P 99P EFAULT 98.75P
>

How could you miss this one - the only one that gets it right? ;-)

Linux2.0 EFAULT 0 EFAULT 6 0 EFAULT 0

SCNR, ET.