Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946206AbXBCBdl (ORCPT ); Fri, 2 Feb 2007 20:33:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946204AbXBCBdl (ORCPT ); Fri, 2 Feb 2007 20:33:41 -0500 Received: from tmailer.gwdg.de ([134.76.10.23]:40809 "EHLO tmailer.gwdg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946206AbXBCBdk (ORCPT ); Fri, 2 Feb 2007 20:33:40 -0500 Date: Sat, 3 Feb 2007 02:29:42 +0100 (MET) From: Jan Engelhardt To: Randy Dunlap cc: Paul Rolland , "'Linux Kernel Mailing List'" , "'Andrew Morton'" , "'Jon Masters'" , "'Alexey Dobriyan'" Subject: Re: [PATCH] Ban module license tag string termination trick In-Reply-To: <20070202171232.261c4fad.randy.dunlap@oracle.com> Message-ID: References: <011601c746d9$dc5453b0$4b00a8c0@donald> <20070202085351.3215815f.randy.dunlap@oracle.com> <20070202094900.d8931dbe.randy.dunlap@oracle.com> <20070202171232.261c4fad.randy.dunlap@oracle.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 26 On Feb 2 2007 17:12, Randy Dunlap wrote: >> >> >if (MODULE_LICENSE_contains_null(license)) >> >> > printk(KERN_WARNING "this module's license is suspicious\n"); >> >> Whatever, I just want to see how you are going to implement >> MODULE_LICENSE_contains_null. > >I was busy on other things this morning (my time). >Now I have looked and I see what you mean. ;) > >I think it's possible, but it requires digging/learning about >Elf headers. That's what I did... Jan -- ft: http://freshmeat.net/p/chaostables/ - 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/