Re: [PATCH] put_user() on struct is not nice

2007-09-25 Thread Al Viro
On Wed, Sep 26, 2007 at 12:05:46PM +1000, Rusty Russell wrote: > On Wed, 2007-09-26 at 01:54 +0100, Al Viro wrote: > > use copy_to_user() instead... > > Thanks Al, Jes sent me the same fix which I have queued for for 2.6.24: OK, decision on urgency is up to you - post .23 is fine by me... - To un

Re: [PATCH] put_user() on struct is not nice

2007-09-25 Thread Rusty Russell
On Wed, 2007-09-26 at 01:54 +0100, Al Viro wrote: > use copy_to_user() instead... Thanks Al, Jes sent me the same fix which I have queued for for 2.6.24: From: Jes Sorensen <[EMAIL PROTECTED]> Use copy_to_user() when copying a struct timespec to the guest - put_user() cannot handle two long's in