[lug] User Mode driver kit

Sebastian Sobolewski spsobole at mindless.com
Sun Sep 12 09:57:29 MDT 1999


Hi,

        I've written a Kernel module and a user (non suid) library that
allows
for writing device drivers that run in user mode.  I did this to allow
me to port some windriver based NT/Windows95 hardware drivers to Linux
where I work. The current version allows a non suid application to
listen to and handle interrupts and access IO ports.  I'm hoping to add
PCI and DMA capabilities soon.  There are some obvious security issues
involved with allowing any process to access hardware.. but for embedded
systems or for just hacking around it's pretty useful.  (I'm using it
run some factory equipment where security is a non issue)
        
        I am interested in knowing if anyone on this list would find
such a
toolkit/driver interesting or useful.  In the least the source is a nice
example of a re-entrant Linux driver.  If you would like to look at the
current source go to http://zeb.dhs.org/io32 .

        Questions, comments and suggestions are welcome.        

Thanks,
Sebastian (spsobole at mindless.com)



More information about the LUG mailing list