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:	Wed, 23 Jun 2010 04:30:47 +0100
From:	Matthew Garrett <mjg@...hat.com>
To:	Paul Mundt <lethal@...ux-sh.org>
Cc:	Alan Cox <alan@...rguk.ukuu.org.uk>,
	Don Zickus <dzickus@...hat.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Prarit Bhargava <prarit@...hat.com>,
	linux-kernel@...r.kernel.org,
	Randy Dunlap <randy.dunlap@...cle.com>
Subject: Re: [PATCH v3] Add TAINT_HARDWARE_UNSUPPORTED flag

On Wed, Jun 23, 2010 at 12:06:38PM +0900, Paul Mundt wrote:

> What exactly is the use case supposed to be? If drivers are supposed to
> call in to it for specific devices then they already have all of the
> information they need for constructing a device blacklist and providing
> more detailed information. If it's a configuration issue then we have
> device quirks, which could also be extended to other busses as needed. In
> either case, the context ought to be fairly explicit. I would much rather
> see a message from the bus code stating that a specific device has been
> disabled and skip the probe path entirely rather than trying to bolt on a
> system-wide unsupported hardware state.

Hardware may work, it may just not work well enough that a software 
vendor (eg, Red Hat) wants to deal with problem reports (eg, oopses 
caused by a network card DMAing to the wrong place) from systems with 
specific bits of hardware (eg, network cards that enjoy DMAing to the 
wrong place occasionally). It may not even be down to technical issues - 
the vendor may just have chosen to refuse to support systems with old 
CPU families. It'd be straightforward to make the kernel simply refuse 
to boot on them, but it seems more elegant to let it boot and alert the 
user to the situation.

I don't think it's a flag that would ever be used in mainline, and 
Alan's suggestion to just keep a range of taint flags as vendor-specific 
would avoid the risk of collisions in future. But there's a minor 
incentive to maintain standardisation over these things in order to 
encourage commonality of report code.

-- 
Matthew Garrett | mjg59@...f.ucam.org
--
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