Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261334AbUKBTRK (ORCPT ); Tue, 2 Nov 2004 14:17:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261335AbUKBTRK (ORCPT ); Tue, 2 Nov 2004 14:17:10 -0500 Received: from fire.osdl.org ([65.172.181.4]:62940 "EHLO fire-1.osdl.org") by vger.kernel.org with ESMTP id S261292AbUKBTRG (ORCPT ); Tue, 2 Nov 2004 14:17:06 -0500 Message-ID: <4187DA9B.8060401@osdl.org> Date: Tue, 02 Nov 2004 11:06:03 -0800 From: "Randy.Dunlap" Organization: OSDL User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jan Engelhardt CC: =?UTF-8?B?UGF3ZcWCIFNpa29yYQ==?= , linux-kernel@vger.kernel.org Subject: Re: [oops] lib/vsprintf.c References: <200411020719.55570.pluto@pld-linux.org> <200411021934.38802.pluto@pld-linux.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 24 Jan Engelhardt wrote: >>>You do know that %s does not mix with 1.4? >> >>Yes, I known. I did it intentionally. And you intentionally ignored the gcc warning... it's all yours. I.e., a normal user couldn't load the kernel module. >>IMHO kernel should be more resistant to accidental programmers errors. >>Be secure, trust no one ;) > > > Well usually it should be. include/linux/kernel.h has the __attribute__(printf) > stuff for the print[fk]* family. -- ~Randy - 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/