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:	Thu, 24 Jan 2008 15:14:09 +0200
From:	"Pekka Enberg" <penberg@...helsinki.fi>
To:	"Oliver Neukum" <oliver@...kum.org>
Cc:	"Wilco Beekhuizen" <wilcobeekhuizen@...il.com>,
	"Greg KH" <greg@...ah.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Missing usb_find_device symbol from usb.c

Hi,

On Jan 24, 2008 2:58 PM, Oliver Neukum <oliver@...kum.org> wrote:
> So we put it into drivers/usb/misc
> Does that change the code?

Yes. It's assumes only one device is plugged in.

On Jan 24, 2008 2:58 PM, Oliver Neukum <oliver@...kum.org> wrote:
> How do you make a block device on top of this device? It has no notion
> of reading/writing arbitrary blocks. It operates on files.

So you don't make it a block device which is even simpler. Now
get_sb_bdev() will fail before attempting to read the superblock. In
iriverfs, we only need to check for USB_DEVICE_MAJOR and then look up
struct usb_device to make sure we're allowed to mount.

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