Re: BUG: mmapfile/writev spurious zero bytes (x86_64/not i386, bisected, reproducable)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Al Viro
Date: Tuesday, June 17, 2008 - 3:11 pm

On Tue, Jun 17, 2008 at 11:42:03PM +0200, Andi Kleen wrote:


AFAICS, what happened is that b0rken copy_*FROM*_user() had been discussed
with references to copy_*TO*_user().  With proposed patch indeed not affecting
any legitimate calls of the latter.  Does affect the former and that, from
my reading of the code in question, correctly.

IOW, s/copy_to_user/copy_from_user/ in Linus' postings upthread and they
make sense.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: BUG: mmapfile/writev spurious zero bytes (x86_64/not i ..., Al Viro, (Tue Jun 17, 3:11 pm)