Re: AUDIT: copy_from_user is a deathtrap.

From: Edgar Toernig (froese@gmx.de)
Date: Thu May 23 2002 - 06:15:45 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:28 EST