lkml.org 
[lkml]   [2005]   [Dec]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 07 Dec 2005 17:18:34 +0200
FromAvi Kivity <>
SubjectRe: Linux in a binary world... a doomsday scenario
Hannu Savolainen wrote:

>
>Or why not to include an embedded version of gcc/binutils in the kernel
>LKM interface. In this way all drivers can only be distributed in source 
>code which effectively makes all forms of binary only drivers impossible. 
>After that all the EXPORT_SYMBOL_GPL nonsense can be removed and a proper 
>DDI layer can be implemented for Linux. This makes it possible to ship 
>"outside the kernel build" drivers without a risk of major 
>incompatibility problems in the next kernel version. No, I'm not 100% 
>serious but just 50%.
>
> 
>
char mydriver[] = { 0x90, 0xf3, 0xa4, ... };
struct { unsigned long offset; void* symbol; } fixups[] = { { 79, 
schedule }, ... };

module_init() { link(mydriver, fixups); ((void (*)())mydriver)(); }

:)

-- 
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-07 16:21    [from the cache]
©2003-2008