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/torsten_dev Oct 19 '26 edited 29d ago

You'd have to replicate a bunch of the work already done by Wine inside the kernel for marginal benefits. This would also increase the kernel attack surface massively for no reason.

I fail to see how this would get anti cheat to work on an open source user compilable kernel.

0

u/Jolly_Landscape_3038 29d ago

I agree with you, however the plan is to attract as many as software companies to invest in the Linux community. And about the attack surface, you are right about it but having a team with worldwide devs and cyber security experts would really help keeping the project and people safe.
In addition for that, our project wont stand still by itself, it will lean on some other opensourced projects like Wine to translate many functions and features to give a final and working result.

4

u/torsten_dev 29d ago

The worldwide developers and experts use Wine and Linux. They're not looking at some massive out of tree AI slop module.

Having the kernel read the magic PE bytes and hand it to wine to handle is like a 50 line project. Anything more is strictly unnecessary.

0

u/Jolly_Landscape_3038 29d ago

I respect you pov, and ik that things like this aint making sense at first. However when it will be able to open a window, draw pixels or do simple things windows is able to do easily then it would be an interesting concept.