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] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 11 Apr 2009 11:33:55 -0600
From:	Robert Hancock <hancockrwd@...il.com>
To:	Robert Mykland <robert@...enium.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: USB auto mount - specific versus general driver

Robert Mykland wrote:
> Folks,
> 
> Consider a USB key that auto mounts as a generic USB storage device 
> using the block level driver for that.  Can I write a driver that, for 
> example, is more specific to that key and gets loaded and used at auto 
> mount time instead of the generic driver?  How would I go about 
> identifying my driver so it superseded the generic one?

You'd have to add an unusual device entry to the USB storage driver 
which tells it not to claim that device. Look at 
drivers/usb/storage/unusual_devs.h and the US_FL_IGNORE_DEVICE flag.

> 
> Thanks in Advance,
> 
> -- Robert.
> 

--
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