Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932201Ab3GPA6D (ORCPT ); Mon, 15 Jul 2013 20:58:03 -0400 Received: from mail-pb0-f43.google.com ([209.85.160.43]:45767 "EHLO mail-pb0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755214Ab3GPA6A (ORCPT ); Mon, 15 Jul 2013 20:58:00 -0400 Subject: Re: CONFIG_* used by user-space to figure out whether a feature is on/off From: Raymond Jennings To: Linus Torvalds Cc: Konrad Rzeszutek Wilk , Linux Kernel Mailing List In-Reply-To: References: <20130715154050.GA5941@phenom.dumpdata.com> <1373935603.31535.3.camel@warfang> Content-Type: text/plain; charset="UTF-8" Date: Mon, 15 Jul 2013 17:57:57 -0700 Message-ID: <1373936277.31535.6.camel@warfang> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1213 Lines: 29 On Mon, 2013-07-15 at 17:53 -0700, Linus Torvalds wrote: > On Mon, Jul 15, 2013 at 5:46 PM, Raymond Jennings wrote: > > > > I'd like to point out that Google Chrome also makes use of CONFIG_ tests > > to detect support for namespaces and pid containers and stuff. > > Hmm. It must work fine despite that. Because I run self-compiled > kernels and there are no config files to be found by user apps. > Neither in /proc nor in /boot. And I'm using chrome to write this. > > Linus It could be the quirks of my package manager though. I run Gentoo, so it's entirely possible that the ebuild is doing all the bitching, but chrome itself just fails gracefully and falls back to not using those features if it can't find them. I imagine though that the same stuff applying to applications in general should also apply to installers. Anyway I just wanted to highlight that it's not just the xen stuff that's peeking at kernel config. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/