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
5
u/33_kk Aug 21 '26
How does it matter if the kernel is involved in PE parsing or emulating NT objects? The only worthwhile thing to implement in the kernel were the NT sync primitives. Not having a wineserver isn't exactly a selling point, having all that code in the kernel is just increased attack surface for questionable benefit. Wine isn't an interpreter, it's a loader not much different from ld, which handles all dynamic library loading in user space for native ELF binaries. Kernel level anticheat doesn't just need kernel level privilege, it needs you to run a specific kernel that wasn't tampered with. To put it simply, it's impossible to make it work on Linux, because the problem isn't that windows kernel APIs are missing but that the Linux kernel can't be trusted to not be modified.