Re: User Space Emulation of Devices

H. Peter Anvin (
12 Sep 2001 15:14:57 -0700

Followup to: <>
By author: Oliver Neukum <>
In newsgroup:
> How do you pass an ioctl ? If any parameter is a pointer you actually need a
> complex protocol for passing memory content to make it useful.

You need a parameter marshalling system; however, they do exist. It
might actually be that the best way to deal with this is to make a
general module framework and compile a specific module to marshall the
parameters of the device you want to emulate.


<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."	<>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at