lkml.org 
[lkml]   [2001]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: User Space Emulation of Devices
Date
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.

bye...

-
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:03    [W:0.082 / U:1.184 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site