public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* legal question regarding use of glibc headers in /usr/include/linux
@ 2011-09-15 19:57 David Miller
  2011-09-16  7:35 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2011-09-15 19:57 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have a question that came up regarding the use of Linux in
proprietary user-space programs.
After several hours searching the web I am even more confused than
before, so I decided to ask someone that should know about.
My company would like to use Linux in an embedded system along with
some proprietary software. I think in general this alone should be
possible. The problem is that I am unsure what headers I can include
within user-space programs and which not. When I install the normal
glibc in Ubuntu (build-essential package) it installs also some linux
kernel headers in /usr/include/linux.
My question now is: Can I include these headers (e.g. #include
<linux/types.h>) since they seem to be normal glibc headers that seem
to be intended to be included in user-space programs that are
proprietary. I mean it's clear that I cannot use the ones in
/usr/src/linux-headers... that are containing the normal Linux Code.

If your answer is no:
------------------------
Why not - these headers contain just facts and how glibc could work
then? In any way glibc must interface with the linux kernel also, or
not? And the glibc is LGPL!
And also how can that be? I can then include accidentally any
forbidden header? From my point of view linux is not maintainable
then!
References:
http://www.osnews.com/story/24553/Does_Android_Violate_the_GPL_Probably_Not
also: the text file linux COPYING in the kernel sources

If your answer is yes:
----------------------
Some of the kernel headers in /usr/include/linux contain a GPL notice
in its header. When I include these headers, my proprietary user-space
program will be forced to be under GPL license and I will be killed by
my boss or not?


I stay tuned and look forward to your answer.

Thanks in advance,
Dave Miller (not the well-known)

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

* Re: legal question regarding use of glibc headers in /usr/include/linux
  2011-09-15 19:57 legal question regarding use of glibc headers in /usr/include/linux David Miller
@ 2011-09-16  7:35 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2011-09-16  7:35 UTC (permalink / raw)
  To: David Miller; +Cc: linux-kernel

David Miller wrote:
> ... some linux kernel headers in /usr/include/linux.
> My question now is: Can I include these headers (e.g. #include
> <linux/types.h>) since they seem to be normal glibc headers that seem
> to be intended to be included in user-space programs that are
> proprietary.

Read the clarification that Linus prepended to the COPYING file in the
kernel tree.


Regards,
Clemens

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

end of thread, other threads:[~2011-09-16  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 19:57 legal question regarding use of glibc headers in /usr/include/linux David Miller
2011-09-16  7:35 ` Clemens Ladisch

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