Hi folks,
recently, an infrastructure was added for loading emulations and support
for executing emulation binaries via LKM to kernel. This means that e.g.
Linux or FreeBSD compat code is now dynamically loadable and the support
for running respective binaries can be added in runtime.
The build infrastructure is there for all supported emulations and
compatibility exec formats under sys/lkm/{compat|exec}/*. It has
only been tested for Linux/ELF emulation on i386 so far. Other LKMs might
work, but due to the lack of testing, they are only built, but not
actually installed.
If you find any other compat or exec LKMs working (or not working), please
let us know via send-pr, so that it gets enabled or fixed. Note
that LKMs might need the kernel to be compiled with COMPAT_43; some require
also COMPAT_09 or COMPAT_1? options - YMMW.
Of course, if you encounter any problems caused by this, please report
the problem via send-pr too. If you have any further questions regarding
this, feel free to ask :)
Enjoy,
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, damn! @@@@