适用于 Linux 的 Windows 子系统的发行说明Release Notes for Windows Subsystem for Linux

生成 18890Build 18890

有关常规 Windows 上生成 18890 信息请访问Windows 博客For general Windows information on build 18890 visit the Windows blog.

WSLWSL

  • 非阻塞套接字泄漏 [GH 2913]Non-blocking socket leak [GH 2913]
  • 终端的 EOF 输入可以阻止后续读取 [GH 3421]EOF input to terminal can block subsequent reads [GH 3421]
  • 更新 resolv.conf 标头来指代 wsl.conf [所述 GH 3928]Update resolv.conf header to refer to wsl.conf [discussed in GH 3928]
  • 死锁中 epoll 删除代码 [GH 3922]Deadlock in epoll delete code [GH 3922]
  • 处理参数-导入和 – 导出 [GH 3932] 中的空格Handle spaces in arguments to --import and –export [GH 3932]
  • 扩展 mmap 处理的文件无法正常工作 [GH 3939]Extending mmap’d files does not work properly [GH 3939]
  • 修复问题的 ARM64 \wsl$ 访问不能正常工作Fix issue with ARM64 \wsl$ access not working properly
  • 添加 wsl.exe 更好的默认图标Add better default icon for wsl.exe

生成 18342Build 18342

有关常规 Windows 上生成 18342 信息请访问Windows 博客For general Windows information on build 18342 visit the Windows blog.

WSLWSL

  • 我们已添加了用户从 Windows 访问 WSL 发行版中的 Linux 文件的能力。We've added the ability for users to access Linux files in a WSL distro from Windows. 可以通过命令行中,以及 Windows 应用,如文件资源管理器,VSCode 访问这些文件,等可以使用这些文件进行交互。These files can be accessed through the command line, and also Windows apps, like file explorer, VSCode, etc. can interact with these files. 通过导航到访问的文件\ \wsl$\< distro_name >,或查看运行的分布的方法是导航到列表\ \wsl$Access your files by navigating to \\wsl$\<distro_name>, or see a list of running distributions by navigating to \\wsl$
  • 添加更多的 CPU 信息标记和修复 Cpus_allowed [列表 (_l)] 值 [GH 2234]Add additional CPU info tags and fix Cpus_allowed[_list] values [GH 2234]
  • 支持从非领导线程 [GH 3800] execSupport exec from non-leader thread [GH 3800]
  • 配置更新失败视为非致命性 [GH 3785]Treat configuration update failures as non-fatal [GH 3785]
  • 更新 binfmt 能够正确处理偏移量 [GH 3768]Update binfmt to properly handle offsets [GH 3768]
  • 为计划 9 [GH 3854] 启用映射网络驱动器Enable mapping network drives for Plan 9 [GH 3854]
  • 支持 Windows-> Linux 和 Linux-> Windows 路径转换为绑定挂载Support Windows -> Linux and Linux -> Windows path translation for bind mounts
  • 在打开的文件上创建映射的只读的部分,只读的Create read-only sections for mappings on files opened read-only

生成 18334Build 18334

有关常规 Windows 上生成 18334 信息请访问Windows 博客For general Windows information on build 18334 visit the Windows blog.

WSLWSL

  • 重新设计 Windows 时区映射到 Linux 时区 [GH 3747] 的方式Redesign the way that Windows time zone is mapped to a Linux time zone [GH 3747]
  • 修复内存泄漏,并添加新的字符串转换函数 [GH 3746]Fix memory leaks and add new string translation functions [GH 3746]
  • 在无线程 threadgroup SIGCONT 是一个无操作 [GH 3741]SIGCONT on a threadgroup with no threads is a no-op [GH 3741]
  • 正确显示在 /proc/self/fd 套接字和 epoll 文件描述符Correctly display socket and epoll file descriptors in /proc/self/fd

生成 18305Build 18305

有关常规 Windows 上生成 18305 信息请访问Windows 博客For general Windows information on build 18305 visit the Windows blog.

WSLWSL

  • pthreads 失去对文件访问权限,当主线程退出 [GH 3589]pthreads lose access to files when the primary thread exits [GH 3589]
  • TIOCSCTTY 应忽略"force"参数,除非必需,否则 [GH 3652]TIOCSCTTY should ignore the “force” parameter unless it is required [GH 3652]
  • wsl.exe 命令行改进和添加导入/导出功能。wsl.exe command line improvements and addition of import / export functionality.
Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments to run Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --
        Pass the remaining command line as is.

Options:
    --distribution, -d <DistributionName>
        Run the specified distribution.

    --user, -u <UserName>
        Run as the specified user.

Arguments to manage Windows Subsystem for Linux:

    --export <DistributionName> <FileName>
        Exports the distribution to a tar file.
        The filename can be - for standard output.

    --import <DistributionName> <InstallLocation> <FileName>
        Imports the specified tar file as a new distribution.
        The filename can be - for standard input.

    --list, -l [Options]
        Lists distributions.

        Options:
            --all
                List all distributions, including distributions that are currently
                being installed or uninstalled.

            --running
                List only distributions that are currently running.

    -setdefault, -s <DistributionName>
        Sets the distribution as the default.

    --terminate, -t <DistributionName>
        Terminates the distribution.

    --unregister <DistributionName>
        Unregisters the distribution.

    --upgrade <DistributionName>
        Upgrades the distribution to the WslFs file system format.

    --help
        Display usage information.

生成 18277Build 18277

有关常规 Windows 上生成 18277 信息请访问Windows 博客For general Windows information on build 18277 visit the Windows blog.

WSLWSL

  • 修复在生成 18272 [GH 3645] 中引入的"不支持此类接口"错误Fix "no such interface supported" error introduced in build 18272 [GH 3645]
  • 忽略 umount syscall [GH 3605] MNT_FORCE 标志Ignore the MNT_FORCE flag for umount syscall [GH 3605]
  • 若要使用官方 CreatePseudoConsole API 的交换机 WSL 互操作Switch WSL interop to use the official CreatePseudoConsole API
  • FUTEX_WAIT 重新启动时维护任何超时值Maintain no timeout value when FUTEX_WAIT restarts

生成 18272Build 18272

有关常规 Windows 上生成 18272 信息请访问Windows 博客For general Windows information on build 18272 visit the Windows blog.

WSLWSL

  • 警告: 使 WSL 无法运行此生成时出现问题。WARNING: There is an issue in this build that makes WSL inoperable. 尝试启动你的分发时您将看到"不支持此类接口"错误。When trying to launch your distribution you will see a “No such interface supported” error. 此问题已修复,并且将在下一步一周的快速深入了解生成。The issue has been fixed and will be in next week's Insider Fast build. 如果已安装此您可以回滚到以前的 Windows 内部版本使用"转到返回到以前版本的 Windows 10"在设置生成-> 更新和安全-> 恢复。If you've installed this build you can roll back to the previous Windows build using “Go back to the previous version of Windows 10” in Settings->Update & Security->Recovery.

生成 18267Build 18267

有关常规 Windows 上生成 18267 信息请访问Windows 博客For general Windows information on build 18267 visit the Windows blog.

WSLWSL

  • 解决的问题,其中僵停进程可能会不 reaped 和无限期地保持。Fix issue where zombie process may not be reaped and remain indefinitely.
  • 如果错误消息超过最大长度 [GH 3592] WslRegisterDistribution 挂起WslRegisterDistribution hangs if error message exceeds max length [GH 3592]
  • 允许 fsync DrvFs [GH 3556] 上的只读文件成功Allow fsync to succeed for read-only files on DrvFs [GH 3556]
  • 确保创建符号链接 [GH 3584] 内的之前存在 /bin 和 /sbin 目录Ensure that /bin and /sbin directories exist before creating symlinks inside [GH 3584]
  • 添加 WSL 实例的实例终止超时机制。Added an instance termination timeout mechanism for WSL instances. 超时时间当前设置为 15 秒,这意味着该实例将终止 15 秒的最新的 WSL 进程退出后。The timeout is currently set to 15 seconds, meaning the instance will terminate 15 seconds after the last WSL process exits. 若要立即终止分发,请使用:To terminate a distribution immediately, use:
wslconfig.exe /terminate <DistributionName>

生成 17763 (1809)Build 17763 (1809)

有关常规 Windows 上生成 17763 信息请访问Windows 博客For general Windows information on build 17763 visit the Windows blog.

WSLWSL

  • Setpriority syscall 权限检查太严格的更改相同的线程优先级 [GH 1838]Setpriority syscall permission check too strict for changing same thread priority [GH 1838]
  • 确保公平的中断时间使用启动时若要避免返回负数值的 clock_gettime(CLOCK_BOOTTIME) [GH 3434]Ensure that unbiased interrupt time is used for boot time to avoid returning negative values for clock_gettime(CLOCK_BOOTTIME) [GH 3434]
  • 在 WSL binfmt 解释器 [GH 3424] 中的句柄符号链接Handle symlinks in the WSL binfmt interpreter [GH 3424]
  • 更好地处理 threadgroup 领导文件描述符清理。Better handling of threadgroup leader file descriptor cleanup.
  • 切换 WSL 使用而不是 KeQueryPerformanceCounter KeQueryInterruptTimePrecise 以避免溢出 [GH 3252]Switch WSL to use KeQueryInterruptTimePrecise instead of KeQueryPerformanceCounter to avoid overflow [GH 3252]
  • Ptrace 连接可能会返回的值不正确导致从系统调用 [GH 1731]Ptrace attach may cause bad return value from system calls [GH 1731]
  • 修复多个 AF_UNIX 相关问题 [GH 3371]Fix several AF_UNIX related issues [GH 3371]
  • 解决问题可能导致 WSL 互操作,如果当前工作目录为小于 5 个字符长 [GH 3379] 失败Fix issue that could cause WSL interop to fail if the current working directory is less than 5 characters long [GH 3379]
  • 避免一个失败的环回连接到不存在的端口 [GH 3286] 的第二个延迟Avoid one second delay failing loopback connections to non-existent ports [GH 3286]
  • 添加 /proc/sys/fs/file-max 存根 (stub) 文件 [GH 2893]Add /proc/sys/fs/file-max stub file [GH 2893]
  • 更准确的 IPV6 范围信息。More accurate IPV6 scope information.
  • PR_SET_PTRACER 支持 [GH 3053]PR_SET_PTRACER support [GH 3053]
  • 通过管道传递无意中清除边缘触发 epoll 事件 [GH 3276] 的文件系统Pipe filesystem inadvertently clearing edge-triggered epoll event [GH 3276]
  • Win32 可执行文件启动通过 NTFS 符号链接不遵循符号链接名称 [GH 2909]Win32 executable launched via NTFS symlink doesn't respect symlink name [GH 2909]
  • 改进了僵停的支持 [GH 1353]Improved zombie support [GH 1353]
  • 添加用于控制 Windows 互操作行为 [GH 1493] wsl.conf 条目Add wsl.conf entries for controlling Windows interop behavior [GH 1493]
      [interop]
    
      enabled=false # enable launch of Windows binaries; default is true
    
      appendWindowsPath=false # append Windows path to $PATH variable; default is true
    
  • 修复 getsockname 不总是返回 UNIX 套接字系列类型 [GH 1774]Fix for getsockname not always returning UNIX socket family type [GH 1774]
  • 添加对 TIOCSTI [GH 1863] 的支持Add support for TIOCSTI [GH 1863]
  • 非阻塞套接字连接的过程中应返回 EAGAIN 的写入尝试 [GH 2846]Non-blocking sockets in the process of connecting should return EAGAIN for write attempts [GH 2846]
  • 在已装载的 Vhd [GH 3246,3291] 上支持互操作Support interop on mounted VHDs [GH 3246, 3291]
  • 修复权限检查在根文件夹 [GH 3304] 上的问题Fix permission checking issue on root folder [GH 3304]
  • TTY 键盘 ioctl KDGKBTYPE、 KDGKBMODE 和 KDSKBMODE 的有限的支持。Limited support for TTY keyboard ioctls KDGKBTYPE, KDGKBMODE and KDSKBMODE.
  • Windows UI 应用程序应执行,即使在后台启动。Windows UI apps should execute even when launched in the background.
  • 添加 wsl-u 或--用户选项 [GH 1203]Add wsl -u or --user option [GH 1203]
  • 启用快速启动时,解决 WSL 启动问题 [GH 2576]Fix WSL launch issues when fast startup is enabled [GH 2576]
  • Unix 套接字需要保留已断开连接的对等凭据 [GH 3183]Unix sockets need to retain disconnected peer credentials [GH 3183]
  • 非阻塞 Unix 套接字失败,而无限期地 EAGAIN [GH 3191]Non-blocking Unix sockets failing indefinitely with EAGAIN [GH 3191]
  • 用例 = off 是新的默认 drvfs 装载类型 [GH 2937,3212,3328]case=off is the new default drvfs mount type [GH 2937, 3212, 3328]
    • 请参阅博客有关详细信息。See blog for more information.
  • 添加 wslconfig/终止停止正在运行的分发版。Add wslconfig /terminate to stop running distributions.
  • 修复 WSL shell 上下文菜单项未正确处理包含空格的路径的问题。Fix issue with the WSL shell context menu entries that do not correctly handle paths with spaces.
  • 公开每个目录区分大小写为扩展属性Expose per-directory case sensitivity as an extended attribute
  • ARM64:模拟缓存维护操作。ARM64: Emulate cache maintenance operations. 解决dotnet 问题Resolve dotnet issue.
  • DrvFs: 只能恢复原义私有范围相对应的字符为转义字符。DrvFs: only unescape characters in the private range that correspond to an escaped character.
  • 在 ELF 分析器解释器长度验证 [GH 3154] 修复关闭--一个错误Fix off-by-one error in ELF parser interpreter length validation [GH 3154]
  • 在过去的时间 WSL 绝对计时器不会激发 [GH 3091]WSL absolute timers with a time in the past do not fire [GH 3091]
  • 确保新的父目录中这种情况下列出创建重新分析点。Ensure newly created reparse points are listed as such in the parent directory.
  • 以原子方式在 DrvFs 创建区分大小写的目录。Atomically create case sensitive directories in DrvFs.
  • 修复了其他问题,多线程的操作可能返回 ENOENT,即使该文件存在。Fixed an additional issue where multithreaded operations could return ENOENT even though the file exists. [GH 2712][GH 2712]
  • 固定的 WSL 启用 UMCI 后启动失败。Fixed WSL launch failure when UMCI is enabled. [GH 3020][GH 3020]
  • 添加用于启动 WSL [GH 437,603、 1836年] 的资源管理器上下文菜单。Add explorer context menu to launch WSL [GH 437, 603, 1836]. 若要使用,请按住 shift 并在资源管理器窗口中右键单击。To use, hold shift and right-click when in an explorer window.
  • 修复 Unix 套接字非阻塞行为 [GH 2822,3100]Fix Unix socket non-blocking behavior [GH 2822, 3100]
  • 修复 GH 2026 中报告挂起 NETLINK 命令。Fix hanging NETLINK command as reported in GH 2026.
  • 添加对装入传播标志 [GH 2911] 的支持。Add support for mount propagation flags [GH 2911].
  • 截断不导致 inotify 事件 [GH 2978] 修复问题。Fix issue with truncate not causing inotify events [GH 2978].
  • 添加了--exec wsl.exe 调用单一的二进制文件而无需 shell 的选项。Add --exec option for wsl.exe to invoke a single binary without a shell.
  • 添加了--wsl.exe 以选择特定的发行版的分发选项。Add --distribution option for wsl.exe to select a specific distro.
  • 对 dmesg 的有限的支持。Limited support for dmesg. 现在,应用程序可以将记录到 dmesg。Applications can now log to dmesg. WSL 驱动程序记录到 dmesg 有限的信息。WSL driver logs limited information to dmesg. 在将来,这可以扩展来执行其他来自驱动程序的信息/诊断。In future, this can be extended to carry other information/diagnostics from the driver.
    • 注意: 当前支持通过 dmesg/dev/kmsg设备接口。Note: dmesg is currently supported through the /dev/kmsg device interface. syslog 尚不支持 syscall 接口。syslog syscall interface is not yet supported. 和,因此,某些dmesg命令行选项,例如-S-C不起作用。And, so, some of the dmesg command line options such as -S, -C don't work.
  • 更改默认 gid 和模式的串行设备以匹配本机 [GH 3042]Change default gid and mode of serial devices to match native [GH 3042]
  • DrvFs 现在支持扩展的属性。DrvFs now supports extended attributes.
    • 注意:DrvFs 上的扩展属性名称具有一些限制。Note: DrvFs has some limitations on the name of extended attributes. 某些字符 (如 /、: 和*) 不允许,并且扩展属性名称不区分大小写上 DrvFsSome characters (like '/', ':' and '*') are not allowed, and extended attribute names are not case sensitive on DrvFs

生成 18252 (提前跳过)Build 18252 (Skip Ahead)

有关常规 Windows 上生成 18252 信息请访问Windows 博客For general Windows information on build 18252 visit the Windows Blog.

WSLWSL

  • 移动 init 和 bsdtar 二进制文件,带 lxssmanager dll 和到单独的工具文件夹Move init and bsdtar binaries out of lxssmanager dll and into a separate tools folder
  • 修复周围使用 CLONE_FILES 时关闭文件描述符的争用Fix race around closing file descriptor when using CLONE_FILES
  • 转换 DrvFs 路径时处理 /proc/pid/mountinfo 中的可选字段Handle optional fields in /proc/pid/mountinfo when translating DrvFs paths
  • 允许 DrvFs mknod 也不会对 S_IFREG 的元数据支持Allow DrvFs mknod to succeed without metadata support for S_IFREG
  • DrvFs 上创建 Readonly 文件应具有设置 [GH 3411] 的 readonly 属性Readonly files created on DrvFs should have the readonly attribute set [GH 3411]
  • 添加 /sbin/mount.drvfs 帮助器来处理 DrvFs 装载Add /sbin/mount.drvfs helper to handle DrvFs mounting
  • 使用中 DrvFs POSIX 重命名。Use POSIX rename in DrvFs.
  • 允许对卷不包括卷 GUID 路径翻译。Allow path translation on volumes without a volume GUID.

生成 17738 (Fast)Build 17738 (Fast)

有关常规 Windows 上生成 17738 信息请访问Windows 博客For general Windows information on build 17738 visit the Windows Blog.

WSLWSL

  • Setpriority syscall 权限检查太严格的更改相同的线程优先级 [GH 1838]Setpriority syscall permission check too strict for changing same thread priority [GH 1838]
  • 确保公平的中断时间使用启动时若要避免返回负数值的 clock_gettime(CLOCK_BOOTTIME) [GH 3434]Ensure that unbiased interrupt time is used for boot time to avoid returning negative values for clock_gettime(CLOCK_BOOTTIME) [GH 3434]
  • 在 WSL binfmt 解释器 [GH 3424] 中的句柄符号链接Handle symlinks in the WSL binfmt interpreter [GH 3424]
  • 更好地处理 threadgroup 领导文件描述符清理。Better handling of threadgroup leader file descriptor cleanup.

生成 17728 (Fast)Build 17728 (Fast)

有关常规 Windows 上生成 17728 信息请访问Windows 博客For general Windows information on build 17728 visit the Windows Blog.

WSLWSL

  • 切换 WSL 使用而不是 KeQueryPerformanceCounter KeQueryInterruptTimePrecise 以避免溢出 [GH 3252]Switch WSL to use KeQueryInterruptTimePrecise instead of KeQueryPerformanceCounter to avoid overflow [GH 3252]
  • Ptrace 连接可能会返回的值不正确导致从系统调用 [GH 1731]Ptrace attach may cause bad return value from system calls [GH 1731]
  • 修复 AF_UNIX 的大量相关问题 [GH 3371]Fix a number of AF_UNIX related issues [GH 3371]
  • 解决问题可能导致 WSL 互操作,如果当前工作目录为小于 5 个字符长 [GH 3379] 失败Fix issue that could cause WSL interop to fail if the current working directory is less than 5 characters long [GH 3379]

生成 18204 (提前跳过)Build 18204 (Skip Ahead)

有关常规 Windows 上生成 18204 信息请访问Windows 博客For general Windows information on build 18204 visit the Windows Blog.

WSLWSL

  • 通过管道将文件系统 inadvertenly 清除边缘触发 epoll 事件 [GH 3276]Pipe filesystem inadvertenly clearing edge-triggered epoll event [GH 3276]
  • Win32 可执行文件启动通过 NTFS 符号链接不遵循符号链接名称 [GH 2909]Win32 executable launched via NTFS symlink doesn't respect symlink name [GH 2909]

生成 17723 (Fast)Build 17723 (Fast)

有关常规 Windows 上生成 17723 信息请访问Windows 博客For general Windows information on build 17723 visit the Windows Blog.

WSLWSL

  • 避免一个失败的环回连接到不存在的端口 [GH 3286] 的第二个延迟Avoid one second delay failing loopback connections to non-existent ports [GH 3286]
  • 添加 /proc/sys/fs/file-max 存根 (stub) 文件 [GH 2893]Add /proc/sys/fs/file-max stub file [GH 2893]
  • 更准确的 IPV6 范围信息。More accurate IPV6 scope information.
  • PR_SET_PTRACER 支持 [GH 3053]PR_SET_PTRACER support [GH 3053]
  • 通过管道将文件系统 inadvertenly 清除边缘触发 epoll 事件 [GH 3276]Pipe filesystem inadvertenly clearing edge-triggered epoll event [GH 3276]
  • Win32 可执行文件启动通过 NTFS 符号链接不遵循符号链接名称 [GH 2909]Win32 executable launched via NTFS symlink doesn't respect symlink name [GH 2909]

生成 17713Build 17713

有关常规 Windows 上生成 17713 信息请访问Windows 博客For general Windows information on build 17713 visit the Windows Blog.

WSLWSL

  • 改进了僵停的支持 [GH 1353]Improved zombie support [GH 1353]
  • 添加用于控制 Windows 互操作行为 [GH 1493] wsl.conf 条目Add wsl.conf entries for controlling Windows interop behavior [GH 1493]
      [interop]
    
      enabled=false # enable launch of Windows binaries; default is true
    
      appendWindowsPath=false # append Windows path to $PATH variable; default is true
    
  • 修复 getsockname 不总是返回 UNIX 套接字系列类型 [GH 1774]Fix for getsockname not always returning UNIX socket family type [GH 1774]
  • 添加对 TIOCSTI [GH 1863] 的支持Add support for TIOCSTI [GH 1863]
  • 非阻塞套接字连接的过程中应返回 EAGAIN 的写入尝试 [GH 2846]Non-blocking sockets in the process of connecting should return EAGAIN for write attempts [GH 2846]
  • 在已装载的 Vhd [GH 3246,3291] 上支持互操作Support interop on mounted VHDs [GH 3246, 3291]
  • 修复权限检查在根文件夹 [GH 3304] 上的问题Fix permission checking issue on root folder [GH 3304]
  • TTY 键盘 ioctl KDGKBTYPE、 KDGKBMODE 和 KDSKBMODE 的有限的支持。Limited support for TTY keyboard ioctls KDGKBTYPE, KDGKBMODE and KDSKBMODE.
  • Windows UI 应用程序应执行,即使在后台启动。Windows UI apps should execute even when launched in the background.

生成 17704Build 17704

有关常规 Windows 上生成 17704 信息请访问Windows 博客For general Windows information on build 17704 visit the Windows Blog.

WSLWSL

  • 添加 wsl-u 或--用户选项 [GH 1203]Add wsl -u or --user option [GH 1203]
  • 启用快速启动时,解决 WSL 启动问题 [GH 2576]Fix WSL launch issues when fast startup is enabled [GH 2576]
  • Unix 套接字需要保留已断开连接的对等凭据 [GH 3183]Unix sockets need to retain disconnected peer credentials [GH 3183]
  • 非阻塞 Unix 套接字失败,而无限期地 EAGAIN [GH 3191]Non-blocking Unix sockets failing indefinitely with EAGAIN [GH 3191]
  • 用例 = off 是新的默认 drvfs 装载类型 [GH 2937,3212,3328]case=off is the new default drvfs mount type [GH 2937, 3212, 3328]
    • 请参阅博客有关详细信息。See blog for more information.
  • 添加 wslconfig/终止停止正在运行的分发版。Add wslconfig /terminate to stop running distributions.

版本 17692Build 17692

有关常规 Windows 上生成 17692 信息请访问Windows 博客For general Windows information on build 17692 visit the Windows Blog.

WSLWSL

  • 修复 WSL shell 上下文菜单项未正确处理包含空格的路径的问题。Fix issue with the WSL shell context menu entries that do not correctly handle paths with spaces.
  • 公开每个目录区分大小写为扩展属性Expose per-directory case sensitivity as an extended attribute
  • ARM64:模拟缓存维护操作。ARM64: Emulate cache maintenance operations. 解决dotnet 问题Resolve dotnet issue.
  • DrvFs: 只能恢复原义私有范围相对应的字符为转义字符。DrvFs: only unescape characters in the private range that correspond to an escaped character.

版本 17686Build 17686

有关常规 Windows 上生成 17686 信息请访问Windows 博客For general Windows information on build 17686 visit the Windows Blog.

WSLWSL

  • 在 ELF 分析器解释器长度验证 [GH 3154] 修复关闭--一个错误Fix off-by-one error in ELF parser interpreter length validation [GH 3154]
  • 在过去的时间 WSL 绝对计时器不会激发 [GH 3091]WSL absolute timers with a time in the past do not fire [GH 3091]
  • 确保新的父目录中这种情况下列出创建重新分析点。Ensure newly created reparse points are listed as such in the parent directory.
  • 以原子方式在 DrvFs 创建区分大小写的目录。Atomically create case sensitive directories in DrvFs.

生成 17677Build 17677

有关常规 Windows 上生成 17677 信息请访问Windows 博客For general Windows information on build 17677 visit the Windows Blog.

WSLWSL

  • 修复了其他问题,多线程的操作可能返回 ENOENT,即使该文件存在。Fixed an additional issue where multithreaded operations could return ENOENT even though the file exists. [GH 2712][GH 2712]
  • 固定的 WSL 启用 UMCI 后启动失败。Fixed WSL launch failure when UMCI is enabled. [GH 3020][GH 3020]

生成 17666Build 17666

有关常规 Windows 上生成 17666 信息请访问Windows 博客For general Windows information on build 17666 visit the Windows Blog.

WSLWSL

警告:出现了问题导致无法 WSL 一些 AMD 芯片集 [GH 3134] 上运行。WARNING: There is an issue preventing WSL from running on some AMD chipsets [GH 3134]. 解决方法是准备就绪,并可使发送给预览体验内部版本分支。A fix is ready and making its way to the Insider Build branch.

  • 添加用于启动 WSL [GH 437,603、 1836年] 的资源管理器上下文菜单。Add explorer context menu to launch WSL [GH 437, 603, 1836]. 若要使用按住 shift 键并右键单击资源管理器窗口中。To use hold shift and right-click when in an explorer window.
  • 修复 unix 套接字非阻塞行为 [GH 2822,3100]Fix unix socket non-blocking behavior [GH 2822, 3100]
  • 修复 GH 2026 中报告挂起 NETLINK 命令。Fix hanging NETLINK command as reported in GH 2026.
  • 添加对装入传播标志 [GH 2911] 的支持。Add support for mount propagation flags [GH 2911].
  • 截断不导致 inotify 事件 [GH 2978] 修复问题。Fix issue with truncate not causing inotify events [GH 2978].
  • 添加了--exec wsl.exe 调用单一的二进制文件而无需 shell 的选项。Add --exec option for wsl.exe to invoke a single binary without a shell.
  • 添加了--wsl.exe 以选择特定的发行版的分发选项。Add --distribution option for wsl.exe to select a specific distro.

生成 17655 (提前跳过)Build 17655 (Skip Ahead)

有关常规 Windows 上生成 17655 信息请访问Windows 博客For general Windows information on build 17655 visit the Windows Blog.

WSLWSL

  • 对 dmesg 的有限的支持。Limited support for dmesg. 现在,应用程序可以将记录到 dmesg。Applications can now log to dmesg. WSL 驱动程序记录到 dmesg 有限的信息。WSL driver logs limited information to dmesg. 在将来,这可以扩展来执行其他来自驱动程序的信息/诊断。In future, this can be extended to carry other information/diagnostics from the driver.
    • 注意: 当前支持通过 dmesg/dev/kmsg设备接口。Note: dmesg is currently supported through the /dev/kmsg device interface. syslog 尚不支持 sycall 接口。syslog sycall interface is not yet supported. 和,因此,某些dmesg命令行选项,例如-S-C不起作用。And, so, some of the dmesg command line options such as -S, -C don't work.
  • 修复了问题,多线程的操作可能返回 ENOENT,即使该文件存在。Fixed an issue where multithreaded operations could return ENOENT even though the file exists. [GH 2712][GH 2712]

生成 17639 (提前跳过)Build 17639 (Skip Ahead)

有关常规 Windows 上生成 17639 信息请访问Windows 博客For general Windows information on build 17639 visit the Windows Blog.

WSLWSL

  • 更改默认 gid 和模式的串行设备以匹配本机 [GH 3042]Change default gid and mode of serial devices to match native [GH 3042]
  • DrvFs 现在支持扩展的属性。DrvFs now supports extended attributes.
    • 注意:DrvFs 上的扩展属性名称具有一些限制。Note: DrvFs has some limitations on the name of extended attributes. 具体而言,某些字符 (如 /、: 和*) 不允许,并且扩展属性名称不区分大小写上 DrvFsIn particular, some characters (like '/', ':' and '*') are not allowed, and extended attribute names are not case sensitive on DrvFs

生成 17133 (Fast)Build 17133 (Fast)

有关常规 Windows 上生成 17133 信息请访问Windows 博客For general Windows information on build 17133 visit the Windows Blog.

WSLWSL

  • 在 WSL 中挂起的修复。Fix for hang in WSL. [GH 3039,3034][GH 3039, 3034]

生成 17128 (Fast)Build 17128 (Fast)

有关常规 Windows 上生成 17128 信息请访问Windows 博客For general Windows information on build 17128 visit the Windows Blog.

WSLWSL

  • None

生成 17627 (提前跳过)Build 17627 (Skip Ahead)

有关常规 Windows 上生成 17627 信息请访问Windows 博客For general Windows information on build 17627 visit the Windows Blog.

WSLWSL

  • 添加对 futex pi 注意操作的支持。Add support for the futex pi-aware operations. [GH 1006][GH 1006]
    • 请注意,优先级目前不受支持的 WSL 功能以便存在一些限制,但应解除对标准使用情况。Note that priorities are not currently a supported WSL feature so there are limitations, but standard usage should be unblocked.
  • WSL 进程的 Windows 防火墙支持。Windows firewall support for WSL processes. [GH 1852][GH 1852]
    • 例如,若要允许 WSL python 处理任何端口上侦听,请使用提升的 Windows cmd: netsh.exe advfirewall firewall add rule name=wsl_python dir=in action=allow program="C:\users\<username>\appdata\local\packages\canonicalgrouplimited.ubuntuonwindows_79rhkp1fndgsc\localstate\rootfs\usr\bin\python2.7" enable=yesFor example, to allow the WSL python process to listen on any port, use the elevated Windows cmd: netsh.exe advfirewall firewall add rule name=wsl_python dir=in action=allow program="C:\users\<username>\appdata\local\packages\canonicalgrouplimited.ubuntuonwindows_79rhkp1fndgsc\localstate\rootfs\usr\bin\python2.7" enable=yes
    • 有关如何添加防火墙规则的其他详细信息,请参阅链接For additional details on how to add firewall rules, see link
  • 使用 wsl.exe 时遵从用户的默认外壳。Respect user's default shell when using wsl.exe. [GH 2372][GH 2372]
  • 报告为以太网的所有网络接口。Report all network interfaces as ethernet. [GH 2996][GH 2996]
  • 更好地处理已损坏的 /etc/passwd 文件。Better handling of corrupt /etc/passwd file. [GH 3001][GH 3001]

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17618 (提前跳过)Build 17618 (Skip Ahead)

有关常规 Windows 上生成 17618 信息请访问Windows 博客For general Windows information on build 17618 visit the Windows Blog.

WSLWSL

  • 引入 pseudoconsole NT 互操作的功能 [GH 988,1366,1433年、 1542年、 2370年、 2406年]。Introduce pseudoconsole functionality for NT interop [GH 988, 1366, 1433, 1542, 2370, 2406].
  • 已弃用旧安装机制 (lxrun.exe)。The legacy install mechanism (lxrun.exe) has been deprecated. 安装发行版的受支持的机制是通过 Microsoft Store。The supported mechanism for installing distributions is through the Microsoft Store.

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

版本 17110Build 17110

有关常规 Windows 上生成 17110 信息请访问Windows 博客For general Windows information on build 17110 visit the Windows Blog.

WSLWSL

  • 允许 /init 从 Windows [GH 2928] 终止。Allow /init to be terminated from Windows [GH 2928].
  • DrvFs 现在默认情况下使用每个目录的区分大小写 (等效于"用例为 dir"装载选项)。DrvFs now uses per-directory case sensitivity by default (equivalent to the “case=dir” mount option).
    • 使用"用例 = 强制"(旧行为) 需要设置注册表项。Using “case=force” (the old behavior) requires setting a registry key. 运行以下命令以启用"用例 = 强制"如果需要使用它: reg 添加 HKLM\SYSTEM\CurrentControlSet\Services\lxss /v DrvFsAllowForceCaseSensitivity /t REG_DWORD /d 1Run the following command to enable “case=force” if you need to use it: reg add HKLM\SYSTEM\CurrentControlSet\Services\lxss /v DrvFsAllowForceCaseSensitivity /t REG_DWORD /d 1
    • 如果必须使用 WSL 较旧版本的 Windows 需要区分大小写的中创建的现有目录,请使用 fsutil.exe 以便将它们标记为区分大小写: fsutil.exe 文件 setcasesensitiveinfo启用If you have existing directories created with WSL in older version of Windows which need to be case sensitive, use fsutil.exe to mark them as case sensitive: fsutil.exe file setcasesensitiveinfo enable
  • Uname syscall 从返回的字符串以 NULL 结尾。NULL terminate strings returned from the uname syscall.

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17107Build 17107

有关常规 Windows 上生成 17107 信息请访问Windows 博客For general Windows information on build 17107 visit the Windows Blog.

WSLWSL

  • 主 pty 终结点 [GH 2552] 上支持 TCSETSF 和 TCSETSW。Support TCSETSF and TCSETSW on master pty endpoints [GH 2552].
  • 启动同时进行互操作的进程可能会导致 EINVAL [GH 2813]。Starting simultaneous interop processes can result in EINVAL [GH 2813].
  • 修复 PTRACE_ATTACH /proc/pid/status 中显示正确的跟踪状态。Fix PTRACE_ATTACH to show proper tracing status in /proc/pid/status.
  • 修复争用生存期较短的进程,克隆 CLEARTID 和 SETTID 标志无法退出而不清除 TID 地址。Fix race where short-lived processes cloned with both the CLEARTID and SETTID flags could exit without clearing the TID address.
  • 从预 17093 生成移动时升级 Linux 文件系统目录时,将显示一条消息。Display a message when upgrading the Linux file system directories when moving from a pre-17093 build. 17093 文件系统更改的更多详细信息,请参阅发行说明17093For more details on the 17093 file system changes, see the release notes for 17093.

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17101Build 17101

有关常规 Windows 上生成 17101 信息请访问Windows 博客For general Windows information on build 17101 visit the Windows Blog.

WSLWSL

  • 对 signalfd 的支持。Support for signalfd. [GH 129][GH 129]
  • 支持文件名称包含非法 NTFS 字符编码为专用的 Unicode 字符。Support file-names containing illegal NTFS characters by encoding them as private Unicode characters. [GH 1514][GH 1514]
  • 不支持写时,自动装入将回退到只读的。Auto mount will fallback to read-only when write is not supported. [GH 2603][GH 2603]
  • 允许粘贴 Unicode 代理项对 (如表情符号字符为单位)。Allow pasting of Unicode surrogate pairs (like emoji characters). [GH 2765][GH 2765]
  • /Proc 和 /sys 中的伪文件应返回读取和写入就绪 select、 轮询、 epoll,et 都 [GH 2838]Pseudo-files in /proc and /sys should return read and write ready from select, poll, epoll, et al. [GH 2838]
  • 修复可能导致服务注册表被篡改或损坏时进入无限循环的问题。Fix issue that could cause service to go into infinite loop when the registry has been tampered with or is corrupt.
  • 修复 netlink 消息要替换的 iproute2 更新 (上游 4.14) 版本。Fix netlink messages to work with newer (upstream 4.14) version of iproute2.

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17093Build 17093

有关常规 Windows 上生成 17093 信息请访问Windows 博客For general Windows information on build 17093 visit the Windows Blog.

重要提示:Important:

时从 WSL 开始第一次后升级到此版本,它需要执行一些升级 Linux 文件系统目录的工作。When starting WSL for the first time after upgrading to this build, it needs to perform some work upgrading the Linux file system directories. 这可能需要几分钟时间,因此 WSL 可能看起来启动慢。This may take up to several minutes, so WSL may appear to start slowly. 安装从应用商店的每个分布区后,仅应发生这种情况。This should only happen once for each distribution you have installed from the store.

  • 改进了在 DrvFs 区分大小写支持。Improved case sensitivity support in DrvFs.
    • DrvFs 现在支持每个目录的区分大小写。DrvFs now supports per-directory case sensitivity. 这是新标志可设置目录以指示在这些目录中的所有操作应被都视为区分大小写,这样即使 Windows 应用程序就可正确打开仅大小写不同的文件。This is a new flag that can be set on directories to indicate all operations in those directories should be treated as case sensitive, which allows even Windows applications to correctly open files that differ only by case.
    • DrvFs 具有新的装入选项控制在每个目录的基础上区分大小写DrvFs has new mount options controlling case sensitivity on a per-directory basis
      • 用例 = 强制: 所有目录将被都视为区分大小写 (除外驱动器根目录中)。case=force: all directories are treated as case sensitive (except for the drive root). 使用 WSL 创建的新目录将标记为区分大小写。New directories created with WSL are marked as case sensitive. 这是除标记区分大小写的新目录的旧行为。This is the legacy behavior except for marking new directories case sensitive.
      • 用例为 dir: 仅使用每个目录的区分大小写标志的目录将被视为区分大小写;其他目录是不区分大小写。case=dir: only directories with the per-directory case sensitivity flag are treated as case sensitive; other directories are case insensitive. 使用 WSL 创建的新目录将标记为区分大小写。New directories created with WSL are marked as case sensitive.
      • 用例 = 关闭: 仅使用每个目录的区分大小写标志的目录将被视为区分大小写;其他目录是不区分大小写。case=off: only directories with the per-directory case sensitivity flag are treated as case sensitive; other directories are case insensitive. 使用 WSL 创建的新目录将标记为不区分大小写。New directories created with WSL are marked as case insensitive.
    • 注意: 在以前版本中创建 WSL 目录没有此标志设置,因此将不被视为区分大小写如果使用"用例为 dir"选项。Note: directories created by WSL in previous releases do not have this flag set, so will not be treated as case sensitive if you use the “case=dir” option. 在现有目录上设置此标志的方法即将推出。A way to set this flag on existing directories is coming soon.
    • 装载与这些选项的示例 (对于现有的驱动器,您必须首先卸载之前可以使用不同选项装载): sudo mount-t drvfs c: mnt/c o 用例为 dirExample of mounting with these options (for existing drives, you must first unmount before you can mount with different options): sudo mount -t drvfs C: /mnt/c -o case=dir
    • 现在,本例 = 强制仍是默认选项。For now, case=force is still the default option. 这将更改为用例在将来为 dir。This will be changed to case=dir in the future.
  • 你现在可以使用正斜杠 Windows 路径中时装载 DrvFs,例如: sudo 装载-t drvfs //server/share /mnt/shareYou can now use forward slashes in Windows paths when mounting DrvFs, e.g.: sudo mount -t drvfs //server/share /mnt/share
  • WSL 现将在实例启动 [GH 2636] 处理 /etc/fstab 文件。WSL now processes the /etc/fstab file during instance start [GH 2636].
    • 这是在自动装载 DrvFs 驱动器; 之前任何已由 fstab 已装载的驱动器,将不重新装入自动,从而允许您更改特定驱动器的装入点。This is done prior to automatically mounting DrvFs drives; any drives that were already mounted by fstab will not be remounted automatically, allowing you to change the mount point for specific drives.
    • 此行为可以关闭使用 wsl.conf。This behavior can be turned off using wsl.conf.
  • /Proc 中的装入、 mountinfo 和 mountstats 文件会正确地转义特殊字符,如反斜杠和空格 [GH 2799]The mount, mountinfo and mountstats files in /proc properly escape special characters like backslashes and spaces [GH 2799]
  • 特殊文件使用创建 DrvFs 如 WSL 符号链接,或 fifos 和套接字启用元数据后,现在可以复制和从 Windows 移动。Special files created with DrvFs such as WSL symbolic links, or fifos and sockets when metadata is enabled, can now be copied and moved from Windows.

WSL 是更多可配置为 wsl.confWSL is more configurable with wsl.conf

我们添加了一个方法,以便自动在每次启动子系统将应用的 WSL 中配置的特定功能。We added a method for you to automatically configure certain functionality in WSL that will be applied every time you launch the subsystem. 这包括自动装载选项和网络配置。This includes automount options and network configuration. 在我们的博客文章中了解其详细信息: https://aka.ms/wslconfLearn more about it in our blog post at: https://aka.ms/wslconf

AF_UNIX 允许 Linux 进程在 WSL 和 Windows 本机进程之间的套接字连接AF_UNIX allows socket connections between Linux processes on WSL and Windows native processes

通过 Unix 套接字,现在相互 WSL 和 Windows 应用程序可以通信。WSL and Windows applications can now communicate with each other over Unix sockets. 想象你想要在 Windows 中运行服务并使其可供 Windows 和 WSL 应用。Imagine you want to run a service in Windows and make it available to both Windows and WSL apps. 现在,这是可能使用 Unix 套接字。Now, that’s possible with Unix sockets. 读取在我们的博客文章 https://aka.ms/afunixinteropRead more in our blog post at https://aka.ms/afunixinterop

WSLWSL

  • 支持使用 MAP_NORESERVE [GH 121,2784年] mmap()Support mmap() with MAP_NORESERVE [GH 121, 2784]
  • 支持 CLONE_PTRACE 和 CLONE_UNTRACED [GH 121,2781年]Support CLONE_PTRACE and CLONE_UNTRACED [GH 121, 2781]
  • 在克隆 [GH 121,2781年] 中的句柄非 SIGCHLD 终止信号Handle non-SIGCHLD termination signal in clone [GH 121, 2781]
  • 存根 (stub) /proc/sys/fs/inotify/max_user_instances 和 /proc/sys/fs/inotify/max_user_watches [GH 1705]Stub /proc/sys/fs/inotify/max_user_instances and /proc/sys/fs/inotify/max_user_watches [GH 1705]
  • 加载包含非零值的偏移量 [GH 1884] 的负载标头的 ELF 二进制文件时出错Error loading ELF binaries that contain load headers with non-zero offsets [GH 1884]
  • 加载图像时尾随页字节清零。Zero out trailing page bytes when loading images.
  • 减少 execve 以无提示方式终止进程的情况下Reduce cases where execve silently terminates process

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

版本 17083Build 17083

有关常规 Windows 上生成 17083 信息请访问Windows 博客For general Windows information on build 17083 visit the Windows Blog.

WSLWSL

  • 固定的 epoll [GH 2798,2801,2857年] 与相关的错误检查Fixed bugcheck related to epoll [GH 2798, 2801, 2857]
  • 固定的挂起时关闭 ASLR [GH 1185,2870年]Fixed hangs when turning off ASLR [GH 1185, 2870]
  • 确保 mmap 操作出现原子 [GH 2732]Ensure mmap operations appear atomic [GH 2732]

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17074Build 17074

有关常规 Windows 上生成 17074 信息请访问Windows 博客For general Windows information on build 17074 visit the Windows Blog.

WSLWSL

  • 固定的存储格式的 DrvFs 元数据 [GH 2777]Fixed storage format of DrvFs metadata [GH 2777]
    重要说明: 此生成不正确或根本不会显示之前创建的 DrvFs 元数据。Important: DrvFs metadata created before this build will show up incorrectly or not at all. 若要修复受影响的文件,请使用 chmod 和 chown 重新应用元数据。To fix affected files, use chmod and chown to re-apply the metadata.
  • 多个信号和可重新启动 syscall 已修复的问题。Fixed issue with multiple signals and restartable syscalls.

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17063Build 17063

有关常规 Windows 上生成 17063 信息请访问Windows 博客For general Windows information on build 17063 visit the Windows Blog.

WSLWSL

  • DrvFs 支持 Linux 的其他元数据。DrvFs supports additional Linux metadata. 这允许设置所有者和使用 chmod/chown 和特殊文件,如 fifos、 unix 套接字和设备文件创建的文件模式。This allows setting the owner and mode of files using chmod/chown, and also the creation of special files such as fifos, unix sockets and device files. 这是默认情况下禁用现在由于它是仍处于实验阶段。This is disabled by default for now since it's still experimental. 注意: 我们修复了 bug 中使用 DrvFs 的元数据格式。Note: We fixed a bug in the metadata format used by DrvFs. 而元数据适用于此生成的试验,将来的内部版本将不正确地读取元数据创建此生成的。While metadata works on this build for experimentation, future builds will not correctly read metadata created by this build. 可能需要手动更新已修改的文件的所有者和使用自定义设备 ID 的设备将需要重新创建。You might need to manually update owner for modified files and devices with a custom device ID will have to be recreated.

    若要启用,装入 DrvFs 使用元数据选项 (若要在现有安装上启用它,您必须首先卸载该映像):To enable, mount DrvFs with the metadata option (to enable it on an existing mount, you must first unmount it):

    mount -t drvfs C: /mnt/c -o metadata
    

    Linux 权限为附加元数据添加到该文件;它们不会影响 Windows 权限。Linux permissions are added as additional metadata to the file; they do not affect the Windows permissions. 请记住,编辑文件使用 Windows 编辑器可能删除的元数据。Remember, editing a file using a Windows editor may remove the metadata. 在这种情况下,该文件将恢复为其默认权限。In this case, the file will revert to its default permissions.

  • 添加的装载到不包含元数据的控制文件 DrvFs 的选项。Added mount options to DrvFs to control files without metadata.

    • uid: 用于所有文件的所有者的用户 ID。uid: the user ID used for the owner of all files.
    • gid: 用于所有文件的所有者的组 ID。gid: the group ID used for the owner of all files.
    • umask: 若要排除的所有文件和目录的权限的八进制掩码。umask: an octal mask of permissions to exclude for all files and directories.
    • fmask: 权限以排除所有常规的文件的八进制掩码。fmask: an octal mask of permissions to exclude for all regular files.
    • dmask: 权限以排除所有目录的八进制掩码。dmask: an octal mask of permissions to exclude for all directories.

    例如:For example:

    mount -t drvfs C: /mnt/c -o uid=1000,gid=1000,umask=22,fmask=111
    

    将与指定的文件不包含元数据的默认权限的元数据选项。Combine with the metadata option to specify default permissions for files without metadata.

  • 引入了一个新的环境变量, WSLENV,可以配置环境变量如何在 WSL 和 Win32 之间流动。Introduced a new environment variable, WSLENV, to configure how environment variables flow between WSL and Win32.

    例如:For example:

    WSLENV=GOPATH/l:USERPROFILE/pu:DISPLAY
    

    WSLENV 是可以包含来自 Win32 的 WSL 进程或从 WSL 的 Win32 进程启动时的环境变量的分号分隔列表。WSLENV is a colon-delimited list of environment variables that can be included when launching WSL processes from Win32 or Win32 processes from WSL. 标志以指定如何对其进行转换后跟反斜杠结尾,每个变量可以作为后缀。Each variable can be suffixed with a slash followed by flags to specify how it is translated.

    • p:值是应翻译 WSL 路径和 Win32 路径之间的路径。p: The value is a path that should be translated between WSL paths and Win32 paths.
    • L:值为一系列路径。l: The value is a list of paths. 在 WSL,它是一个冒号分隔的列表。In WSL, it is a colon-delimited list. 在 Win32 中,它是以分号分隔列表。In Win32, it is a semicolon-delimited list.
    • U:更改在调用来自 Win32 的 WSL 时只应包含值u: The value should only be included when invoking WSL from Win32
    • w:更改在调用 Win32 从 WSL 时只应包含值w: The value should only be included when invoking Win32 from WSL

    可以设置WSLENV.bashrc 或你的用户自定义 Windows 环境中。You can set WSLENV in .bashrc or in the custom Windows environment for your user.

  • drvfs 装载正确保留 tar 文件,从时间戳 cp-p (GH 1939)drvfs mounts correctly preserves timestamps from tar, cp -p (GH 1939)

  • drvfs 符号链接报告正确的大小 (GH 2641)drvfs symlinks report the correct size (GH 2641)

  • 读/写适用于非常大的 IO 大小 (GH 2653)read/write works for very large IO sizes (GH 2653)

  • waitpid 适用于进程组 Id (GH 2534)waitpid works with process group IDs (GH 2534)

  • 显著的性能改进的 mmap 大型保留区域;改进了 ghc 性能 (GH 1671)significantly improved mmap performance for large reserve regions; improves ghc performance (GH 1671)

  • READ_IMPLIES_EXEC; 的个性支持修复了最大值和 clisp (GH 1185)personality supports for READ_IMPLIES_EXEC; fixes maxima and clisp (GH 1185)

  • mprotect 支持 PROT_GROWSDOWN;修复了 clisp (GH 1128)mprotect supports PROT_GROWSDOWN; fixes clisp (GH 1128)

  • 中的页错误修复过载模式;修复了 sbcl (GH 1128)page fault fixes in overcommit mode; fixes sbcl (GH 1128)

  • 克隆支持更多的标志组合clone supports more flags combinations

  • 支持 epoll 文件 (之前执行任何操作) 的选择/epoll。Support select/epoll of epoll files (previously a no-op).

  • 通知未实现 syscall ptrace。Notify ptrace of unimplemented syscalls.

  • 忽略接口时,将不会生成 resolv.conf 名称服务器 [GH 2694]Ignore interfaces that are not up when generating resolv.conf nameservers [GH 2694]

  • 枚举与没有物理地址的网络接口。Enumerate network interfaces with no physical address. [GH 2685][GH 2685]

  • 其他 bug 修复和改进。Additional bug fixes and improvements.

供开发人员在 Windows 上的 Linux 工具Linux tools available to developers on Windows

  • Windows 命令行工具链包含 bsdtar (tar) 和 curl 配合使用。Windows Command line Toolchain includes bsdtar (tar) and curl. 读取此博客若要了解有关新增的两个新工具的详细信息并查看它们如何调整 Windows 上的开发人员体验。Read this blog to learn more about the addition of these two new tools and see how they’re shaping the developer experience on Windows.

  • AF_UNIX 现已推出 Windows Insider SDK (17061 +)。AF_UNIX is available in the Windows Insider SDK (17061+). 读取此博客若要详细了解AF_UNIX和 Windows 上的开发人员可以使用它。Read this blog to learn more about AF_UNIX and how developers on Windows can use it.

控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17046Build 17046

有关常规 Windows 上生成 17046 信息请访问Windows 博客For general Windows information on build 17046 visit the Windows Blog.

固定Fixed

WSLWSL

  • 允许进程运行时没有活动的终端。Allow processes to run without an active terminal. [GH 709,1007,1511年、 2252年、 2391,et al。][GH 709, 1007, 1511, 2252, 2391, et al.]
  • CLONE_VFORK 和 CLONE_VM 的更好的支持。Better support of CLONE_VFORK and CLONE_VM. [GH 1878,2615年][GH 1878, 2615]
  • 跳过网络操作的 WSL TDI 筛选器驱动程序。Skip TDI filter drivers for WSL networking operations. [GH 1554][GH 1554]
  • 当满足某些条件时,DrvFs 创建 NT 符号链接。DrvFs creates NT symlinks when certain conditions are met. [GH 353,1475,2602年][GH 353, 1475, 2602]
    • 链接目标必须是相对路径,不能跨越任何装入点或符号链接,并且必须存在。The link target must be relative, must not cross any mount points or symlinks, and must exist.
    • 用户必须具有 SE_CREATE_SYMBOLIC_LINK_PRIVILEGE (这通常要求您启动 wsl.exe 提升),除非打开开发人员模式。The user must have SE_CREATE_SYMBOLIC_LINK_PRIVILEGE (this normally requires you to launch wsl.exe elevated), unless Developer Mode is turned on.
    • 在所有其他情况下,DrvFs 仍会 WSL 符号链接。In all other situations, DrvFs still creates WSL symlinks.
  • 允许同时运行提升和非提升 WSL 实例。Allow running elevated and non-elevated WSL instances simultaneously.
  • Support /proc/sys/kernel/yama/ptrace_scopeSupport /proc/sys/kernel/yama/ptrace_scope
  • 添加 wslpath 为 WSL <>-Windows 路径转换。Add wslpath to do WSL<->Windows path conversions. [GH 522,1243,1834年、 2327,et al。][GH 522, 1243, 1834, 2327, et al.]
      wslpath usage:
        -a    force result to absolute path format
        -u    translate from a Windows path to a WSL path (default)
        -w    translate from a WSL path to a Windows path
        -m    translate from a WSL path to a Windows path, with ‘/’ instead of ‘\\’
    
        EX: wslpath ‘c:\users’
    

    控制台Console

  • 任何修补程序。No fixes.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17040Build 17040

有关常规 Windows 上生成 17040 信息请访问Windows 博客For general Windows information on build 17040 visit the Windows Blog.

固定Fixed

WSLWSL

  • 无 17035 以来的修补程序。No fixes since 17035.

控制台Console

  • 无 17035 以来的修补程序。No fixes since 17035.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17035Build 17035

有关常规 Windows 上生成 17035 信息请访问Windows 博客For general Windows information on build 17035 visit the Windows Blog.

固定Fixed

WSLWSL

  • 访问 DrvFs 上的文件无法与 EINVAL 偶尔也会失败。Accessing files on DrvFs could occasionally fail with EINVAL. [GH 2448][GH 2448]

控制台Console

  • 插入/删除 VT 模式中的行时,某些颜色丢失。Some color loss when inserting/deleting lines in VT mode.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

内部版本 17025Build 17025

有关常规 Windows 内部版本 17025 信息请访问Windows 博客For general Windows information on build 17025 visit the Windows Blog.

固定Fixed

WSLWSL

  • 启动新的前台进程组 [GH 1653,2510年] 中的初始进程。Start initial processes in a new foreground process group [GH 1653, 2510].
  • SIGHUP 交付修补程序 [GH 2496]。SIGHUP delivery fixes [GH 2496].
  • 如果未提供 [GH 2497],生成默认虚拟桥的名称。Generate default virtual bridge name if none provided [GH 2497].
  • 实现 /proc/sys/kernel/random/boot_id [GH 2518]。Implement /proc/sys/kernel/random/boot_id [GH 2518].
  • 修复了多互操作的 stdout/stderr 管道。More interop stdout/stderr pipe fixes.
  • 存根 syncfs 系统调用。Stub syncfs system call.

控制台Console

  • 修复输入的 VT 转换为第三方控制台 [GH 111]Fix input VT translation for third party consoles [GH 111]

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

生成 17017Build 17017

有关常规 Windows 上生成 17017 信息请访问Windows 博客For general Windows information on build 17017 visit the Windows Blog.

固定Fixed

WSLWSL

  • 忽略空 ELF 程序标头 [GH 330]。Ignore empty ELF program headers [GH 330].
  • 允许 LxssManager 创建非交互式用户的 WSL 实例 (ssh 和计划任务支持) [GH 777,1602年]。Allow LxssManager to create WSL instances for non-interactive users (ssh and scheduled task support) [GH 777, 1602].
  • 支持 WSL-> Win32-> WSL ("开始") 方案 [GH 1228]。Support WSL->Win32->WSL ("inception") scenarios [GH 1228].
  • 终止通过互操作 [GH 1614] 调用的控制台应用程序的有限的支持。Limited support for termination of console apps invoked via interop [GH 1614].
  • Devpts [GH 1948] 的支持装载选项。Support mount options for devpts [GH 1948].
  • 阻止子启动 [GH 2333] 的 Ptrace。Ptrace blocking child startup [GH 2333].
  • EPOLLET 缺少某些事件 [GH 2462]。EPOLLET missing some events [GH 2462].
  • 为 PTRACE_GETSIGINFO 返回更多的数据。Return more data for PTRACE_GETSIGINFO.
  • 使用 lseek Getdents 提供不正确的结果。Getdents with lseek gives incorrect results.
  • 修复在已没有更多数据的管道上等待输入一些 Win32 互操作应用挂起。Fix some Win32 interop app hangs, waiting for input on a pipe that has no more data.
  • O_ASYNC 支持 tty/pty 文件。O_ASYNC support for tty/pty files.
  • 其他改进和 bug 修复Additional improvements and bug fixes

控制台Console

  • 没有控制台相关的此版本中的更改。No Console related changes in this release.

LTP 结果:LTP Results:

测试正在进行中。Testing in progress.

秋季创意者更新Fall Creators Update

生成 16288Build 16288

有关常规 Windows 上生成 16288 信息请访问Windows 博客For general Windows information on build 16288 visit the Windows Blog.

固定Fixed

WSLWSL

  • 正确初始化并报告 uid 和 gid,模式套接字文件描述符 [GH 2490]Correctly initialize and report uid, gid, and mode for socket file descriptors [GH 2490]
  • 其他改进和 bug 修复Additional improvements and bug fixes

控制台Console

  • 没有控制台相关的此版本中的更改。No Console related changes in this release.

LTP 结果:LTP Results:

16273 以来未更改No change since 16273

生成 16278Build 16278

有关常规 Windows 上生成 162738 信息请访问Windows 博客For general Windows information on build 162738 visit the Windows Blog.

固定Fixed

WSLWSL

  • 显式取消的备份文件的部分映射的视图映射时关闭 LX MM 状态 [GH 2415]Explicitly unmap mapped views of file backed sections when tearing down LX MM state [GH 2415]
  • 其他改进和 bug 修复Additional improvements and bug fixes

控制台Console

  • 没有控制台相关的此版本中的更改。No Console related changes in this release.

LTP 结果:LTP Results:

16273 以来未更改No change since 16273

生成 16275Build 16275

有关常规 Windows 上生成 162735 信息请访问Windows 博客For general Windows information on build 162735 visit the Windows Blog.

固定Fixed

WSLWSL

  • 没有 WSL 相关的此版本中的更改。No WSL related changes in this release.

控制台Console

  • 没有控制台相关的此版本中的更改。No Console related changes in this release.

LTP 结果:LTP Results:

16273 以来未更改No change since 16273

生成 16273Build 16273

有关常规 Windows 上生成 16273 信息请访问Windows 博客For general Windows information on build 16273 visit the Windows Blog.

固定Fixed

WSLWSL

  • 修复了 DrvFs 有时报告目录 [GH 2392] 的错误的文件类型Fixed an issue where DrvFs sometimes reported the wrong file type for directories [GH 2392]
  • 允许的 NETLINK_KOBJECT_UEVENT 套接字,若要取消阻止程序创建该使用 uevent [GH 1121,2293,2242年、 2295年、 2235,648、 637]Allow creation of NETLINK_KOBJECT_UEVENT sockets to unblock programs that use uevent [GH 1121, 2293, 2242, 2295, 2235, 648, 637]
  • 添加对非阻止连接的支持 [GH 903,1391,1584年、 1585年、 1829年、 2290年、 2314年]Add support for non-blocking connect [GH 903, 1391, 1584, 1585, 1829, 2290, 2314]
  • 实现 CLONE_FS 克隆系统调用标志 [GH 2242]Implement CLONE_FS clone system call flag [GH 2242]
  • 修复不处理选项卡或 NT 互操作 [GH 1625,2164年] 中正确的引号等事宜Fix issues around not handling tabs or quotes correctly in NT interop [GH 1625, 2164]
  • 解决拒绝访问错误时尝试重新启动 WSL 实例 [GH 651,2095年]Resolve access denied error when trying to re-launch WSL instances [GH 651, 2095]
  • 实现 futex FUTEX_REQUEUE 和 FUTEX_CMP_REQUEUE 操作 [GH 2242]Implement futex FUTEX_REQUEUE and FUTEX_CMP_REQUEUE operations [GH 2242]
  • 修复各种 SysFs 文件 [GH 2214] 的权限Fix permissions for various SysFs files [GH 2214]
  • 在安装程序 [GH 2290] 期间修复 Haskell 堆栈挂起Fix Haskell stack hang during setup [GH 2290]
  • 实现 binfmt_misc 'C' O 和 P 标志 [GH 2103]Implement binfmt_misc 'C' 'O' and 'P' flags [GH 2103]
  • 添加 /proc/sys/kernel /shmmax /shmmni & /threads-max [GH 1753]Add /proc/sys/kernel /shmmax /shmmni & /threads-max [GH 1753]
  • 添加对 ioprio_set 系统调用 [GH 498] 的部分支持Add partial support for ioprio_set system call [GH 498]
  • 存根 SO_REUSEPORT 和添加支持 SO_PASSCRED netlink 套接字 [GH 69]Stub SO_REUSEPORT & adding support for SO_PASSCRED for netlink sockets [GH 69]
  • 从 RegisterDistribuiton 返回不同的错误代码,如果当前正在分发安装或卸载。Return different error codes from RegisterDistribuiton if a distribution is currently being installed or uninstalled.
  • 允许通过 wslconfig.exe 部分安装 WSL 分发的注销Allow unregistration of partially installed WSL distributions via wslconfig.exe
  • 修复从 udp::msg_peek python 套接字测试挂起Fix python socket test hang from udp::msg_peek
  • 其他改进和 bug 修复Additional improvements and bug fixes

控制台Console

  • 没有控制台相关的此版本中的更改。No Console related changes in this release.

LTP 结果:LTP Results:

测试总数:1904Total Tests: 1904
总跳过测试:209Total Skipped Tests: 209
故障总数:229Total Failures: 229
LTP 测试运行日志LTP Test Run Logs

版本 16257Build 16257

有关常规 Windows 上生成 16257 信息请访问Windows 博客For general Windows information on build 16257 visit the Windows Blog.

固定Fixed

WSLWSL

  • 实现 prlimit64 系统调用Implement prlimit64 system call
  • 添加对 ulimit-n (setrlimit RLIMIT_NOFILE) 的支持 [GH 1688]Add support for ulimit -n (setrlimit RLIMIT_NOFILE) [GH 1688]
  • 存根 MSG_MORE 针对 TCP 套接字 [GH 2351]Stub MSG_MORE for TCP sockets [GH 2351]
  • 修复无效 AT_EXECFN 辅助向量行为 [GH 2133]Fix invalid AT_EXECFN auxiliary vector behavior [GH 2133]
  • 修复控制台/tty 的复制/粘贴行为并添加更好地处理 [GH 2204,2131年] 已满缓冲区Fix copy/paste behavior for console/tty, and add better full buffer handling [GH 2204, 2131]
  • 有关设置用户 ID 和组-组 ID 程序 [GH 2031] 的辅助向量中设置 AT_SECURESet AT_SECURE in auxiliary vector for set-user-ID and set-group-ID programs [GH 2031]
  • 仿真终端主终结点不处理 TIOCPGRP [GH 1063]Psuedo-terminal master endpoint not handling TIOCPGRP [GH 1063]
  • 修复 lseek 执行的操作以 rewind LxFs [GH 2310] 中的目录Fix lseek does to rewind directories in LxFs [GH 2310]
  • /dev/ptmx 锁定的时间之后的高使用率 [GH 1882]/dev/ptmx locks up after heavy usage [GH 1882]
  • 其他改进和 bug 修复Additional improvements and bug fixes

控制台Console

LTP 结果:LTP Results:

16251 以来未更改No change since 16251

支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

prlimit64

已知问题Known Issues

GitHub 问题 2392年:Windows 无法识别的 WSL 文件夹...GitHub Issue 2392: Windows Folders not recognized by WSL ...

在生成 16257,WSL 有问题,枚举通过 Windows 文件/文件夹时/mnt/c/...In build 16257, WSL has issues when enumerating Windows files/folders via /mnt/c/.... 此问题已修复,并且应在释放预览体验成员版本官员在 2017 年 8 月 14 日开始的一周内。This issue has been fixed and should be released in Insiders build during week commencing 8/14/2017.


生成 16251Build 16251

有关常规 Windows 上生成 16251 信息请访问Windows 博客For general Windows information on build 16251 visit the Windows Blog.

固定Fixed

WSLWSL

  • 删除 beta 标记从 WSL 可选组件,请参阅博客文章有关详细信息。Remove beta tag from WSL optional component, see blog post for details.
  • 保存设置 uid 和 gid exec [GH 962,1415、 2072年] 上的设置用户 ID 和组-组 ID 的二进制文件的正确初始化Correctly initialize saved-set uid and gid for set-user-ID and set-group-ID binaries on exec [GH 962, 1415, 2072]
  • 添加了的对 ptrace PTRACE_O_TRACEEXIT [GH 555]Added support for ptrace PTRACE_O_TRACEEXIT [GH 555]
  • 添加了对 ptrace PTRACE_GETFPREGS 和 PTRACE_GETREGSET 与 NT_FPREGSET [GH 555]Added support for ptrace PTRACE_GETFPREGS and PTRACE_GETREGSET with NT_FPREGSET [GH 555]
  • 已修复的 ptrace 上停止忽略信号Fixed ptrace to stop on ignored signals
  • 其他改进和 bug 修复Additional improvements and bug fixes

控制台Console

  • 没有控制台相关的此版本中的更改。No Console related changes in this release.

LTP 结果:LTP Results:

通过的测试数:768Number of Passing Tests: 768
未通过的测试数:244Number of Failing Tests: 244
已跳过的测试数:96Number of Skipped Tests: 96
LTP 测试运行日志LTP Test Run Logs


生成 16241Build 16241

有关常规 Windows 上生成 16241 信息请访问Windows 博客For general Windows information on build 16241 visit the Windows Blog.

固定Fixed

WSLWSL

  • 没有 WSL 相关的此版本中的更改。No WSL related changes in this release.

控制台Console

  • 修复错误的字符输出跨越行 dec,最初报告此处Fix for outputting the wrong character for the crossing-lines DEC, originally reported here
  • 修复了显示在代码页 65001 (utf8) 没有输出文本Fix for no output text being displayed in codepage 65001 (utf8)
  • 不会传输到所选内容更改调色板的其他部分的一种颜色的 RGB 值所做的更改。Do not transfer changes made to one color's RGB values to other parts of the palette on selection change. 这将使控制台属性表更易于使用。This will make the console properties sheet a lot easier to use.
  • Ctrl + S 似乎不正常工作Ctrl+S doesn't appear to work correctly
  • 未加粗 /-维度完全不存在从 ANSI 转义码 [GH 2174]Un-Bold/-Dim completely absent from ANSI escape codes [GH 2174]
  • 控制台不会正确地支持 Vim 颜色主题 [GH 1706]Console doesn't correctly support Vim color themes [GH 1706]
  • 不能粘贴特定字符 [GH 2149]Cannot paste particular characters [GH 2149]
  • 重排调整大小与当内容在编辑/命令行 [GH ConEmu 1123] 时调整大小的 bash 窗口奇怪交互Reflow resize interacts strangely with resizing a bash window when stuff is on the edit/command line [GH ConEmu 1123]
  • Ctrl-L 离开屏幕已更新 [GH 1978]Ctrl-L leaves the screen dirty [GH 1978]
  • 控制台呈现 bug 上 HDPI [GH 又回到了 1907] 显示 VT 时Console rendering bug when displaying VT on HDPI [GH 1907]
  • Japansese 字符看起来很奇怪的 Unicode 字符 U + 30FB [GH 2146]Japansese characters look strange with Unicode Character U+30FB [GH 2146]
  • 其他改进和 bug 修复Additional improvements and bug fixes

版本 16237Build 16237

有关常规 Windows 上生成 16237 信息请访问Windows 博客For general Windows information on build 16237 visit the Windows Blog.

固定Fixed

  • 中的文件而无需 EAs lxfs (根、 根,0000) 使用默认属性Use default attributes for files without EAs in lxfs (root, root, 0000)
  • 添加了的对使用扩展的属性的分发Added support for distributions that use extended attributes
  • 修复 getdents 和 getdents64 返回项的填充Fix padding for entries returned by getdents and getdents64
  • 修复 shmctl SHM_STAT 系统调用 [GH 2068] 的权限检查Fix permissions check for the shmctl SHM_STAT system call [GH 2068]
  • Tty [GH 2231] 的固定不正确的初始 epoll 状态Fixed incorrect initial epoll state for ttys [GH 2231]
  • 修复 DrvFs readdir 未返回所有条目 [GH 2077]Fix DrvFs readdir not returning all entries [GH 2077]
  • 修复 LxFs readdir 文件时已取消链接 [GH 2077]Fix LxFs readdir when files are unlinked [GH 2077]
  • 允许通过 procfs 重新打开取消链接的 drvfs 文件Allow unlinked drvfs files to be reopened through procfs
  • 添加全局注册表禁用 WSL 功能密钥替代 (互操作 / 驱动器装载)Added global registry key override for disabling WSL features (interop / drive mounting)
  • 适用于 DrvFs (和 LxFs) 解决"状态"中的不正确的块计数 [GH 1894]Fix incorrect block count in "stat" for DrvFs (and LxFs) [GH 1894]
  • 其他改进和 bug 修复Additional improvements and bug fixes

生成 16232Build 16232

有关常规 Windows 上生成 16232 信息请访问Windows 博客For general Windows information on build 16232 visit the Windows Blog.

固定Fixed

  • 没有 WSL 相关的此版本中的更改。No WSL related changes in this release.

生成 16226Build 16226

有关常规 Windows 上生成 16226 信息请访问Windows 博客For general Windows information on build 16226 visit the Windows Blog.

固定Fixed

  • xattr 相关 syscall 支持 (getxattr、 setxattr、 listxattr、 removexattr)。xattr related syscalls support (getxattr, setxattr, listxattr, removexattr).
  • security.capablity xattr 支持。security.capablity xattr support.
  • 改进与特定的文件系统和筛选器,包括非 MS SMB 服务器的兼容性。Improved compatibility with certain file systems and filters, including non-MS SMB servers. [GH #1952][GH #1952]
  • 改进了对 OneDrive 的占位符、 GVFS 占位符和 Compact OS 支持压缩文件。Improved support for OneDrive placeholders, GVFS placeholders, and Compact OS compressed files.
  • 其他改进和 bug 修复Additional improvements and bug fixes

生成 16215Build 16215

有关常规 Windows 上生成 16215 信息请访问Windows 博客For general Windows information on build 16215 visit the Windows Blog.

固定Fixed

  • WSL 不再要求开发人员模式。WSL no longer requires developer mode.
  • 支持 drvfs 目录接合点。Support directory junctions in drvfs.
  • 处理卸载的 WSL 分发 appx 包。Handle uninstalling of WSL distribution appx packages.
  • 更新 procfs 显示专用和共享的映射。Update procfs to show private and shared mappings.
  • 添加 wslconfig.exe 清理的部分安装或卸载分发版的功能。Add ability for wslconfig.exe to clean up distributions that are partially installed or uninstalled.
  • 针对 TCP 套接字 IP_MTU_DISCOVER 添加的支持。Added support for IP_MTU_DISCOVER for TCP sockets. [GH 1639,2115,2205年][GH 1639, 2115, 2205]
  • 推断 AF_INADDR 的路由的协议家族。Infer protocol family for routes to AF_INADDR.
  • 串行设备改进 [GH 1929]。Serial device improvements [GH 1929].

生成 16199Build 16199

有关常规 Windows 上生成 16199 信息请访问Windows 博客For general Windows information on build 16199 visit the Windows Blog.

固定Fixed

  • 没有 WSL 相关的这些版本中的更改。No WSL related changes in these releases.

生成 16193Build 16193

有关常规 Windows 上生成 16193 信息请访问Windows 博客For general Windows information on build 16193 visit the Windows Blog.

固定Fixed

  • 发送 SIGCONT 和终止 [GH 1973] threadgroup 之间的争用条件Race condition between sending SIGCONT and a threadgroup terminating [GH 1973]
  • 更改报表而不是 FILE_DEVICE_CONSOLE [GH 1840] FILE_DEVICE_NAMED_PIPE tty 和 pty 设备change tty and pty devices to report FILE_DEVICE_NAMED_PIPE instead of FILE_DEVICE_CONSOLE [GH 1840]
  • SSH IP_OPTIONS 修复SSH fix for IP_OPTIONS
  • 移动 DrvFs 装载到 init 守护程序 [GH 1862,1968,1767年、 1933年]Moved DrvFs mounting to init daemon [GH 1862, 1968, 1767, 1933]
  • 添加了的对在 DrvFs 遵循 NT 符号链接。Added support in DrvFs for following NT symlinks.

生成 16184Build 16184

有关常规 Windows 上生成 16184 信息请访问Windows 博客For general Windows information on build 16184 visit the Windows Blog.

固定Fixed

  • 已删除的 apt 包维护任务 (lxrun.exe/更新)Removed apt package maintenance task (lxrun.exe /update)
  • 固定的输出中未显示从 node.js [GH 1840] 中的 Windows 进程Fixed output not showing up in from Windows processes in node.js [GH 1840]
  • 放宽 lxcore [GH 1794] 中的对齐需求Relax alignment requirements in lxcore [GH 1794]
  • 修复了处理的系统调用数中的 AT_EMPTY_PATH 标志。Fixed handling of the AT_EMPTY_PATH flag in a numer of system calls.
  • 修复了在其中删除带有开放句柄 DrvFs 文件将导致出现未定义的行为 [GH 544,966,1357,1535,1615] 的文件的问题Fixed issue where deleting DrvFs files with open handles will cause the file to exhibit undefined behavior [GH 544,966,1357,1535,1615]
  • / 主机将从 Windows 主机文件 (%windir%\system32\drivers\etc\hosts) 现在继承项 [GH 1495]/etc/hosts will now inherit entries from the Windows hosts file (%windir%\system32\drivers\etc\hosts) [GH 1495]

生成 16179Build 16179

有关常规 Windows 上生成 16179 信息请访问Windows 博客For general Windows information on build 16179 visit the Windows Blog.

固定Fixed

  • 没有 WSL 更改这一周。No WSL changes this week.

生成 16176Build 16176

有关常规 Windows 上生成 16176 信息请访问Windows 博客For general Windows information on build 16176 visit the Windows Blog.

固定Fixed

  • 已启用串行支持Enabled serial support
  • 添加了的 IP 套接字选项 IP_OPTIONS [GH 1116]Added IP socket option IP_OPTIONS [GH 1116]
  • (同时将文件上传到 nginx/PHP-FPM) 实现 pwritev 函数 [GH 1506]Implemented pwritev function (while uploading file to nginx/PHP-FPM) [GH 1506]
  • 添加了 IP 套接字选项 IP_MULTICAST_IF & IPV6_MULTICAST_IF [GH 990]Added IP socket options IP_MULTICAST_IF & IPV6_MULTICAST_IF [GH 990]
  • 支持的套接字选项 IP_MULTICAST_LOOP 和 IPV6_MULTICAST_LOOP [GH 1678]Support for socket option IP_MULTICAST_LOOP & IPV6_MULTICAST_LOOP [GH 1678]
  • 添加的应用程序节点、 traceroute、 dig、 nslookup、 主机的 IP (V6) _MTU 套接字选项Added IP(V6)_MTU socket option for apps node, traceroute, dig, nslookup, host
  • 添加了的 IP 套接字选项 IPV6_UNICAST_HOPSAdded IP socket option IPV6_UNICAST_HOPS
  • 文件系统的改进Filesystem Improvements
    • 允许 UNC 路径的装载Allow mounting of UNC paths
    • 启用在 drvfs CDFS 支持Enable CDFS support in drvfs
    • 正确处理 drvfs 中的网络文件系统权限Correctly handle permissions for network file systems in drvfs
    • 将对远程驱动器的支持添加到 drvfsAdd support for remote drives to drvfs
    • 启用 FAT 支持 drvfs 中Enable FAT support in drvfs
  • 其他修复和改进Additional fixes and Improvements

LTP 结果LTP Results

15042 之后的任何更改No changes since 15042


生成 16170Build 16170

有关常规 Windows 上生成 16170 信息请访问Windows 博客For general Windows information on build 16170 visit the Windows Blog.

我们发布了新博客文章讨论测试 WSL 我们努力。We released a new blog post discussing our efforts to test WSL.

固定Fixed

  • 支持套接字选项 IP_ADD_MEMBERSHIP & IPV6_ADD_MEMBERSHIP [GH 1678]Support socket option IP_ADD_MEMBERSHIP & IPV6_ADD_MEMBERSHIP [GH 1678]
  • 添加对 PTRACE_OLDSETOPTIONS 的支持。Add support for PTRACE_OLDSETOPTIONS. [GH 1692][GH 1692]
  • 其他修复和改进Additional fixes and improvements

LTP 结果LTP Results

15042 之后的任何更改No changes since 15042


生成 15046 到 Windows 10 创意者更新Build 15046 to Windows 10 Creators Update

没有更多 WSL 修复或计划到 Windows 10 创意者更新中包含的功能。There are no more WSL fixes or features planned for inclusion in the Creators Update to Windows 10. WSL 的发行说明将在未来几周定目标到下一步的主要 Windows Update 中添加的恢复。Release notes for WSL will resume in the coming weeks for additions targeting the next major Windows Update. 为常规 Windows 的生成 15046 和将来的内部版本信息,请访问Windows 博客For general Windows information on build 15046 and future Insider releases visit the Windows Blog.


生成 15042Build 15042

有关常规 Windows 上生成 15042 信息请访问Windows 博客For general Windows information on build 15042 visit the Windows Blog.

固定Fixed

  • 修复出现死锁时删除路径以"..."Fix for a deadlock when removing a path ending in ".."
  • 修复了在其中 FIONBIO 未成功 [GH 1683] 返回 0Fixed an issue where FIONBIO not returning 0 on success [GH 1683]
  • 已修复的问题的 inet 数据报套接字的长度为零的读取Fixed issue with zero-length reads of inet datagram sockets
  • 修复由于争用条件可能死锁中 drvfs inode 查找 [GH 1675]Fix possible deadlock due to race condition in drvfs inode lookup [GH 1675]
  • 扩展对 unix 套接字的辅助数据; 支持SCM_CREDENTIALS 和 SCM_RIGHTS [GH 514,613、 1326年]Extended support for unix socket ancillary data; SCM_CREDENTIALS and SCM_RIGHTS [GH 514, 613, 1326]
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:737Number of Passing Test: 737
未通过的数目 (失败,已跳过,等等...):255Number of non-Passing (failing, skipped, etc…): 255


生成 15031Build 15031

有关常规 Windows 上生成 15031 信息请访问Windows 博客For general Windows information on build 15031 visit the Windows Blog.

固定Fixed

  • 修复了 bug time(2) 错误偶尔行为。Fixed a bug where time(2) would sporadically misbehave.
  • 已修复并发出 where * SIGPROCMASK syscall 可能会损坏信号掩码。Fixed and issue where *SIGPROCMASK syscalls could corrupt signal mask.
  • 在 WSL 进程创建通知现在返回完整的命令行长度。Now return full command line length in WSL process creation notification. [GH 1632][GH 1632]
  • WSL 现在将报告线程退出时通过 GDB 挂起的 ptrace。WSL now reports thread exit through ptrace for GDB hangs. [GH 1196][GH 1196]
  • 修复了 bug,其中 ptys 会挂起后大量 tmux IO。Fixed bug where ptys would hang after heavy tmux IO. [GH 1358][GH 1358]
  • 许多系统调用 (futex、 semtimedop、 ppoll、 sigtimedwait、 itimer、 timer_create) 中的固定的超时验证Fixed timeout validation in many system calls (futex, semtimedop, ppoll, sigtimedwait, itimer, timer_create)
  • 添加了的 eventfd EFD_SEMAPHORE 支持 [GH 452]Added eventfd EFD_SEMAPHORE support [GH 452]
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:737Number of Passing Test: 737
未通过的数目 (失败,已跳过,等等...):255Number of non-Passing (failing, skipped, etc…): 255
LTP 测试运行日志LTP Test Run Logs


生成 15025Build 15025

有关常规 Windows 上生成 15025 信息请访问Windows 博客For general Windows information on build 15025 visit the Windows Blog.

固定Fixed

  • Bug 修复该坏 grep 2.27 [GH 1578]Fix for bug that broke grep 2.27 [GH 1578]
  • 实现的 EFD_SEMAPHORE 标志 eventfd2 syscall [GH 452]Implemented EFD_SEMAPHORE flag for eventfd2 syscall [GH 452]
  • 实现 /proc/ [pid] / net/ipv6_route [GH 1608]Implemented /proc/[pid]/net/ipv6_route [GH 1608]
  • 信号驱动 IO 支持 unix 流套接字 [GH 393,68]Signal driven IO support for unix stream sockets [GH 393, 68]
  • 支持 F_GETPIPE_SZ 和 F_SETPIPE_SZ [GH 1012]Support F_GETPIPE_SZ and F_SETPIPE_SZ [GH 1012]
  • 实现 recvmmsg() syscall [GH 1531]Implement recvmmsg() syscall [GH 1531]
  • 修复了 bug 其中 epoll_wait() 不等待 [GH 1609]Fixed bug where epoll_wait() wasn't waiting [GH 1609]
  • 实现 /proc/version_signatureImplement /proc/version_signature
  • Tee syscall 现在返回失败,如果这两个文件描述符是指同一管道Tee syscall now returns failure if both file descriptors refer to the same pipe
  • 实现正确的 Unix 套接字 SO_PEERCRED 行为Implemented correct behavior for SO_PEERCRED for Unix sockets
  • 固定的 tkill syscall 无效参数处理Fixed tkill syscall invalid parameter handling
  • 若要增加的 drvfs preformace 的更改Changes to increase the preformace of drvfs
  • 微调了 Ruby IO 阻塞Minor fix for Ruby IO blocking
  • 固定的 recvmsg() inet 套接字 [GH 1296] MSG_DONTWAIT 标志返回 EINVALFixed recvmsg() returning EINVAL for the MSG_DONTWAIT flag for inet sockets [GH 1296]
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:732Number of Passing Test: 732
未通过的数目 (失败,已跳过,等等...):255Number of non-Passing (failing, skipped, etc…): 255
LTP 测试运行日志LTP Test Run Logs


生成 15019Build 15019

有关常规 Windows 上生成 15019 信息请访问Windows 博客For general Windows information on build 15019 visit the Windows Blog.

固定Fixed

  • 修复了 bug 的不正确地报告中的 CPU 使用率 procfs htop (GH 823,945、 971) 等工具Fixed bug that incorrectly reported CPU usage in procfs for tools like htop (GH 823, 945, 971)
  • 在现有调用 open () 方法与 O_TRUNC 时文件 inotify 现在会生成之前 IN_OPEN IN_MODIFYWhen calling open() with O_TRUNC on an existing file inotify now generates IN_MODIFY before IN_OPEN
  • Unix 套接字 getsockopt SO_ERROR 启用 postgress [GH 61,1354年] 的修补程序Fixes to unix socket getsockopt SO_ERROR to enable postgress [GH 61, 1354]
  • 实现针对 GO 语言 /proc/sys/net/core/somaxconnImplement /proc/sys/net/core/somaxconn for the GO language
  • Pt-get 包更新后台任务现在在隐藏模式运行从视图Apt-get package update background task now runs hidden from view
  • Ipv6 localhost (Spring-Framework(Java) 失败) 的清除范围。Clear scope for ipv6 localhost (Spring-Framework(Java) failure).
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:714Number of Passing Test: 714
未通过的数目 (失败,已跳过,等等...):249Number of non-Passing (failing, skipped, etc…): 249
LTP 测试运行日志LTP Test Run Logs


生成 15014Build 15014

有关常规 Windows 上生成 15014 信息请访问Windows 博客For general Windows information on build 15014 visit the Windows Blog.

固定Fixed

  • Ctrl + C 现在可按预期方式Ctrl+C now works as intended
  • htop 和 ps auxw 现在显示正确的资源利用率 (GH #516)htop and ps auxw now show correct resource utilization (GH #516)
  • NT 异常信号的基本转换。Basic translation of NT exceptions to signals. (GH #513)(GH #513)
  • fallocate 现在 ENOSPC 与运行时失败而不是 EINVAL (GH #1571) 空间不足fallocate now fails with ENOSPC when running out of space instead of EINVAL (GH #1571)
  • 添加了的 /proc/sys/kernel/sem。Added /proc/sys/kernel/sem.
  • 实现的 semop 和 semtimedop 系统调用Implemented semop and semtimedop system calls
  • 固定的 nslookup 错误的 IP_RECVTOS & IPV6_RECVTCLASS 套接字选项 (GH 69)Fixed nslookup errors with IP_RECVTOS & IPV6_RECVTCLASS socket option (GH 69)
  • 对套接字选项 IP_RECVTTL 和 IPV6_RECVHOPLIMIT 的支持Support for socket options IP_RECVTTL and IPV6_RECVHOPLIMIT
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:709Number of Passing Test: 709
未通过的数目 (失败,已跳过,等等...):255Number of non-Passing (failing, skipped, etc…): 255
LTP 测试运行日志LTP Test Run Logs

Syscall 摘要Syscall Summary

总 Syscall:384Total Syscalls: 384
实现的总计:235Total Implemented: 235
用作存根的总计:22Total Stubbed: 22
未实现的总计:127Total Unimplemented: 127
详细的分解结构Detailed Breakdown


生成 15007Build 15007

有关常规 Windows 上生成 15007 信息请访问Windows 博客For general Windows information on build 15007 visit the Windows Blog.

已知的问题Known Issue

  • 是一个已知的 bug,控制台不识别某些 Ctrl +输入。There is a known bug where the console does not recognize some Ctrl + input. 这包括将充当正常的 c 按键的 ctrl + c 命令。This includes the ctrl-c command which will act as a normal ‘c’ keypress.

    • 解决方法:将备用键映射到 Ctrl + C。Workaround: Map an alternate key to Ctrl+C. 例如,若要映射到 Ctrl + C Ctrl + K 执行: stty intr \^kFor example, to map Ctrl+K to Ctrl+C do: stty intr \^k. 此映射的每个终端,将需要进行每个启动时间 bash。This mapping is per terminal and will have to be done every time bash is launched. 用户可以浏览选项,此操作在其 .bashrcUsers can explore the option to include this in their .bashrc

固定Fixed

  • 更正了在其中运行 WSL 会占用 100%的 CPU 内核的问题Corrected the issue where running WSL would consume 100% of a CPU core
  • 套接字选项 IP_PKTINFO,IPV6_RECVPKTINFO 现在支持。Socket option IP_PKTINFO, IPV6_RECVPKTINFO now supported. (GH #851, 987)(GH #851, 987)
  • 截断到 lxcore 以 16 个字节的网络接口物理地址 (GH #1452,1414,1343,468,308)Truncate network interface physical address to 16 bytes in lxcore (GH #1452, 1414, 1343, 468, 308)
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:709Number of Passing Test: 709
未通过的数目 (失败,已跳过,等等...):255Number of non-Passing (failing, skipped, etc…): 255
LTP 测试运行日志LTP Test Run Logs


生成 15002Build 15002

有关常规 Windows 上生成 15002 信息请访问Windows 博客For general Windows information on build 15002 visit the Windows Blog.

已知的问题Known Issue

两个已知的问题:Two known issues:

  • 是一个已知的 bug,控制台不识别某些 Ctrl +输入。There is a known bug where the console does not recognize some Ctrl + input. 这包括将充当正常的 c 按键的 ctrl + c 命令。This includes the ctrl-c command which will act as a normal ‘c’ keypress.

    • 解决方法:将备用键映射到 Ctrl + C。Workaround: Map an alternate key to Ctrl+C. 例如,若要映射到 Ctrl + C Ctrl + K 执行: stty intr \^kFor example, to map Ctrl+K to Ctrl+C do: stty intr \^k. 此映射的每个终端,将需要进行每个启动时间 bash。This mapping is per terminal and will have to be done every time bash is launched. 用户可以浏览选项,此操作在其 .bashrcUsers can explore the option to include this in their .bashrc
  • WSL 正在运行时系统线程将占用 100%的 CPU 核心。While WSL is running a system thread will consume 100% of a CPU core. 解决并在内部修复根本原因。The root cause has been addressed and fixed internally.

固定Fixed

  • 现在必须在相同的权限级别创建所有的 bash 会话。All bash sessions must now be created at the same permission level. 尝试在不同级别上启动会话将被阻止。Attempting to start a session at a different level will be blocked. 这意味着管理员和非管理员控制台不能在同一时间运行。This means admin and non-admin consoles cannot run at the same time. (GH #626)(GH #626)
  • 实现以下 NETLINK_ROUTE 消息 (需要 Windows 管理员)Implemented the following NETLINK_ROUTE messages (requires Windows admin)
    • RTM_NEWADDR (支持ip addr add)RTM_NEWADDR (supports ip addr add)
    • RTM_NEWROUTE (支持ip route add)RTM_NEWROUTE (supports ip route add)
    • RTM_DELADDR (支持ip addr del)RTM_DELADDR (supports ip addr del)
    • RTM_DELROUTE (支持ip route del)RTM_DELROUTE (supports ip route del)
  • 检查要更新的包的计划的任务运行将不再按流量计费的连接 (GH #1371)Scheduled task checking for packages to update will no longer run on a metered connection (GH #1371)
  • 修复了错误卡在何处通过管道将获取即 bash-c"ls alR /"|bash-c"cat"(GH #1214)Fixed error where piping gets stuck i.e. bash -c "ls -alR /" | bash -c "cat" (GH #1214)
  • 实现的 TCP_KEEPCNT 套接字选项 (GH #843)Implemented TCP_KEEPCNT socket option (GH #843)
  • 实现的 IP_MTU_DISCOVER INET 套接字选项 (GH #720、 717,170,69)Implemented IP_MTU_DISCOVER INET socket option (GH #720, 717, 170, 69)
  • 删除旧的功能,若要从使用 NT 路径查找 init 运行 NT 二进制文件。Removed legacy functionality to run NT binaries from init with NT path lookup. (GH #1325)(GH #1325)
  • 修复/kmsg 以允许组 / 其他读取访问权限 (0644) (GH # 1321) 哈希模式Fix mode of /dev/kmsg to allow group / other read access (0644) (GH #1321)
  • 实现的 /proc/sys/kernel/random/uuid (GH #1092)Implemented /proc/sys/kernel/random/uuid (GH #1092)
  • 更正了的错误的进程启动时间显示为 2432 年 (GH #974)Corrected error where process start time was showing as year 2432 (GH #974)
  • 切换的默认术语环境变量为 xterm 256color (GH #1446)Switched default TERM environment variable to xterm-256color (GH #1446)
  • 修改后在进程分叉期间计算处理提交的方式。Modified the way that process commit is calculated during process fork. (GH #1286)(GH #1286)
  • 实现的 /proc/sys/vm/overcommit_memory。Implemented /proc/sys/vm/overcommit_memory. (GH #1286)(GH #1286)
  • 实现的 /proc/net/route 文件 (GH #69)Implemented /proc/net/route file (GH #69)
  • 修复了快捷方式名称不正确的错误本地化 (GH #696)Fixed error where shortcut name was incorrectly localized (GH #696)
  • 固定的 elf 分析错误地验证程序标头的逻辑必须是小于 (或等于) PATH_MAX。Fixed elf parsing logic that is incorrectly validating the program headers must be less than (or equal to) PATH_MAX. (GH #1048)(GH #1048)
  • 实现的 statfs 回调 procfs,sysfs、 cgroupfs,和 binfmtfs (GH #1378)Implemented statfs callback for procfs, sysfs, cgroupfs, and binfmtfs (GH #1378)
  • 不会关闭 (GH #1184,GH # 1193年中也讨论了) 的固定的 AptPackageIndexUpdate windowsFixed AptPackageIndexUpdate windows that won’t close (GH #1184, also discussed in GH #1193)
  • 添加了的 ASLR 个性 ADDR_NO_RANDOMIZE 支持。Added ASLR personality ADDR_NO_RANDOMIZE support. (GH #1148, 1128)(GH #1148, 1128)
  • 改进了的 PTRACE_GETSIGINFO,SIGSEGV 的适当 gdb AV (GH #875) 期间的堆栈跟踪Improved PTRACE_GETSIGINFO, SIGSEGV, for proper gdb stack traces during AV (GH #875)
  • Elf 不再解析为 patchelf 二进制文件无法正常工作。Elf parsing no longer fails for patchelf binaries. (GH #471)(GH #471)
  • VPN DNS 传播到 /etc/resolv.conf (GH #416,1350年)VPN DNS propagated to /etc/resolv.conf (GH #416, 1350)
  • 对 TCP 的改进关闭的更可靠的数据传输。Improvements to TCP close for more reliable data transfer. (GH #610 616、 1025,1335年)(GH #610, 616, 1025, 1335)
  • 现在返回正确的错误代码的文件太多时打开 (EMFILE)。Now return correct error code when too many files are opened (EMFILE). (GH # 1126年 2090年)(GH #1126, 2090)
  • Windows 审核过程中的映像名称日志现在报表创建审核。Windows Audit log now reports the image name in process create audit.
  • 正常失败时启动 bash 窗口中的从 bash.exeNow gracefully fail when launching bash.exe from within a bash window
  • 互操作时,添加了的错误消息无法访问工作目录下 LxFs (即 notepad.exe.bashrc)Added error message when interop is unable to access a working directory under LxFs (i.e. notepad.exe .bashrc)
  • 修复了问题,Windows 路径已被截断 WSLFixed issue where Windows path was truncated in WSL
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:690Number of Passing Test: 690
未通过的数目 (失败,已跳过,等等...):274Number of non-Passing (failing, skipped, etc…): 274
LTP 测试运行日志LTP Test Run Logs


支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

shmctl
shmget
shmdt
shmat

生成 14986Build 14986

有关常规 Windows 上生成 14986 信息请访问Windows 博客For general Windows information on build 14986 visit the Windows Blog.

固定Fixed

  • 使用 Netlink 和 Pty Ioctl 固定错误检查Fixed bugchecks with Netlink and Pty IOCTLs
  • 内核版本现在将报告 4.4.0-43 与 Xenial 的一致性Kernel version now reports 4.4.0-43 for consistency with Xenial
  • Bash.exe 现在启动时输入定向到 nul: (GH #1259)Bash.exe now launches when input directed to 'nul:' (GH #1259)
  • 线程 Id 现在可以正确报告中 procfs (GH #967)Thread IDs now reported correctly in procfs (GH #967)
  • IN_UNMOUNT |IN_Q_OVERFLOW |IN_IGNORED |现在支持在 inotify_add_watch() (GH #1280) IN_ISDIR 标志IN_UNMOUNT | IN_Q_OVERFLOW | IN_IGNORED | IN_ISDIR flags now supported in inotify_add_watch() (GH #1280)
  • 实现 timer_create 和相关的系统调用。Implement timer_create and related system calls. 这使 GHC 支持 (GH #307)This enables GHC support (GH #307)
  • 修复了 ping 返回的时间为 0.000ms (GH #1296) 的位置的问题Fixed issue where ping returned a time of 0.000ms (GH #1296)
  • 打开的文件太多时,请返回正确的错误代码。Return correct error code when too many files are opened.
  • 其中的网络接口数据 Netlink 请求接口的硬件地址为 32 字节 (如 Teredo 接口) 将失败并 EINVAL WSL 中修复的问题Fixed issue in WSL where Netlink request for network interface data would fail with EINVAL if the interface's hardware address is 32-bytes (such as the Teredo interface)
    • 请注意,Linux"ip"实用程序包含一个 bug,它会崩溃如果 WSL 报告 32 字节硬件地址。Note that the Linux "ip" utility contains a bug where it will crash if WSL reports a 32-byte hardware address. 这是"ip",不 WSL 中的 bug。This is a bug in "ip", not WSL. "Ip"实用程序硬编码的字符串缓冲区长度用于打印硬件地址,并且该缓冲区因过小,若要打印的 32 字节硬件地址。The “ip” utility hard-codes the length of the string buffer used to print the hardware address, and that buffer is too small to print a 32-byte hardware address.
  • 其他修复和改进Additional fixes and improvements

LTP 结果:LTP Results:

通过的测试数:669Number of Passing Test: 669
未通过的数目 (失败,已跳过,等等...):258Number of non-Passing (failing, skipped, etc…): 258
LTP 测试运行日志LTP Test Run Logs


支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

timer_create
timer_delete
timer_gettime
timer_settime

生成 14971Build 14971

有关常规 Windows 上生成 14971 信息请访问Windows 博客For general Windows information on build 14971 visit the Windows Blog.

固定Fixed

  • 由于超出我们的控制范围的情况适用于 Linux 的 Windows 子系统本版本中没有的更新。Due to circumstances beyond our control there are no updates in this build for the Windows Subsystem for Linux. 定期计划的更新将在下一版本上继续进行。Regularly scheduled updates will resume on the next release.

LTP 结果:LTP Results:

14965 相比并无变化Unchanged from 14965
通过的测试数:664Number of Passing Test: 664
未通过的数目 (失败,已跳过,等等...):263Number of non-Passing (failing, skipped, etc…): 263
LTP 测试运行日志LTP Test Run Logs


生成 14965Build 14965

有关常规 Windows 上生成 14965 信息请访问Windows 博客For general Windows information on build 14965 visit the Windows Blog.

固定Fixed

  • 支持 Netlink 套接字 NETLINK_ROUTE 协议 RTM_GETLINK 和 RTM_GETADDR (GH #468)Support for Netlink sockets NETLINK_ROUTE protocol's RTM_GETLINK and RTM_GETADDR (GH #468)

  • /sbin 现在在默认情况下的用户的 path/sbin is now in the user's path by default

  • 现在默认情况下 (即可以现在键入 notepad.exe 而无需添加到 Linux 路径 System32) 追加到 WSL 路径的 NT 用户路径NT user path now appended to the WSL path by default (i.e. you can now type notepad.exe without adding System32 to the Linux path)

  • 添加了的对 /proc/sys/kernel/cap_last_capAdded support for /proc/sys/kernel/cap_last_cap

  • 现在 NT 二进制文件可以启动从 WSL 中,如果当前工作目录包含非 ansi 字符 (GH #1254)NT Binaries can now be launched from WSL when the current working directory contains non-ansi characters (GH #1254)

  • 允许断开连接的 unix 流套接字上的关闭。Allow shutdown on disconnected unix stream socket.

  • 添加了的对 PR_GET_PDEATHSIG。Added support for PR_GET_PDEATHSIG.

  • 添加了的对 CLONE_PARENTAdded support for CLONE_PARENT

  • 修复了错误卡在何处通过管道将获取即 bash-c"ls alR /"|bash-c"cat"(GH #1214)Fixed error where piping gets stuck i.e. bash -c "ls -alR /" | bash -c "cat" (GH #1214)

  • 若要连接到当前终端的处理请求。Handle requests to connect to the current terminal.

  • 将标记 /proc//oom_score_adj 为可写入。Mark /proc//oom_score_adj as writable.

  • 添加 /sys/fs/cgroup 文件夹。Add /sys/fs/cgroup folder.

  • sched_setaffinity 应返回关联位掩码的数sched_setaffinity should return number of affinity bits mask

  • 修复错误地假设它解释器路径必须少于 64 个字符长 ELF 验证逻辑。Fix ELF validation logic which incorrectly assumes interpreter paths must be less than 64 characters long. (GH #743)(GH #743)

  • 打开的文件描述符可以保留控制台窗口处于打开状态 (GH #1187)Open file descriptors can keep console window open (GH #1187)

  • Fixeed 错误其中 rename () 失败,出现尾部反斜杠目标名称 (GH #1008)Fixeed error where rename() failed with trailing slash on target name (GH #1008)

  • 实现 /proc/net/dev 文件Implement /proc/net/dev file

  • 由于计时器分辨率,固定的 0.000ms 执行 ping 操作。Fixed 0.000ms pings due to timer resolution.

  • 实现的 /proc/self/environ (GH #730)Implemented /proc/self/environ (GH #730)

  • 其他 bug 修复和改进Additional bugfixes and improvements

LTP 结果:LTP Results:

通过的测试数:664Number of Passing Test: 664
未通过的数目 (失败,已跳过,等等...):263Number of non-Passing (failing, skipped, etc…): 263
LTP 测试运行日志LTP Test Run Logs


生成 14959Build 14959

有关常规 Windows 上生成 14959 信息请访问Windows 博客For general Windows information on build 14959 visit the Windows Blog.

固定Fixed

  • 改进了的 Windows 的 Pico 进程通知。Improved Pico Process notification for Windows. 上找到其他信息WSL 博客Additional information found on the WSL Blog.
  • 使用 Windows 的互操作性的改进了的稳定性Improved stability with Windows interoperability
  • 修复了错误 0x80070057 时启动 bash.exe 时启用了企业数据保护 (EDP)Fixed error 0x80070057 when launching bash.exe when Enterprise Data Protection (EDP) is enabled
  • 其他 bug 修复和改进Additional bugfixes and improvements

LTP 结果:LTP Results:

通过的测试数:665Number of Passing Test: 665
未通过的数目 (失败,已跳过,等等...):263Number of non-Passing (failing, skipped, etc…): 263
LTP 测试运行日志LTP Test Run Logs


生成 14955Build 14955

有关常规 Windows 上生成 14955 信息请访问Windows 博客For general Windows information on build 14955 visit the Windows Blog.

固定Fixed

  • 由于超出我们的控制范围的情况适用于 Linux 的 Windows 子系统本版本中没有的更新。Due to circumstances beyond our control there are no updates in this build for the Windows Subsystem for Linux. 定期计划的更新将在下一版本上继续进行。Regularly scheduled updates will resume on the next release.

LTP 结果:LTP Results:

通过的测试数:665Number of Passing Test: 665
未通过的数目 (失败,已跳过,等等...):263Number of non-Passing (failing, skipped, etc…): 263
LTP 测试运行日志LTP Test Run Logs


生成 14951Build 14951

有关常规 Windows 上生成 14951 信息请访问Windows 博客For general Windows information on build 14951 visit the Windows Blog.

新功能:Windows / Ubuntu 的互操作性New Feature: Windows / Ubuntu Interoperability

现在可以直接从 WSL 命令行调用 Windows 二进制文件。Windows binaries can now be invoked directly from the WSL command line. 这使用户能够使用其 Windows 环境和系统中已不可能的方式进行交互。This gives users the ability to interact with their Windows environment and system in a way that has not been possible. 作为快速示例中,是现在用户可以运行以下命令:As a quick example, it is now possible for users to run the following commands:

```
$ export PATH=$PATH:/mnt/c/Windows/System32
$ notepad.exe
$ ipconfig.exe | grep IPv4 | cut -d: -f2
$ ls -la | findstr.exe foo.txt
$ cmd.exe /c dir
```

可以在找到详细信息:More information can be found at:

固定Fixed

  • Ubuntu 16.04 (Xenial) 现已安装的所有新 WSL 实例。Ubuntu 16.04 (Xenial) is now installed for all new WSL instances. 具有现有 14.04 (值得信赖) 实例的用户将不会自动升级。Users with existing 14.04 (Trusty) instances will not be automatically upgraded.
  • 现在显示在安装过程中设置的区域设置Locale set during install is now displayed
  • 终端的改进包括的 bug 其中不始终将 WSL 过程重定向到一个文件不起作用Terminal improvements including bug where redirecting a WSL process to a file does not always work
  • 控制台生存期应取决于 bash.exe 生存期Console lifetime should be tied to bash.exe lifetime
  • 控制台窗口大小应使用可见的大小,不缓冲区大小Console window size should use visible size, not buffer size
  • 其他 bug 修复和改进Additional bugfixes and improvements

LTP 结果:LTP Results:

通过的测试数:665Number of Passing Test: 665
未通过的数目 (失败,已跳过,等等...):263Number of non-Passing (failing, skipped, etc…): 263
LTP 测试运行日志LTP Test Run Logs


生成 14946Build 14946

有关常规 Windows 上生成 14946 信息请访问Windows 博客For general Windows information on build 14946 visit the Windows Blog.

固定Fixed

  • 修复了阻止使用包含空格或引号的 NT 用户名创建 WSL 的用户的用户帐户。Fixed an issue that prevented creating WSL user accounts for users with NT usernames that contain spaces or quotes.

  • 更改 VolFs 和 DrvFs 统计信息中返回 0 表示目录的链接计数Change VolFs and DrvFs to return 0 for directory's link count in stat

  • 支持 IPV6_MULTICAST_HOPS 套接字选项。Support IPV6_MULTICAST_HOPS socket option.

  • 限制到单个控制台 I/O 循环每 tty。Limit to a single console I/O loop per tty. 示例: 可能是以下命令:Example: the following command is possible:

    • bash -c "echo data" | bash -c "ssh user@example.com 'cat > foo.txt'"bash -c "echo data" | bash -c "ssh user@example.com 'cat > foo.txt'"
  • 空格替换为 /proc/cpuinfo (GH #1115) 中的选项卡replace spaces with tabs in /proc/cpuinfo (GH #1115)

  • DrvFs 现在将显示在名称匹配已安装的 Windows 卷 mountinfoDrvFs now appears in mountinfo with a name that matches mounted Windows volume

  • /home 和 /root 现在出现在正确的名称与 mountinfo/home and /root now appear in mountinfo with correct names

  • 其他 bug 修复和改进Additional bugfixes and improvements

LTP 结果:LTP Results:

通过的测试数:665Number of Passing Test: 665
未通过的数目 (失败,已跳过,等等...):263Number of non-Passing (failing, skipped, etc…): 263
LTP 测试运行日志LTP Test Run Logs


生成 14942Build 14942

有关常规 Windows 上生成 14942 信息请访问Windows 博客For general Windows information on build 14942 visit the Windows Blog.

固定Fixed

  • 错误检查,包括"尝试执行的 NOEXECUTE 内存"网络已阻止 SSH 的故障数A number of bugchecks addressed, including the “ATTEMPTED EXECUTE OF NOEXECUTE MEMORY” networking crash which was blocking SSH
  • 在现 inotifiy 支持来自 DrvFs 上的 Windows 应用程序生成的通知inotifiy support for notifications generated from Windows applications on DrvFs is now in
  • 实施 mongod TCP_KEEPIDLE 和 TCP_KEEPINTVL。Implement TCP_KEEPIDLE and TCP_KEEPINTVL for mongod. (GH #695)(GH #695)
  • 实现 pivot_root 系统调用Implement the pivot_root system call
  • 实现 SO_DONTROUTE 的套接字选项Implement socket option for SO_DONTROUTE
  • 其他 bug 修复和改进Additional bugfixes and improvements

LTP 结果:LTP Results:

通过的测试数:665Number of Passing Test: 665
未通过的数目 (失败,已跳过,等等...):263Number of non-Passing (failing, skipped, etc…): 263
LTP 测试运行日志LTP Test Run Logs

支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

pivot_root

生成 14936Build 14936

有关常规 Windows 上生成 14936 信息请访问Windows 博客For general Windows information on build 14936 visit the Windows Blog.

注意:WSL 将在即将发布的版本中安装 Ubuntu 版本 16.04 (Xenial) 而不是 Ubuntu 14.04 (可信赖)。Note: WSL will install Ubuntu version 16.04 (Xenial) instead of Ubuntu 14.04 (Trusty) in an upcoming release. 此更改将应用于预览体验成员安装新实例 (lxrun.exe /install 或首次运行 bash.exe)。This change will apply to Insiders installing new instances (lxrun.exe /install or first run of bash.exe). 可信赖的现有实例将不自动升级。Existing instances with Trusty will not be upgraded automatically. 用户可以升级其值得信赖的映像为 Xenial 使用执行版本升级命令。Users can upgrade their Trusty image to Xenial using the do-release-upgrade command.

已知的问题Known Issue

WSL 遇到某些套接字实现的问题。WSL is experiencing an issue with some socket implementations. 检测的错误表现为崩溃并出现错误"尝试执行的 NOEXECUTE 内存"。The bugcheck manifests itself as a crash with the error “ATTEMPTED EXECUTE OF NOEXECUTE MEMORY”. 使用 ssh 配合使用时,此问题的最常见的表现是崩溃。The most common manifestation of this issue is a crash when using ssh. 在内部版本中已修复并尽早将被推送到内部人员根本原因。The root cause is fixed on internal builds and will be pushed to Insiders at the earliest opportunity.

固定Fixed

  • 实现 chroot 系统调用Implemented the chroot system call
  • 改进 inotify包括对来自 DrvFs 上的 Windows 应用程序生成的通知的支持Improvements in inotify including support for notifications generated from Windows applications on DrvFs
    • 更正:Inotify 更改源自 Windows 应用程序在此时间不可用的支持。Correction: Inotify support for changes originating from Windows applications not available at this time.
  • 套接字绑定到 IPV6::现在支持 IPV6_V6ONLY (GH #68、 #157、 #393、 #460,#674、 #740、 #982、 #996)Socket binding to IPV6:: now supports IPV6_V6ONLY (GH #68, #157, #393, #460, #674, #740, #982, #996)
  • Waitid systemcall WNOWAIT 行为实现 (GH #638)WNOWAIT behavior for waitid systemcall implemented (GH #638)
  • 支持 IP 套接字选项 IP_HDRINCL 和 IP_TTLSupport for IP socket options IP_HDRINCL and IP_TTL
  • 应立即返回长度为零的 read () (GH #975)Zero-length read() should return immediately (GH #975)
  • 正确处理文件名和文件名的前缀,.tar 文件中不包括 NULL 终止符。Correctly handle filenames and filename prefixes that don't include a NULL terminator in a .tar file.
  • epoll /dev/null 时支持epoll support for /dev/null
  • 修复 /dev/alarm 时间源Fix /dev/alarm time source
  • Bash-c 现在可以将重定向到文件Bash -c now able to redirect to a file
  • 其他 bug 修复和改进Additional bugfixes and improvements

LTP 结果:LTP Results:

通过的测试数:664Number of Passing Test: 664
未通过的数目 (失败,已跳过,等等...):264Number of non-Passing (failing, skipped, etc…): 264
LTP 测试运行日志LTP Test Run Logs

支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

chroot

生成 14931Build 14931

有关常规 Windows 上生成 14931 信息请访问Windows 博客For general Windows information on build 14931 visit the Windows Blog.

固定Fixed

  • 由于超出我们的控制范围的情况适用于 Linux 的 Windows 子系统本版本中没有的更新。Due to circumstances beyond our control there are no updates in this build for the Windows Subsystem for Linux. 定期计划的更新将继续进行下一版本中。Regularly scheduled updates will resume in the next release.

生成 14926Build 14926

有关常规 Windows 上生成 14926 信息请访问Windows 博客For general Windows information on build 14926 visit the Windows Blog.

固定Fixed

  • 成功进行 ping 操作现在具有管理员特权的控制台中的工作原理Ping now works in consoles which do not have administrator privileges
  • Ping6 现在支持,也无需管理员权限Ping6 now supported, also without administrator privileges
  • Inotify 支持通过 WSL 修改的文件。Inotify support for files modified through WSL. (GH #216)(GH #216)
    • 支持的标志:Flags supported:
      • inotify_init1:LX_O_CLOEXEC LX_O_NONBLOCKinotify_init1: LX_O_CLOEXEC, LX_O_NONBLOCK
      • inotify_add_watch 事件:LX_IN_ACCESS、 LX_IN_MODIFY、 LX_IN_ATTRIB、 LX_IN_CLOSE_WRITE、 LX_IN_CLOSE_NOWRITE、 LX_IN_OPEN、 LX_IN_MOVED_FROM、 LX_IN_MOVED_TO、 LX_IN_CREATE、 LX_IN_DELETE、 LX_IN_DELETE_SELF、 LX_IN_MOVE_SELFinotify_add_watch events: LX_IN_ACCESS, LX_IN_MODIFY, LX_IN_ATTRIB, LX_IN_CLOSE_WRITE, LX_IN_CLOSE_NOWRITE, LX_IN_OPEN, LX_IN_MOVED_FROM, LX_IN_MOVED_TO, LX_IN_CREATE, LX_IN_DELETE, LX_IN_DELETE_SELF, LX_IN_MOVE_SELF
      • inotify_add_watch 属性:LX_IN_DONT_FOLLOW, LX_IN_EXCL_UNLINK, LX_IN_MASK_ADD, LX_IN_ONESHOT, LX_IN_ONLYDIRinotify_add_watch attributes: LX_IN_DONT_FOLLOW, LX_IN_EXCL_UNLINK, LX_IN_MASK_ADD, LX_IN_ONESHOT, LX_IN_ONLYDIR
      • 读取输出:LX_IN_ISDIR LX_IN_IGNOREDread output: LX_IN_ISDIR, LX_IN_IGNORED
    • 已知的问题:修改文件从 Windows 应用程序不会生成任何事件Known issue: Modifying files from Windows applications does not generate any events
  • Unix 套接字现在支持 SCM_CREDENTIALSUnix socket now supports SCM_CREDENTIALS

LTP 结果:LTP Results:

通过的测试数:651Number of Passing Test: 651
未通过的数目 (失败,已跳过,等等...):258Number of non-Passing (failing, skipped, etc…): 258
LTP 测试运行日志LTP Test Run Logs


生成 14915Build 14915

有关常规 Windows 上生成 14915 信息请访问Windows 博客For general Windows information on build 14915 visit the Windows Blog.

固定Fixed

  • Socketpair unix 数据报套接字 (GH #262)Socketpair for unix datagram sockets (GH #262)
  • SO_REUSEADDR Unix 套接字支持Unix socket support for SO_REUSEADDR
  • UNIX 套接字支持 SO_BROADCAST (GH #568)UNIX socket support for SO_BROADCAST (GH #568)
  • Unix 套接字支持 SOCK_SEQPACKET (GH #758,#546)Unix socket support for SOCK_SEQPACKET (GH #758, #546)
  • 添加对 unix 数据报套接字发送、 接收和关闭的支持Adding support for unix datagram socket send, recv and shutdown
  • 解决由于非固定地址无效 mmap 参数验证错误检查。Fix bugcheck due to invalid mmap parameter validation for non-fixed addresses. (GH #847)(GH #847)
  • 支持暂停 / 恢复终端状态的Support for suspend / resume of terminal states
  • 对 TIOCPKT ioctl,若要取消阻止屏幕实用程序 (GH #774) 的支持Support for TIOCPKT ioctl to unblock the Screen utility (GH #774)
    • 已知的问题:功能键不可操作Known issue: Function keys not operational
  • 更正可能导致已释放的成员 ReaderReady LxpTimerFdWorkerRoutine (GH #814) 访问的 TimerFd 的争用问题Corrected a race in TimerFd that could cause a freed member 'ReaderReady' to be accessed by LxpTimerFdWorkerRoutine (GH #814)
  • 启用可重新启动系统调用支持 futex、 投票、 和 clock_nanosleepEnable restartable system call support for futex, poll, and clock_nanosleep
  • 添加了的绑定装入支持Added bind mount support
  • 取消共享装入命名空间支持unshare for mount namespace support
    • 已知的问题:创建与新的装入命名空间时unshare(CLONE_NEWNS)当前工作目录将继续指向旧的命名空间Known issue: When creating a new mount namespace with unshare(CLONE_NEWNS) the current working directory will continue to point to the old namespace
  • 其他改进和 bug 修复Additional improvements and bug fixes

生成 14905Build 14905

有关常规 Windows 上生成 14905 信息请访问Windows 博客For general Windows information on build 14905 visit the Windows Blog.

固定Fixed

  • 可重新启动系统调用现支持 (GH #349,GH #520)Restartable system calls are now supported (GH #349, GH #520)
  • 符号链接到目录结束在 / 现在操作 (GH #650)Symlinks to directories ending in / now operational (GH #650)
  • 实现的 RNDGETENTCNT ioctl 用于 /dev/randomImplemented RNDGETENTCNT ioctl for /dev/random
  • 实现 /proc/ [pid] / 装载 /proc/ [pid] / mountinfo 和 /proc/ [pid] / mountstats 文件Implemented the /proc/[pid]/mounts, /proc/[pid]/mountinfo and /proc/[pid]/mountstats files
  • 其他 bug 修复和改进Additional bugfixes and improvements

生成 14901Build 14901

第一个预览体验内部版本的 Windows 10 周年更新发布的文章。First Insider build for the post Windows 10 Anniversary Update release.

有关常规 Windows 上生成 14901 信息请访问Windows 博客For general Windows information on build 14901 visit the Windows Blog.

固定Fixed

  • 修复了尾随斜杠问题Fixed trailing slash issue
    • 命令,如$ mv a/c/ a/b/现在工作Commands such as $ mv a/c/ a/b/ now work
  • 如果 Ubuntu 区域设置应设置为 Windows 区域设置安装现在会提示Installing now prompts if Ubuntu locale should be set to Windows locale
  • Procfs 支持 ns 文件夹Procfs support for ns folder
  • 添加装载和卸载 tmpfs,procfs 和 sysfs 文件系统Added mount and unmount for tmpfs, procfs and sysfs file systems
  • [32 位 ABI 签名在] 修复 mknodFix mknod[at] 32-bit ABI signature
  • Unix 套接字移动调度模型Unix sockets moved to dispatch model
  • 应遵循设置使用 setsockopt INET 套接字接收缓冲区大小INET socket recv buffer size set using the setsockopt should be honored
  • 实现 MSG_CMSG_CLOEXEC unix 套接字接收消息标志Implement MSG_CMSG_CLOEXEC unix socket receive message flag
  • Linux 进程 stdin/stdout 管道重定向 (GH #2)Linux process stdin/stdout pipe redirection (GH #2)
    • 允许在命令中的 bash-c 命令的管道Allows for piping of bash -c commands in CMD. 示例: > dir |bash-c"grep foo"Example: >dir | bash -c "grep foo"
  • 现在可以具有多个页面文件 (GH #538,#358) 的系统上安装 bashBash can now be installed on systems with multiple pagefiles (GH #538, #358)
  • 默认 INET 套接字缓冲区大小应与匹配的默认 Ubuntu 安装程序Default INET Socket buffer size should match that of default Ubuntu setup
  • 对齐到 listxattr xattr syscallAlign xattr syscalls to listxattr
  • 只能从 SIOCGIFCONF 返回有效的 IPv4 地址的接口Only return interfaces with a valid IPv4 address from SIOCGIFCONF
  • 修复信号时由 ptrace 注入的默认操作Fix signal default action when injected by ptrace
  • implement /proc/sys/vm/min_free_kbytesimplement /proc/sys/vm/min_free_kbytes
  • 还原在 sigreturn 上下文时使用计算机上下文寄存器值Use machine context register values when restoring context in sigreturn
    • 这样可以解决问题 java 和 javac 已挂起的位置为一些用户This resolves the issue where java and javac were hanging for some users
  • 实现 /proc/sys/kernel/hostnameImplement /proc/sys/kernel/hostname

支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

waitid
epoll_pwait


生成 14388 到 Windows 10 周年更新Build 14388 to Windows 10 Anniversary Update

有关常规 Windows 上生成 14388 信息请访问Windows 博客For general Windows information on build 14388 visit the Windows Blog.

固定Fixed

  • 修复了准备的 Windows 10 周年更新上 8/2Fixes to prepare for the Windows 10 Anniversary Update on 8/2
    • 有关 WSL 周年更新中的详细信息可以位于我们博客More information about WSL in the Anniversary Update can be found on our blog

生成 14376Build 14376

有关常规 Windows 上生成 14376 信息请访问Windows 博客For general Windows information on build 14376 visit the Windows Blog.

固定Fixed

  • 删除某些情况下其中的 apt-get 挂起 (GH #493)Removed some instances where apt-get hangs (GH #493)
  • 修复了在其中空装载了无法正确处理Fixed an issue where empty mounts were not handled correctly
  • 修复了在其中 ramdisks 未正确安装Fixed an issue where ramdisks were not mounted correctly
  • 更改 unix 套接字接受以支持标志 (部分 GH #451)Change unix socket accept to support flags (partial GH #451)
  • 固定的常见网络相关 bluescreenFixed common network related bluescreen
  • 修复出现蓝屏时访问 /proc/ [pid] / 任务 (GH #523)Fixed bluescreen when accessing /proc/[pid]/task (GH #523)
  • 对于某些 pty 方案 (GH #488,#504) 的固定高 CPU 使用率Fixed high CPU utilization for some pty scenarios (GH #488, #504)
  • 其他 bug 修复和改进Additional bugfixes and improvements

生成 14371Build 14371

有关常规 Windows 上生成 14371 信息请访问Windows 博客For general Windows information on build 14371 visit the Windows Blog.

固定Fixed

  • 使用的 ptrace 时更正 SIGCHLD 和 wait() 计时争用Corrected timing race with SIGCHLD and wait() when using ptrace
  • 更正一些行为,当路径中含有尾随 / (GH #432)Corrected some behavior when paths have a trailing / (GH #432)
  • 修复了重命名/取消关联由于打开句柄子级而失败的问题Fixed issue with rename/unlink failing due to open handles to children
  • 其他 bug 修复和改进Additional bugfixes and improvements

生成 14366Build 14366

有关常规 Windows 上生成 14366 信息请访问Windows 博客For general Windows information on build 14366 visit the Windows Blog.

固定Fixed

  • 修复中通过符号链接的文件创建Fix in file creation through symlinks
  • 用于 Python (GH 385) 添加了的 listxattrAdded listxattr for Python (GH 385)
  • 其他 bug 修复和改进Additional bugfixes and improvements

支持 SyscallSyscall Support

  • 下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

listxattr

版本 14361Build 14361

有关常规 Windows 内部版本 14361 信息请访问Windows 博客For general Windows information on build 14361 visit the Windows Blog.

固定Fixed

  • 在中的 Bash 在 Ubuntu 上运行在 Windows 上时,DrvFs 现区分大小写。DrvFs is now case sensitive when running in Bash on Ubuntu on Windows.
    • 用户可能 case.txt 和用例。TXT 上其/mnt/c 驱动器Users may case.txt and CASE.TXT on their /mnt/c drives
    • Bash on Ubuntu 上 Windows 仅支持区分大小写。Case sensitivity is only supported within Bash on Ubuntu on Windows. 当 Bash NTFS 的外部将报表文件正确,但可能发生意外的行为与 Windows 中的文件进行交互。When outside of Bash NTFS will report the files correctly, but unexpected behavior may occur interacting with the files from Windows.
    • 每个卷 (即 /mnt/c) 的根目录不区分大小写The root of each volume (i.e. /mnt/c) is not case sensitive
    • 可在处理这些文件在 Windows 中的详细信息此处More information on handling these files in Windows can be found here.
  • 大大增强 pty / tty 支持。Greatly enhanced pty / tty support. 应用程序,如 TMUX 现在支持 (GH #40)Applications like TMUX now supported (GH #40)
  • 不是始终创建用户帐户的固定的安装问题Fixed install issue where user accounts not always created
  • 优化允许相当长参数列表的命令行参数结构。Optimized command line arg structure allowing for extremely long argument list. (GH #153)(GH #153)
  • 现在可以删除和 chmod read_only 文件从 DrvFsNow able to delete and chmod read_only files from DrvFs
  • 修复了某些情况下,在终端挂起断开连接 (GH #43)Fixed some instances where the terminal hangs on disconnect (GH #43)
  • chmod 和 chown 现在在 tty 设备上工作chmod and chown now work on tty devices
  • 允许连接到 0.0.0.0 和:: 为本地主机 (GH #388)Allow connection to 0.0.0.0 and :: as localhost (GH #388)
  • Sendmsg/recvmsg 现在处理的 IO 向量长度 > 1 (部分 GH #376)Sendmsg/recvmsg now handle an IO vector length of >1 (partial GH #376)
  • 用户可以立即选择退出自动生成的主机文件 (GH #398)Users can now opt-out of auto-generated hosts file (GH #398)
  • 自动与 Linux 为 NT 区域设置的区域设置匹配 (GH #11) 安装过程Automatically match Linux locale to the NT locale during install (GH #11)
  • 添加 /proc/sys/vm/swappiness 文件 (GH #306)Added the /proc/sys/vm/swappiness file (GH #306)
  • 跟踪来现在正常退出strace now exits correctly
  • 允许通过 /proc/self/fd (GH #222) 重新打开管道Allow pipes to be reopened through /proc/self/fd (GH #222)
  • 隐藏 %LOCALAPPDATA%\lxss 从 DrvFs (GH #270) 下的目录Hide directories under %LOCALAPPDATA%\lxss from DrvFs (GH #270)
  • 更好地处理 bash.exe ~。Better handling of bash.exe ~. 命令,如"bash ~-c ls"现在支持 (GH #467)Commands like “bash ~ -c ls” now supported (GH #467)
  • 套接字现在当 epoll 读取期间关闭 (GH #271) 可用Sockets now notify epoll read available during shutdown (GH #271)
  • lxrun / 卸载更好地删除文件和文件夹lxrun /uninstall does a better job of deleting the files and folders
  • 已更正的 ps-f (GH #246)Corrected ps -f (GH #246)
  • 改进了对 x11 支持应用程序,例如 xEmacs (GH #481)Improved support for x11 apps such as xEmacs (GH #481)
  • 已更新初始线程堆栈大小,使之与默认 Ubuntu 设置和向 get_rlimit syscall (GH #172,#258) 正确报告大小Updated initial thread stack size to match default Ubuntu setting and reporting the size correctly to the get_rlimit syscall (GH #172, #258)
  • 改进了 pico 进程映像名称 (例如,用于审核) 的报告Improved reporting of pico process image names (e.g., for auditing)
  • 实现的 /proc/mountinfo df 命令Implemented /proc/mountinfo for df command
  • 修复子名称的符号链接错误代码。Fixed symlink error code for child name . 和...and ..
  • 其他改进 bug 修复和改进Additional improvements bugfixes and improvements

支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

GETTIMER
MKNODAT
RENAMEAT
SENDFILE
SENDFILE64
SYNC_FILE_RANGE

生成 14352Build 14352

有关常规 Windows 上生成 14352 信息请访问Windows 博客For general Windows information on build 14352 visit the Windows Blog.

固定Fixed

  • 其中较大的文件是未下载 / 正确创建的已修复的问题。Fixed issue where large files were not downloaded / created correctly. 这应取消阻止 npm 和其他方案 (GH #3,GH #313)This should unblock npm and other scenarios (GH #3, GH #313)
  • 删除某些情况下,套接字会挂起Removed some instances where sockets hang
  • 更正了一些的 ptrace 错误Corrected some ptrace errors
  • 已修复的问题 WSL 允许文件名长度超过 255 个字符Fixed issue with WSL allowing filenames longer than 255 characters
  • 改进了对非英语字符支持Improved support for non-English characters
  • 添加当前 Windows 时区数据并将设置为默认值Add current Windows timezone data and set as default
  • 唯一的设备 id 的每个装入点 (jre 修复 – GH #49)Unique device id’s for each mount point (jre fix – GH #49)
  • 更正问题与包含的路径"。"Correct issue with paths containing “.” 和".."and “..”
  • 添加了先进先出的支持 (GH #71)Added Fifo support (GH #71)
  • Resolv.conf,与本机 Ubuntu 格式匹配的更新的格式Updated format of resolv.conf to match native Ubuntu format
  • 一些 procfs 清理Some procfs cleanup
  • 管理员控制台 (GH #18) 的已启用的 pingEnabled ping for Administrator consoles (GH #18)

支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

FALLOCATE
EXECVE
LGETXATTR
FGETXATTR

生成 14342Build 14342

常规的 Windows 上的信息生成 14342 Windows 博客For general Windows information on build 14342 the Windows Blog.

VolFs 和 DriveFs 信息可能位于WSL 博客Information on VolFs and DriveFs can be found on the WSL Blog.

固定Fixed

  • 修复 Windows 用户的用户名具有 Unicode 字符时安装的问题Fixed install issue when the Windows user had Unicode characters in the username
  • 默认情况下,首次运行时现在提供常见问题解答中的 apt-get 更新 udev 解决方法The apt-get update udev workaround in the FAQ is now provided by default on first run
  • 启用 DriveFs 中的符号链接 (/mnt/) 目录Enabled symlinks in DriveFs (/mnt/) directories
  • 符号链接现在 DriveFs 和 VolFs 之间工作Symlinks now work between DriveFs and VolFs
  • 分析问题的寻址顶部级别路径: ls。 / / 现在按预期方式工作Addressed top level path parsing issue: ls .// will now work as expected
  • npm 安装上 DriveFs 和-g 选项目前正在处理npm install on DriveFs and the -g options are now working
  • 修复了阻止 PHP 服务器启动的问题Fixed issue preventing PHP server from launching
  • 更新的默认环境值,例如 $PATH 以更接近匹配本机 UbuntuUpdated default environment values, such as $PATH to closer match native Ubuntu
  • 在 Windows 更新 apt 包缓存中添加一个每周维护任务Added a weekly maintenance task in Windows to update the apt package cache
  • ELF 标头验证修复的问题,WSL 现在支持所有 Melkor 选项Fixed issue with ELF header validation, WSL now supports all Melkor options
  • Zsh shell 是功能Zsh shell is functional
  • 现在支持预编译转到二进制文件Precompiled Go binaries are now supported
  • 在首次运行 Bash.exe 上提示现已正确本地化Prompting on Bash.exe first run is now localized correctly
  • /proc/meminfo 现在返回正确的信息/proc/meminfo now returns correct information
  • 套接字 VFS 中现在支持Sockets now supported in VFS
  • /dev 现在已装载为 tempfs/dev now mounted as tempfs
  • 现在支持先进先出Fifo now supported
  • 多核系统现在/proc/cpuinfo 中正确显示Multi-core systems now showing correctly in /proc/cpuinfo
  • 其他改进和下载在首次运行期间的错误消息Additional improvements and error messages downloading during first run
  • Syscall 改进和 bug 修复。Syscall improvements and bugfixes. 支持的 syscall 下面的列表。Supported syscall list below.
  • 其他 bug 修复和改进Additional bugfixes and improvements

已知问题Known Issues

  • 未解决...Not resolving ‘..’ 在某些情况下 DriveFs 上正确correctly on DriveFs in some cases

支持 SyscallSyscall Support

下面是一系列新的或增强 syscall WSL 中具有一些实现的。Below are a list of new or enhanced syscalls that have some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

FCHOWNAT
GETEUID
GETGID
GETRESUID
GETXATTR
PTRACE
SETGID
SETGROUPS
SETHOSTNAME
SETXATTR

生成 14332Build 14332

有关常规 Windows 上生成 14332 信息请访问Windows 博客For general Windows information on build 14332 visit the Windows Blog.

固定Fixed

  • 更好地 resolv.conf 生成包括确定优先级 DNS 条目Better resolv.conf generation including prioritizing DNS entries
  • 移动文件和目录之间 /mnt 和非问题-/ mnt 驱动器Issue with moving files and directories between /mnt and non-/mnt drives
  • 现在可以使用符号链接创建的 tar 文件Tar files can now be created with symlinks
  • 添加了的默认 /run/lock 目录上创建实例Added default /run/lock directory on instance creation
  • 更新 /dev/null 时要返回正确的状态信息Update /dev/null to return proper stat info
  • 下载期间首次运行时的其他错误Additional errors when downloading during first run
  • Syscall 改进和 bug 修复。Syscall improvements and bugfixes. 支持的 syscall 下面的列表。Supported syscall list below.
  • 其他改进 bug 修复和改进Additional improvements bugfixes and improvements

支持 SyscallSyscall Support

下面是在 WSL 中具有一些实现新 syscall。Below is the new syscall that has some implementation in WSL. 在此列表上的 syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。The syscall on this list is supported in at least one scenario, but may not have all parameters supported at this time.

READLINKAT

内部版本 14328Build 14328

有关常规 Windows 上生成 14332 信息请访问Windows 博客For general Windows information on build 14332 visit the Windows Blog.

新功能New Features

  • 现在支持 Linux 用户。Now support Linux users. 在 Windows 上的 Ubuntu 上安装 Bash 会提示创建的 Linux 用户。Installing Bash on Ubuntu on Windows will prompt for creation of a Linux user. 有关详细信息,请访问 https://aka.ms/wslusersFor more information, visit https://aka.ms/wslusers
  • 主机名现在设置为 Windows 计算机名称,没有更多 @localhostHostname is now set to the Windows computer name, no more @localhost
  • 有关详细信息内部版本 14328,请访问: https://aka.ms/wip14328For more information on build 14328, visit: https://aka.ms/wip14328

固定Fixed

  • 非 /mnt/ 的符号链接改进文件Symlink improvements for non /mnt/ files
    • npm 安装现在的工作原理npm install now works
    • jdk / 现在可安装的 jre 使用找到的说明此处jdk / jre now installable using instructions found here.
    • 已知问题: 对于 Windows 装载符号链接不起作用。known issue: symlinks do not work for Windows mounts. 可在更高版本中的功能Functionality will be available in a later build
  • top 和 htop 现在会显示top and htop now display
  • 对于某些其他错误消息安装失败Additional error messages for some install failures
  • Syscall 改进和 bug 修复。Syscall improvements and bugfixes. 支持的 syscall 下面的列表。Supported syscall list below.
  • 其他改进 bug 修复和改进Additional improvements bugfixes and improvements

支持 SyscallSyscall Support

下面是在 WSL 中有一些实现 syscall 的列表。Below is a list of syscalls that have some implementation in WSL. 在此列表上的 Syscall 支持在至少一个方案中,但可能不具有所有参数都支持这一次。Syscalls on this list are supported in at least one scenario, but may not have all parameters supported at this time.

ACCEPT
ACCEPT4
ACCESS
ALARM
ARCH_PRCTL
BIND
BRK
CAPGET
CAPSET
CHDIR
CHMOD
CHOWN
CLOCK_GETRES
CLOCK_GETTIME
CLOCK_NANOSLEEP
CLONE
CLOSE
CONNECT
CREAT
DUP
DUP2
DUP3
EPOLL_CREATE
EPOLL_CREATE1
EPOLL_CTL
EPOLL_WAIT
EVENTFD
EVENTFD2
EXECVE
EXIT
EXIT_GROUP
FACCESSAT
FADVISE64
FCHDIR
FCHMOD
FCHMODAT
FCHOWN
FCHOWNAT
FCNTL64
FDATASYNC
FLOCK
FORK
FSETXATTR
FSTAT64
FSTATAT64
FSTATFS64
FSYNC
FTRUNCATE
FTRUNCATE64
FUTEX
GETCPU
GETCWD
GETDENTS
GETDENTS64
GETEGID
GETEGID16
GETEUID
GETEUID16
GETGID
GETGID16
GETGROUPS
GETPEERNAME
GETPGID
GETPGRP
GETPID
GETPPID
GETPRIORITY
GETRESGID
GETRESGID16
GETRESUID
GETRESUID16
GETRLIMIT
GETRUSAGE
GETSID
GETSOCKNAME
GETSOCKOPT
GETTID
GETTIMEOFDAY
GETUID
GETUID16
GETXATTR
GET_ROBUST_LIST
GET_THREAD_AREA
INOTIFY_ADD_WATCH
INOTIFY_INIT
INOTIFY_RM_WATCH
IOCTL
IOPRIO_GET
IOPRIO_SET
KEYCTL
KILL
LCHOWN
LINK
LINKAT
LISTEN
LLSEEK
LSEEK
LSTAT64
MADVISE
MKDIR
MKDIRAT
MKNOD
MLOCK
MMAP
MMAP2
MOUNT
MPROTECT
MREMAP
MSYNC
MUNLOCK
MUNMAP
NANOSLEEP
NEWUNAME
OPEN
OPENAT
PAUSE
PERF_EVENT_OPEN
PERSONALITY
PIPE
PIPE2
POLL
PPOLL
PRCTL
PREAD64
PROCESS_VM_READV
PROCESS_VM_WRITEV
PSELECT6
PTRACE
PWRITE64
READ
READLINK
READV
REBOOT
RECV
RECVFROM
RECVMSG
RENAME
RMDIR
RT_SIGACTION
RT_SIGPENDING
RT_SIGPROCMASK
RT_SIGRETURN
RT_SIGSUSPEND
RT_SIGTIMEDWAIT
SCHED_GETAFFINITY
SCHED_GETPARAM
SCHED_GETSCHEDULER
SCHED_GET_PRIORITY_MAX
SCHED_GET_PRIORITY_MIN
SCHED_SETAFFINITY
SCHED_SETPARAM
SCHED_SETSCHEDULER
SCHED_YIELD
SELECT
SEND
SENDMMSG
SENDMSG
SENDTO
SETDOMAINNAME
SETGID
SETGROUPS
SETHOSTNAME
SETITIMER
SETPGID
SETPRIORITY
SETREGID
SETRESGID
SETRESUID
SETREUID
SETRLIMIT
SETSID
SETSOCKOPT
SETTIMEOFDAY
SETUID
SETXATTR
SET_ROBUST_LIST
SET_THREAD_AREA
SET_TID_ADDRESS
SHUTDOWN
SIGACTION
SIGALTSTACK
SIGPENDING
SIGPROCMASK
SIGRETURN
SIGSUSPEND
SOCKET
SOCKETCALL
SOCKETPAIR
SPLICE
STAT64
STATFS64
SYMLINK
SYMLINKAT
SYNC
SYSINFO
TEE
TGKILL
TIME
TIMERFD_CREATE
TIMERFD_GETTIME
TIMERFD_SETTIME
TIMES
TKILL
TRUNCATE
TRUNCATE64
UMASK
UMOUNT
UMOUNT2
UNLINK
UNLINKAT
UNSHARE
UTIME
UTIMENSAT
UTIMES
VFORK
WAIT4
WAITPID
WRITE
WRITEV