Re: ioctl cleanups: move SG_IO translation where it belongs

Pavel Machek (pavel@suse.cz)
Tue, 6 May 2003 23:38:53 +0200


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/