News for hackers. Stuff that matters.
Re:The Windows Subsystem for Linux is now open source by xeonmc on Tuesday May 20, 2025 @10:33AM (#44042102)
> (mmap's created could only be as large as the file's current size as in Windows, while Linux/BSD semantics allows for a mmap larger than the file that's usable without constant remapping as the file grows).

I thought you could do it using ntdll functions, no?

https://www.jeremyong.com/winapi/io/2024/11/03/windows-memor...

Re:The Windows Subsystem for Linux is now open source by whizzter on Tuesday May 20, 2025 @05:32PM (#44046124)
Good to know, still the obscureness of this function or semantics led WSL1 to be incompatible for a long time (Also skimming this article touches upon some 0-sized mappings being an issue?).

Regardless this led WSL1 to have fatal incompatibilities for a long time, iirc basic stuff like the rpm system or something similarly fundamental for some distros/languages relied on it. And once WSL2 existed people just seems to have gone over.