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]
Date:	Tue, 23 Dec 2008 13:32:32 +0100
From:	Oliver Neukum <oliver@...kum.org>
To:	Robert Hancock <hancockr@...w.ca>
Cc:	linux-kernel@...r.kernel.org, Jens Axboe <axboe@...nel.dk>
Subject: Re: Checking a USB drive's capacity

Am Dienstag, 23. Dezember 2008 05:51:39 schrieb Robert Hancock:
> It seems to me that the safest solution would be to mark USB storage 
> devices as unsafe for last-sector partition table probing, like some 
> kind of CAPACITY_DUBIOUS flag, causing it to be skipped on these 
> devices, at least by default. After all, it would seem quite unusual to 
> see anything other than a DOS-style partition table on a USB storage 
> device (or else no partition table at all).

That would not help if user space (especially udev helpers) go for the end
of the device.

	Regards
		Oliver

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