Re: AUDIT: copy_from_user is a deathtrap.

Alan Cox
2002-05-22T13:10:19Z

> > Because the standard says either you return the errorcode and no data
> > is transferred or for a partial I/O you return how much was done.
>
> Hmm... I can't find anything like that in SuSv2: can you give a reference?
> And we're already violating that for the write() case.

The we should fix the bug. Its explicitly covered in SuSv3 because that
incorporates the posix text. Its also discussed in things like 1003.1g
drafts in great detail (sockets have very explicit ordering for error
reporting)