Microsoft discloses details about Windows Subsystem for Linux

Source: Internet
Author: User
Tags windows insider

Microsoft discloses details about Windows Subsystem for Linux
Last month, Microsoft officially announced that Bash on Ubuntu on Windows has supported Linux ELF64 binary files in Windows 10 using Windows Subsystem for Linux (WSL) native. WSL was developed by Microsoft's Windows Kernel team. Since it was announced last month and provided for trial in Windows Insider Build, many users are interested in learning how Windows Kernel Team establishes this subsystem.

In response to user attention, Microsoft has provided an overview of Windows Subsystem for Linux, answered common WSL questions, and disclosed implementation details. Although we have briefly analyzed how Ubuntu on Windows 10 works, let's take a look at Microsoft's official response.

WSL is a collection of components that support native Linux ELF64 binary files running on Windows. It contains user mode and kernel mode components:

  • User Mode Session Manager Service processes the lifecycle of a Linux instance
  • The Pico provider Driver (lxss. sys, lxcore. sys) simulates Linux kernel translation for Linux system calls.
  • Pico process hosting unmodified user mode Linux (for example,/bin/bash)

The miracle occurs between the Linux binary file in the user mode and the Windows Kernel. the Linux binary file in the Pico process can direct the Linux system call to the Windows kernel, while lxss. sys and lxcore. the sys Driver translates Linux system calls into NT APIs and simulates Linux Kernel.

Address: http://www.sysgeek.cn/windows-subsystem-for-linux-architectural-overview/

Address: http://www.linuxprobe.com/subsystem-for-linux/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.