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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080626191010.GD31004@one-eyed-alien.net>
Date:	Thu, 26 Jun 2008 12:10:10 -0700
From:	Matthew Dharm <mdharm-kernel@...-eyed-alien.net>
To:	Ben Collins <ben.collins@...onical.com>
Cc:	usb-storage <usb-storage@...ts.one-eyed-alien.net>,
	kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [usb-storage] Ambiguous dupe in libusual device list

On Thu, Jun 26, 2008 at 01:32:36PM -0400, Ben Collins wrote:
> In unusual_devs.h, there are these two entries:
> 
> #ifdef CONFIG_USB_STORAGE_DATAFAB
> /* Submitted by Olaf Hering <olh@...e.de> */
> UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,

> #ifdef CONFIG_USB_STORAGE_SDDR55
> /* SM part - aeb <Andries.Brouwer@....nl> */
> UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,

> If I'm not mistaken (and because libusual is pretty well abstracted, I
> might be) this is an ambiguous dupe that isn't resolved with any
> checking (IOW, the second entry is likely never used), at least when
> both config options are enabled.

Reading the code, it looks like it's a bit more complex than that.

The first entry enables use of a driver (if it's compiled it) which can
drive both slots on a dual-slot device.

The first entry enables use of a driver (if it's compiled it) which can
only drive one slot on a dual-slot device.

This is really the type of thing which shows that we need some sort of
semi-generic "preference" mechanism for driver binding...

Matt

-- 
Matthew Dharm                              Home: mdharm-usb@...-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

M:  No, Windows doesn't have any nag screens.
C:  Then what are those blue and white screens I get every day?
					-- Mike and Cobb
User Friendly, 1/4/1999

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ