Re: Driver Model

From: Jan-Benedict Glaw (jbglaw_at_lug-owl.de)
Date: 09/03/03

  • Next message: Con Kolivas: "[PATCH]O20int"
    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

  • Next message: Con Kolivas: "[PATCH]O20int"

    Relevant Pages

    • Re: [RFC] add kobject to struct module
      ... > - Are we opening the floodgates for another round of races and driver ... If you set the "perm" portion of the module_parammacro to 0, ... perm sets the visibility in driverfs: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux GPL and binary module exception clause?
      ... If company A writes a driver which is not GPL it doesn't concern the ... If company B offered the modified driver for kernel inclusion, ... 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/ ...
      (Linux-Kernel)
    • RE: Digi Neo 8: linux-2.6.12_r2 jsm driver
      ... Which is the right of Christoph because of the GPL, ... How is shipping a stripped down version of the driver, ... our customers want, improving the "things that are in the kernel"? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [hsflinux] [PATCH] Blacklist binary-only modules lying about their license
      ... > As an end user, if I buy a full fledged modem, I get some amount of ... The GPL driver may even support the ... The GPL linux driver interfaces with it, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Promise SATA driver GPLd
      ... It may be GPL, but only goes to prove a few points that everyone lost on ... > Promise SATA cards. ... the GPL'd driver can be ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)