开源的是这个
https://github.com/microsoft/WSLThat means that the code that powers WSL is now available on GitHub at Microsoft/WSL and open sourced to the community! You can download WSL and build it from source, add new fixes and features and participate in WSL’s active development.
之前开源和尚未开源的
This comes as an addition to the already open sourced WSL components:
microsoft/wslg: Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
microsoft/WSL2-Linux-Kernel: The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
The following components are still part of the Windows image and are not open sourced at this time:
Lxcore.sys, the kernel side driver that powers WSL 1
P9rdr.sys and p9np.dll, which runs the “\\wsl.localhost” filesystem redirection (from Windows to Linux)
来源
https://blogs.windows.com/windowsdeveloper/2025/05/19/the-windows-subsystem-for-linux-is-now-open-source/