Re: Driver Model
From: Jan-Benedict Glaw (jbglaw_at_lug-owl.de)
Date: 09/03/03
- Previous message: Marc Zyngier: "Re: Compiling latest 2.6 bk snapshot on Alpha"
- In reply to: Stuart MacDonald: "RE: Driver Model"
- Next in thread: Alan Cox: "RE: Driver Model"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 3 Sep 2003 16:52:16 +0200 To: linux-kernel@vger.kernel.org
On Wed, 2003-09-03 10:36:16 -0400, Stuart MacDonald <stuartm@connecttech.com>
wrote in message <002301c37228$bbc89950$294b82ce@stuartm>:
> From: linux-kernel-owner@vger.kernel.org
> > [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of
> > Richard B. Johnson
> > sources are available. If the driver does not contain the appropriate
> > MODULE_LICENSE() string, then several tools will show "tainted" so
>
> If the MODULE_LICENSE() macro is what determines taint, what's to
> prevent a company from compiling their driver in their own kernel tree
> with that macro and releasing it binary-only? Wouldn't that module
> then be taint-free?
To use it, you've to call it like
MODULE_LICENSE("GPL");
The string (license name) you supply is stored into the module binary
and checked ad module load time. Either it's "GPL" (or a few others
IIRC) or it isn't. If it is, the module is GPL and (after you've shipped
the module) any user can legally ask for sources (and you've to ship
them). If it isn't GPL (or the other accepted variants), it'll taint the
kernel. That'll tell us to not look at oopses, though...
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
-
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/
- application/pgp-signature attachment: stored
- Previous message: Marc Zyngier: "Re: Compiling latest 2.6 bk snapshot on Alpha"
- In reply to: Stuart MacDonald: "RE: Driver Model"
- Next in thread: Alan Cox: "RE: Driver Model"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|