COMPAT_LINUX(8) BSD System Manager's Manual COMPAT_LINUX(8)
compat_linux - setup for running Linux binaries under emulation
OpenBSD supports running Linux binaries. This only applies to
i386 sys- tems for now. Both the a.out and ELF binary formats
are supported. Most programs should work, including the ones
that use the Linux SVGAlib. Ad- ditionally, OSS audio is
emulated, so Linux binaries can access the na- tive audio
transparently. Programs that will not work include those that
use i386-specific calls, such as enabling virtual 8086 mode. The
Linux compatibility feature is active for kernels compiled with
the COMPAT_LINUX option and kern.emul.linux sysctl(8) enabled.
The default OS type is set to the host OS type, usually MirBSD,
but can be changed via the kern.emul_uname sysctl. A lot of
programs are dynamically linked. This means that the Linux
shared libraries that the programs depend on and the runtime
linker are also needed. Additionally, a "shadow root" directory
for Linux binaries on the OpenBSD syst