Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

From: Enrico Weigelt, metux IT consult
Date: Wed Mar 06 2019 - 19:44:13 EST


On 07.03.19 00:09, Pavel Machek wrote:

> So your licensing requirements prevent you from having headers in the
> filesystem, but allow module with the headers hidden inside on the
> filesystem?

Maybe it's just because I've missed most of the thread, but which
license requirements exactly could that be ?

The kernel still is GPL, isn't it ? So, any device vendor needs to hand
out the exact kernel source he hat built the image from, anyways.
(by the way: we should start a flash mob action of demanding sources
from the pocket-computers-with-3g vendors, but that's another story ;-))

So, what kind of license issue could it be, which prevents putting the
files (that you'd have to hand out anyways) directly into filesystem,
while allowing them in a .ko in the same filesystem ?

I'm confused.

> Looks like you should just tar xvzf
> this-is-a-kernel-module-I-promise.ko /usr/src/linux/include :-).

We should ask coreutils folks to add an ELF encapsulation to tar ;-)


--mtx

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287