Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753624AbZA1BDY (ORCPT ); Tue, 27 Jan 2009 20:03:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751492AbZA1BDP (ORCPT ); Tue, 27 Jan 2009 20:03:15 -0500 Received: from terminus.zytor.com ([198.137.202.10]:58898 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbZA1BDP (ORCPT ); Tue, 27 Jan 2009 20:03:15 -0500 Message-ID: <497FAE97.6020703@zytor.com> Date: Tue, 27 Jan 2009 17:02:15 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Linus Torvalds CC: Ingo Molnar , Linux Kernel Mailing List , Andrew Morton , Sam Ravnborg , Jaswinder Singh Rajput , "David S. Miller" Subject: Re: [mingo@elte.hu: [git pull] headers_check fixes] References: <20090127222825.GA27097@elte.hu> <497F9740.4000505@zytor.com> <497FA2F5.2040806@zytor.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1094 Lines: 31 Linus Torvalds wrote: >>> >> This is probably true. I think we should add this as one more of the >> preprocessing rules which we really should just do, as well as automatic >> mangling of integer types. > > Btw, the really scary thing is that I bet there are programs out there > that "know" about kernel internals, and do things like > > #define CONFIG_SMP 1 > #define __KERNEL__ 1 > #include > > in order to get the atomic helpers from the kernel, and using CONFIG_xyz > markers to force the exact version they want. > > And we will inevitably always end up breaking stuff like that. Nothing we > can do about it - in the end, users can do infinitely odd things and know > about our internals, and whatever changes we do will occasionally break > some of the more incestuous code. > Yes, that's just PEBKAC. -hpa -- 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/