Re: User Space Emulation of Devices

Tim Jansen (
Thu, 13 Sep 2001 20:33:34 +0200

On Thursday 13 September 2001 10:25, Phil Thompson wrote:
> The best approach I found (for my purposes anyway) was the one used by the
> ALSA OSS emulator (and strace as well?) that uses weak & strong symbols in
> a pre-loaded shared library to intercept system calls to the device I
> wanted to handle in user space.
> I'd be surprised if this technique was suitable as a generic approach.

Unfortunately not for writing device drivers in user space because the
library inherits the user id from the application - you have to be root to
access hardware.


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