lkml.org 
[lkml]   [2003]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ioctl cleanups: move SG_IO translation where it belongs
Hi!

> > This enables sharing of 200 lines of SG_IO support by all 64-bit
> > architectures. If it looks okay, more such patches will follow.
>
>
> I currently have some patches for this function pending. When an
> unchanged data buffer is passed it is ok to just verify_area it, no need
> to kmalloc and copy. This simplifies this handler vastly.
>
> Here is the part from the 2.4 patch; haven't tried it with 2.5 yet,
> but should apply there too.
>
> Also adds some boundary checking.

I'll merge it. Can you mail me whole 2.4 patch [I had it but deleted
it, sorry]. I'll attempt to port it to 2.5 and return it back to
you...

Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:1.775 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site