binfmtmisc
binfmt_misc is a Linux kernel facility that allows the registration of miscellaneous executable formats so that the kernel can automatically invoke an interpreter or loader to run non-native binaries. It exposes a runtime interface at /proc/sys/fs/binfmt_misc and uses a simple registration mechanism to associate a format with an interpreter or loader. When a program is executed, the kernel checks the registered rules and, if a match is found, delegates execution to the specified interpreter, supplying the binary as an argument. This enables transparent execution of foreign-architecture binaries and other formats without requiring each application to provide its own launcher.
Registration is performed by writing a line to /proc/sys/fs/binfmt_misc/register. A format definition consists of fields such
binfmt_misc has been part of the Linux kernel as a generic mechanism for handling non-native executable formats