lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4757ED3B.1000703@s5r6.in-berlin.de>
Date:	Thu, 06 Dec 2007 13:38:19 +0100
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	Adrian Bunk <bunk@...nel.org>
CC:	"Jaursch, Bill" <bjaursch@...hen.com>, linux-kernel@...r.kernel.org
Subject: Re: FW: Guidance on resources for User Space Device Drivers on 2.6
 kernel

Adrian Bunk wrote:
> On Wed, Dec 05, 2007 at 01:29:23AM -0500, Jaursch, Bill wrote:
>> I have am in the process of writing a driver that is software only.
>> I would like to avoid the caveats of a kernel mode installable module.
>>...
> 
> What is "a driver that is software only"
> (all kernel code is also software only...)?
> 
> You must describe what you want to do for people being able to actually 
> help you.

Although "software only" is a wrong term here, it's certainly clear from
context what he meant.  However, what's missing is information about the
kind of device he plans to support.  Is it a USB device or is it sitting
behind a similar bus?  Or is it a device on a local bus like PCI?  In
the latter case, is DMA involved?

>> I found FUSD (http://svn.xiph.org/trunk/fusd/), but would like to know
>> if this is a stable project.

This question should be directed to the authors or maintainers of FUSD.
 Note, AFAIU from its documentation, FUSD is not a means to implement
arbitrary kinds of device drivers in userspace.  It allows for "proxying
*device file* callbacks into user-space, allowing *device files* to be
implemented by" userspace programs (emphasis is mine).  I.e. FUSD gives
userspace programs only the ability to supply a character special file
to other userspace programs.  In order to drive real hardware, the FUSD
client would additionally need to access other userspace interfaces of
the kernel, provided by actual kernelspace drivers.
-- 
Stefan Richter
-=====-=-=== ==-- --==-
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ