Skip to contentSkip to conversation

2.6 kernel header licensing.

DISCUSSION Rob Landley 3 participants 3 messages May 20, 2004 – May 23, 2004

lore
Share & tools
lore
#0 lore raw

I'm using Mariusz Mazur's kernel headers package to compile my C library against, and I asked him what the license on his package was. He said it's derived from the 2.6 kernel, so the license is whatever's on the 2.6 kernel.

That's the GPL.

This means that even though these are cleaned up kernel headers with kernel internal stuff stripped out, and designed to compile a userspace C library against, there's a license conflict if I use the resulting C library to compile anything but GPL software. Technically, if I use them to compile BSD software with the advertising clause, I can't distribute the result. The three P's (Perl, Python, and PHP) are right out.

Now I'm fairly certain this was not the intent. And I could probably make a case in court that the intent of header files is to provide an external API to compile against, so the userspace portions of the kernel headers are pretty much by definition an external interface boundary that the GPL's terms won't cross. (They define the boundary; that's what they're for.)

But I'd really rather just get this resolved politely now.

Would anybody on linux-kernel like to venture an opinion about whether the license on Mariusz's Mazur's kernel headers package could be changed to LGPL instead of GPL? (Since that's what the LGPL is, in point of fact, for. And for years the glibc people have been grabbing kernel headers and blithely using them to create an LGPL product with nobody complaining, and in fact before uclibc you couldn't have a functional linux kernel sysem without it, so there's a de facto license of some sort anyway that it would be nice to make explicit.)

The kernel headers in question can be found here:

http://ep09.pld-linux.org/~mmazur/linux-libc-headers/

Linus? Anybody?

Signature · 2 lines
www.linucon.org: Linux Expo and Science Fiction Convention
October 8-10, 2004 in Austin Texas.  (I'm the con chair.)
#1 lore raw
Quoted 4 lines

Would anybody on linux-kernel like to venture an opinion about whether the license on Mariusz's Mazur's kernel headers package could be changed to LGPL instead of GPL?

you cannot do that without the (written) permission of all contributors, which makes that severly impractical.

However, if those headers are strictly datastructures, your library compiled against those does not contain code from those headers, eg it's just interface definitions. Eg as long as you don't use inlines or large #define's that generate code you're basically ok afaics (but IANAL). Now if you want to (re)distribute those headers with your package, the GPL again applies to the files of course.

#2 lore raw
In reply to Rob Landley

On Thu, May 20, 2004 at 12:56:40AM -0500, Rob Landley said

Quoted 2 lines

software with the advertising clause, I can't distribute the result. The three P's (Perl, Python, and PHP) are right out.

Perl and Python are under GPL-compatible licenses.

Signature · 2 lines
Rob Weir <[email protected]> | [email protected]  |  Do I look like I want a CC?
Words of the day:    argus cryptographic AVN 64 Vauxhall Cross SRI Elvis Centro