Re: block layer sg, bsg

From: David S. Miller
Date: Wed Aug 04 2004 - 10:47:45 EST


On Wed, 4 Aug 2004 17:04:04 +0200
Jens Axboe <axboe@xxxxxxx> wrote:

> On Wed, Aug 04 2004, David S. Miller wrote:
> >
> > When you pass data structures in via {read,write}{,v}() system calls,
> > you make it next to impossible for the CONFIG_COMPAT layer to cope
> > with this.
> >
> > Please consider another way to pass in those sg_io_* things.
>
> Any suggestions?

ioctl() :-(

Or use a more portable well-defined type which does not change
size nor layout between 32-bit and 64-bit environments.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/