3 ms·
OK interesting -- native Ubuntu Linux binaries on Windows too. FreeBSD and Illumos are also emulating Linux too, i.e. translating syscalls in the kernel. I wo
by chubot 11y ago
OK interesting -- native Ubuntu Linux binaries on Windows too. FreeBSD and Illumos are also emulating Linux too, i.e. translating syscalls in the kernel. I wonder if Microsoft grabbed some of that code since it's open source :)
This just shows how standards are made... implement first then think about it later :) I don't think the Linux syscall interface is the model of clarity, but that's what we have.
EDIT: This answers my original question... apparently they didn't patch bash -- they patched their own kernel to run the bash binary, and all Linux binaries! It was done at a binary level rather than source level.