-
Notifications
You must be signed in to change notification settings - Fork 31
binfmt_misc
Jonathan edited this page Jun 18, 2025
·
4 revisions
binfmt_misc is a Linux kernel feature to register "runners" for certain types of binaries.
To automatically run Hermit images using a cargo installed Uhyve directly by running the following:
sudo sh -c "echo :hermit:M:7:\\xff::$HOME/.cargo/bin/uhyve: > /proc/sys/fs/binfmt_misc/register'Afterwards, you can invoke kernels such as ./data/x86_64/rusty_demo directly.
It is possible to use both environment variables and Uhyve's CLI parameters.