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]
Message-ID: <20081030195107.GK27407@elte.hu>
Date:	Thu, 30 Oct 2008 20:51:07 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Steven Rostedt <rostedt@...dmis.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Heiko Carstens <heiko.carstens@...ibm.com>
Subject: Re: [PATCH][RFC] x86: add non x86 build configuration


* Steven Rostedt <rostedt@...dmis.org> wrote:

> A lot of developers develop on x86 architectures, and do things that 
> sometimes breaks non x86 archs. This patch adds a debug option to 
> turn off all the CONFIG_HAVE_ options that x86 sets. This allows 
> developers to easily test their code to make sure that it compiles 
> without a lot of the assumptions that x86 makes.
> 
> Note: Recently the ftrace code had an issue where a depend was set
>   by the wrong select, but that select was not set by all archs.
>   This patch catches that issue when compiling on x86.

cool, very nice - thanks Steve!

testing this way scales _far_ better than maintaining a farm of 
cross-compilers.

One important detail: could you please flip around the modality of the 
option? Right now it's CONFIG_SIMULATE_NON_X86_CONFIGURATION, and that 
will be set by allyesconfig. But it has the exact opposite effect of 
an "all yes" config.

So please name it something like CONFIG_STANDARD_X86_FEATURES, and 
also make it depend on CONFIG_EMBEDDED (only allow it to be turned off 
when EMBEDDED is enabled).

ok?

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