MacBook userspace is derived from NetBSD. The kernel is so far removed from BSD UNIX it's not worth even mentioning.
This link you commented on points to the kernel used in WSL2 which gives you a full Linux under Windows. Unlike Mac where you probably will use homebrew to install Unix packages, this is a full, unadultered Linux machine. Even WSL1 allowed you to install anything from Ubuntu although some (very, very few!) didn't run, most importantly (for us) some debuggers.
MacBook userspace is derived from NetBSD. The kernel is so far removed from BSD UNIX it's not worth even mentioning.
This link you commented on points to the kernel used in WSL2 which gives you a full Linux under Windows. Unlike Mac where you probably will use homebrew to install Unix packages, this is a full, unadultered Linux machine. Even WSL1 allowed you to install anything from Ubuntu although some (very, very few!) didn't run, most importantly (for us) some debuggers.