Re: Linux in a binary world... a doomsday scenario

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux