r/kernel • • Oct 19 '26

binfmt_pe: PE & ELF Linux Kernel Loader

The concept of Linux running Windows apps is becoming true.
With the use of Reverse-Engineering, Coding, Creativity and of course AI. We managed to be able to get the Linux Kernel running its first Windows Executable NATIVELY.

More information at: https://github.com/EisaWando/Native-Windows-Executables-on-Linux

0 Upvotes

10 comments sorted by

View all comments

Show parent comment

4

u/gmes78 Oct 19 '26

Making the Kernel natively recognizing windows executables and running them

binfmt_misc already exists.

and running them on that level gives huge performance boots

No, it doesn't. The kernel doesn't affect how fast userspace code runs.

for example: a game like fc27 wont even boot on linux even while using wine, because the anticheat is made to only accept windows operating systems.

You can't fake TPM attestation results. Even if you did implement the full Windows kernel API, it still would refuse to run.

(And implementing that has nothing to do with writing a PE loader.)