Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1582789pxb; Fri, 13 Nov 2020 17:22:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhZLYumLB+3lI1KMptsVuVPyM9MmZHZweOmtRDf6qNHzY4RWYP/nyQvyZ7SG93655z5408 X-Received: by 2002:a17:906:4057:: with SMTP id y23mr4475189ejj.299.1605316933484; Fri, 13 Nov 2020 17:22:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605316933; cv=none; d=google.com; s=arc-20160816; b=Mm2F27SAznHD5U9cyGmZ9cBXNOC680+LQIURt+vIYhqr5YtVDXE5mHrrTpLS2hi4lI 8OceW5spqlYzePcqGiDI1mc8LRzOmQrBghZ+EWEhYysJQjRIoZsbz4dby3w1KarvFy4x acbPjG4duJreXwxBU6r1q6BRoMyOloFmIpAsPju7hkDwlypICIn4Y9a8tpX1VD80h3Wc 6sXc4Esb6o/VQ687Gb2mm9D5wyUtzw3Ade1iFdHzvndyYVP3re8AlSe2CIS1a0Lyz8Ms 3DTKEPWU1YDOmNQFXOPNs61A59GALyMeNvhUvKtfY3QZxGUffGbQ6pdcTLUCS1f+UvOZ aPlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=PM+q2Kv+1kmjpDaCtm1UBxGChn7+g9UQTG6o0LLVpNU=; b=qRe2HhvuiWp09L9Qj9i9Ab3LQ3LqMUZlO2/An2MrHEZT8zudoA6AsPcvQpmHZaeX10 9+sOYNCwb+bLisisT1U7+3G1tTO6pdQxiq4i4ZzuFLxRI5RGRxjOr6g6hO4BPPDlg3Xh GFmWVLzOrI+q07fiBW9WW2c5eijOxxYDOJy259LWdnddJzbmuhlyYxaAvJ7NKH+GpRa4 1BEqep50JHoqtig3AhCyLQi55w0vjs3sXcFU8UXHujRkYKzSeTtze1uWVm4p/sn4MV1k 2e0aFH5Ps6ppuYy8Ct/w/5kUjQLIen7/4mxUDa5veNhbR8TGcNtksjsxIhdZAlRwnOhc 2Hcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si7017078ejx.273.2020.11.13.17.21.50; Fri, 13 Nov 2020 17:22:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726315AbgKNBR7 (ORCPT + 99 others); Fri, 13 Nov 2020 20:17:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgKNBR7 (ORCPT ); Fri, 13 Nov 2020 20:17:59 -0500 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC4CCC0613D1; Fri, 13 Nov 2020 17:17:58 -0800 (PST) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdkCQ-005Ux6-Bf; Sat, 14 Nov 2020 01:17:54 +0000 Date: Sat, 14 Nov 2020 01:17:54 +0000 From: Al Viro To: Nathan Chancellor Cc: Linus Torvalds , Christoph Hellwig , Greg KH , Alexey Dobriyan , linux-fsdevel , Linux Kernel Mailing List , kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org, linux-hyperv@vger.kernel.org Subject: Re: [PATCH 1/6] seq_file: add seq_read_iter Message-ID: <20201114011754.GL3576660@ZenIV.linux.org.uk> References: <20201104082738.1054792-1-hch@lst.de> <20201104082738.1054792-2-hch@lst.de> <20201110213253.GV3576660@ZenIV.linux.org.uk> <20201110213511.GW3576660@ZenIV.linux.org.uk> <20201110232028.GX3576660@ZenIV.linux.org.uk> <20201111215220.GA3576660@ZenIV.linux.org.uk> <20201111222116.GA919131@ZenIV.linux.org.uk> <20201113235453.GA227700@ubuntu-m3-large-x86> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201113235453.GA227700@ubuntu-m3-large-x86> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 04:54:53PM -0700, Nathan Chancellor wrote: > This patch in -next (6a9f696d1627bacc91d1cebcfb177f474484e8ba) breaks > WSL2's interoperability feature, where Windows paths automatically get > added to PATH on start up so that Windows binaries can be accessed from > within Linux (such as clip.exe to pipe output to the clipboard). Before, > I would see a bunch of Linux + Windows folders in $PATH but after, I > only see the Linux folders (I can give you the actual PATH value if you > care but it is really long). > > I am not at all familiar with the semantics of this patch or how > Microsoft would be using it to inject folders into PATH (they have some > documentation on it here: > https://docs.microsoft.com/en-us/windows/wsl/interop) and I am not sure > how to go about figuring that out to see why this patch breaks something > (unless you have an idea). I have added the Hyper-V maintainers and list > to CC in case they know someone who could help. Out of curiosity: could you slap WARN_ON(!iov_iter_count(iter)); right in the beginning of seq_read_iter() and see if that triggers?