|
|
Subscribe / Log in / New account

Designing ELF modules

Designing ELF modules

Posted Mar 18, 2018 6:04 UTC (Sun) by alison (subscriber, #63752)
Parent article: Designing ELF modules

LWN:
'ELF modules give the kernel a controlled way to run user-space helper code, and they make it easy to develop and distribute that code with the kernel itself. That latter aspect, in particular, distinguishes ELF modules from the existing "usermode helper" mechanism, which depends on programs developed and shipped separately from the kernel.'

GKH via LWN:
"sees uses for these modules as a way to implement USB drivers in user space, perhaps bringing some existing user-space drivers into the kernel tree in the process."

Hmm, presumably then user-space drivers that implement features like USB drivers would have to be GPLv2? Shipping userspace drivers with the kernel could be a win if existing drivers must be code-reviewed with usual standards before acceptance, but not at the cost of massively merging permissively licensed code into the kernel. OTOH, IIRC, device-tree compiler is permissively licensed, and no one cried foul there.


to post comments

Designing ELF modules

Posted May 7, 2022 10:18 UTC (Sat) by sammythesnake (guest, #17693) [Link]

Permissive licences* allow distribution under GPLv2, so the code could remain available under BSD/MIT/whatever without further drama - providing sufficient care is taken to keep such code from becoming so intricately linked to (and therefore "derivative work" of) GPL-only code.

There's already a bunch of code in the kernel under BSD/MIT style licences via this mode of thinking.

* For suitable definitions of "permissive licences"


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds