Linux Kernel Gains $ORIGIN Support via eBPF and binfmt_misc
Linux kernel will support $ORIGIN, sort of
I proposed adding $ORIGIN support to the Linux kernel for relocatable Nix binaries, expecting rejection. Instead, maintainer Christian Brauner collaborated on a solution using eBPF and binfmt_misc. This breakthrough allows dynamic interpreter selection and transparent execution, enabling powerful new use cases for tools like Nix, Buck, and Bazel while maintaining full backwards compatibility.
"A ship in harbor is safe, but that is not what ships are built for."