The Linux kernel macros
Posted May 24, 2006 16:29 UTC (Wed) by pflugstad
In reply to: The Linux kernel is unambiguously licensed under GPL version 2.0.
Parent article: Kororaa and the GPL - Update 1
Heh - have you seen the min/max macros the kernel uses? Here's the debate (the first 1/2 a dozen entries or so):
And the current form (as of 22.214.171.124), which do type checking:
Also, I think a lot of the time, the kernel uses inline functions, and they are frequenly non-trivial. I think a lot of the scheduling and locking (spinlocks, sems, etc) functions are actually inline functions. Basically, a LOT of functionality is incorporated in in kernel headers.
So it get really hard to interact with the kernel without including kernel headers and using these inline functions - and from there, you get to a derived work pretty quickly.
to post comments)