public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* hsf modem drivers lying about their license
@ 2004-04-26 19:50 Jon DeVree
  2004-04-26 20:18 ` Chris Friesen
  0 siblings, 1 reply; 2+ messages in thread
From: Jon DeVree @ 2004-04-26 19:50 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

Someone needs to take a look at the MODULE_LICENSE string reported by
the HSF modem drivers made by LinuxAnt.

http://www.linuxant.com/drivers/hsf/full/downloads.php

They creatively inserted a \0 character in it.
MODULE_LICENSE("GPL\0for files in the \"GPL\" directory; for others,
only LICENSE file applies");

Runnning modinfo -F license on the compiled driver gives:
GPL because of their creative null character. The actual license for most of
the files is NOT GPL.
-- 
Jon
http://tesla.resnet.mtu.edu
The only meaning in life is the meaning you create for it.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hsf modem drivers lying about their license
  2004-04-26 19:50 hsf modem drivers lying about their license Jon DeVree
@ 2004-04-26 20:18 ` Chris Friesen
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Friesen @ 2004-04-26 20:18 UTC (permalink / raw)
  To: jadevree; +Cc: linux-kernel

Jon DeVree wrote:
> Someone needs to take a look at the MODULE_LICENSE string reported by
> the HSF modem drivers made by LinuxAnt.
> 
> http://www.linuxant.com/drivers/hsf/full/downloads.php
> 
> They creatively inserted a \0 character in it.
> MODULE_LICENSE("GPL\0for files in the \"GPL\" directory; for others,
> only LICENSE file applies");
> 
> Runnning modinfo -F license on the compiled driver gives:
> GPL because of their creative null character. The actual license for most of
> the files is NOT GPL.

Ewww...that's evil.

Maybe we need to store the size of the license string for modinfo, so it doesn't stop at the first null?

Chris

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-26 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-26 19:50 hsf modem drivers lying about their license Jon DeVree
2004-04-26 20:18 ` Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox