[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070202171232.261c4fad.randy.dunlap@oracle.com>
Date: Fri, 2 Feb 2007 17:12:32 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Jan Engelhardt <jengelh@...ux01.gwdg.de>
Cc: Paul Rolland <rol@...917.net>,
"'Linux Kernel Mailing List'" <linux-kernel@...r.kernel.org>,
"'Andrew Morton'" <akpm@...l.org>,
"'Jon Masters'" <jonathan@...masters.org>,
"'Alexey Dobriyan'" <adobriyan@...il.com>
Subject: Re: [PATCH] Ban module license tag string termination trick
On Fri, 2 Feb 2007 20:06:42 +0100 (MET) Jan Engelhardt wrote:
>
> On Feb 2 2007 09:49, Randy Dunlap wrote:
> >On Fri, 2 Feb 2007 18:41:02 +0100 (MET) Jan Engelhardt wrote:
> >> On Feb 2 2007 08:53, Randy Dunlap wrote:
> >> >
> >> >if (MODULE_LICENSE_contains_null(license))
> >> > printk(KERN_WARNING "this module's license is suspicious\n");
> >>
> >> Try to code that macro.
> >
> >It's not a macro afaict.
>
> 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.
---
~Randy
-
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