mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kyle Moffett <mrmacman_g4@mac.com>
To: Antti Halonen <antti.halonen@secgo.com>
Cc: James Morris <jmorris@namei.org>,
	Arjan van de Ven <arjan@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: Re: searching exported symbols from modules
Date: Thu, 20 Apr 2006 04:01:30 -0400	[thread overview]
Message-ID: <EF32C995-F38A-4945-AB38-5CCBE21513B4@mac.com> (raw)
In-Reply-To: <963E9E15184E2648A8BBE83CF91F5FAF43619E@titanium.secgo.net>

On Apr 20, 2006, at 03:15:42, Antti Halonen wrote:
>> This makes me wonder why the hell you think you'll get help from  
>> this (open-source) list.
>
> I see, I figured this is the place to ask technical question  
> related to programming in kernel space.

Typically yes; however there are two problems:
   1)  If we can't see your code, we probably can't help you very  
well.  Since you're not providing your code, you're wasting both your  
time and ours with questions that would be much more easily answered  
with access to that code.
   2)  Many people will refuse to provide help for what they perceive  
as violations of their copyright.

>> A large number of people on this list (including copyright- 
>> holders) consider what you are doing blatantly illegal, although  
>> nobody has yet gone to court over it.
>
> Um, which part is illegal?

Many people consider any Linux kernel module to be a derivative work  
of the Linux kernel.  For example, you use non-standardized internal  
header files containing inline functions which end up compiled into  
your code, you use interfaces which are only present in the Linux  
kernel itself, your binary module does not run without a specific  
particular version of the Linux kernel, etc.

> Are you saying that I cannot have a non-open source kernel module?

My personal opinion is not relevant here, it's that of the major  
copyright holders (of which there are thousands) and the courts.  If  
nobody ever sues you over your kernel module, or if you win any  
lawsuit, you're ok.  On the other hand, it's such a sensitive topic  
you should go talk to your lawyer first.  Many significant kernel  
copyright holders believe that essentially any kernel module is a  
derivative work of the Linux kernel, and as such must be GPLed to  
comply with copyright law in most major countries.

> If I figured correctly, to violate GPL I should compile GPL code  
> into my module.

You are doing exactly that when you use atomic_t, spinlocks, or a  
thousand other inline functions from the kernel headers.

> It is a standalone module, not distributed with any custom kernel.

Which kernel does it run against?  Does this run on other operating  
systems?  Do you require certain Linux-only interfaces?  Can your  
work reasonably be considered independent?  I suggest talking with a  
lawyer to answer these questions before attempting to release any non- 
GPL-compatible kernel module; just as you would if you were releasing  
a module for Windows for which there is not a defined API.

Cheers,
Kyle Moffett


  reply	other threads:[~2006-04-20  8:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20  7:15 Antti Halonen
2006-04-20  8:01 ` Kyle Moffett [this message]
2006-04-20 17:00 ` Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-04-20  6:12 Antti Halonen
2006-04-20  7:00 ` Kyle Moffett
2006-04-20  5:50 Antti Halonen
2006-04-20  5:59 ` James Morris
2006-04-19 15:59 Antti Halonen
2006-04-19 16:02 ` Arjan van de Ven
2006-04-19 15:34 Antti Halonen
2006-04-19 15:43 ` Arjan van de Ven
2006-04-19 14:54 Antti Halonen
2006-04-19 15:17 ` Arjan van de Ven
2006-04-19 13:08 Antti Halonen
2006-04-19 14:55 ` linux-os (Dick Johnson)
2006-04-19 15:53 ` Robin Holt
2006-04-21  7:33 ` Keith Owens
2006-04-21 14:03   ` Vernon Mauery
2006-04-19 12:44 Antti Halonen
2006-04-19 12:59 ` linux-os (Dick Johnson)
2006-04-19 14:55   ` Jim Cromie
2006-04-19 14:22 ` Arjan van de Ven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EF32C995-F38A-4945-AB38-5CCBE21513B4@mac.com \
    --to=mrmacman_g4@mac.com \
    --cc=antti.halonen@secgo.com \
    --cc=arjan@infradead.org \
    --cc=jmorris@namei.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®