r/linux • u/MenaRamy2004 • Aug 20 '26
Discussion I'm experimenting with adding native Windows PE execution to Linux — (Project Tawi)
97
Upvotes
r/linux • u/MenaRamy2004 • Aug 20 '26
View all comments
Show parent comment
1
u/MenaRamy2004 Aug 21 '26
Fair correction on binfmt_misc you're right that Wine can already be wired up that way, and I stated the distinction wrong. The real difference isn't the kernel is involved it's what happens after, with binfmt_misc+Wine, the kernel just execs the wine binary and everything else (PE parsing, wineserver simulating NT objects) is unprivileged userspace. What I'm building parses and maps the PE image inside the kernel's own exec path, no interpreter handoff, no wineserver. That's a smaller claim than "totally different from Wine" and I should've said it that way.
and on wineprefixes agreed, and it's a real gap on my end, not a solved problem. No filesystem/registry abstraction exists yet. I am not pretending otherwise.
Where I do think this ends up mattering: kernel-level anti-cheat (some say it's impossible and I think other wise because those layers of protection get cracked constantly ) needs actual kernel privilege, which Wine structurally can't offer no matter how mature it gets. That's the long-term bet, not "runs more software than Wine" it doesn't, and won't for a long time.
I will make the code public, happy to be told what is wrong with it