Traditional Culture Encyclopedia - Weather forecast - What does (WSL) mean? Just understand these three letters.

What does (WSL) mean? Just understand these three letters.

Windows Subsystem for Linux (WSL) is a compatibility layer, which is used to run Linux binary executable files (ELF format) locally on Windows 10.

It was developed by Microsoft in cooperation with Canonical. The goal is to download and decompress the pure Ubuntu14.04 "Trusty Tahr" image to the user's local computer, and the tools and utilities in the image can run locally on this subsystem.

WSL provides Linux Linux unified kernel interface developed by Microsoft (without Linux code), and Ubuntu user-mode binary files run on it. ?

This subsystem can't run all Linux software, such as those with graphical user interface and those that need unimplemented Linux kernel services. However, this can be alleviated by a graphical X window system running on an external X server.

This subsystem originated from the ill-fated Astoria project, and its purpose is to make Android applications run on Windows 10 Mobile. [5] This functional component has been provided since Windows 10 internal preview version 143 16.

Extended data

WSL contains the following contents:

WSL allows native Linux? ELF64 binary runs on Windows. It includes user mode and kernel mode components, mainly including the following parts:

1. The user-mode session management service handles the life cycle of a Linux instance.

2.picoprovider driver (lxss.sys, lxcore.sys) "translates" system calls to simulate the Linux kernel.

3.Pico process manages native user mode Linux (such as /bin/bash).

Miracle happened between user-mode Linux binaries and Windows kernel components. By putting the unmodified Linux binary file into the Pico process, we import the Linux system call directly into the Windows kernel.

The drivers Lxss.sys and lxcore.sys translate Linux system calls into NT APIs to simulate the Linux kernel.

References:

Baidu encyclopedia -WSL