On 09/26/2014 02:51 PM, yogesh garg wrote:
> Hi Everyone,
> 
> I am trying to use xenomai to create my kernel module.
> But when I am trying to compile my module under Non GPL license,
> compiler is throwing error for macros which are export as
> EXPORT_SYMBHOL_GPL.
> My doubt is, it is mandatory for kernel module, which is using Xenomai
> skins,
> to build as GPL license ?
> 

The kernel code implementing Xenomai is covered by the licensing terms
of the Linux kernel, nothing more, nothing less. As a matter of fact,
this code has to know about the kernel internals to operate, and has
been implemented for running as part of the Linux kernel since day one.
In short: the kernel code implementing core Xenomai services is
definitely a derived work of the Linux kernel, the same way the I-pipe
patch it uses is also a derived work.

Implementing your application in kernel space is clearly a very, very
bad idea, really (no fault recovery, fairly hostile programming
environment, licensing issues for 3rd parties, potential kernel
corruption by application, kernel bloat etc). These kernel APIs are gone
in Xenomai 3.x for these reasons.

Moving your apps to userland would solve your licensing issue, and many
more.

-- 
Philippe.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to