Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2341341pxa; Fri, 7 Aug 2020 08:52:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykhK/hZP2SNTOInXjSZsU7N/z3OoLqIKhrTZR62E/Fp+oBS3BoVV3p9f4manebm+D6dM+B X-Received: by 2002:aa7:de09:: with SMTP id h9mr9180700edv.277.1596815553305; Fri, 07 Aug 2020 08:52:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596815553; cv=none; d=google.com; s=arc-20160816; b=0P169k55YNWBjw0IZsXEZbkCQm6X/g0Zvmo3odGc22kNhsZ9Q81lAANb9BMtU1sJEs pfYmpjQ8UCX7XgzTTbd7C90uPdTe2g57pZe514sbDT2hGZjqNE7vJnIPM+Tcng5GqjH5 cL/HXxAbzHB6l7E26VidcvCaiAHBnrcMZydCBbztnGaqB/6yWdB0ku5vfZvQcRmqu2Pk MLJffRm9edYfafOJVaCY0G8axjOOqLGTQ+c/IpmFD1yjVGQzRbWYwA+PI1mNNcRiPp8W OQ9YxRDOmXMmfYYmhbC6d1XHnYUkvT3YkRxW7qkcpZb/DATlon0oBcEuGyShJN8U4mtm i72Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nW9gy27inwpkC+1GYPEkBMTfy+lAqJwHqmAyLxbBUQM=; b=oPdadiA/BfwDGnXzfCRhu1y/klq9cfgg5KlAN6jqkMkAcy8ops93SRjc5i/LH3iY0s sHrE+u4xln5K5JVfCUIIEBYC+4WYz5Cfa2BelX3r1821sW6QUNhJqlZeP5VnuvGVCPwG TX5IXhI8MyKQUY/cItprQIouy7+vnHYG0nt6lPyt0XwfiRNnGhUOkS6rfA/mSgRy8yvR Z3e8cRb8Tn22x7l9Fa8B1vTjFyjLpYlhcbPZ4uoDok29HPenMIN0Cx12Qhlr5vf4MmAL WGxgLbtnEbu6qGNh6Z7ub8G0oYzeuVLpctjYdsDt3GIzYXB7bzfbercpx2T9zNplq/z8 Mzow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=g8L6ASPo; 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 a6si5261901edr.403.2020.08.07.08.52.10; Fri, 07 Aug 2020 08:52:33 -0700 (PDT) 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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=g8L6ASPo; 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 S1726644AbgHGPtI (ORCPT + 99 others); Fri, 7 Aug 2020 11:49:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgHGPtH (ORCPT ); Fri, 7 Aug 2020 11:49:07 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81CFDC061756 for ; Fri, 7 Aug 2020 08:49:07 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id 185so2697512ljj.7 for ; Fri, 07 Aug 2020 08:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nW9gy27inwpkC+1GYPEkBMTfy+lAqJwHqmAyLxbBUQM=; b=g8L6ASPoD/SmN3mLEDH+wI5dwvr9ep/kObCJHvGkDE0FeYvDsrBej+Mq/yCHPL+651 Xgckegp1goMEN5E+bp4qlt3yuX/21WZQNb58ka+OcZxIkYi5tlwrtWXFwhxFcwOoXUag ASepnoVUfEocQ7C/wpoIZMZlR/HjpIrE2/Nng= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nW9gy27inwpkC+1GYPEkBMTfy+lAqJwHqmAyLxbBUQM=; b=D2VuuaIzEvVRdEVLPDqazQKCLotKxBPNLJDZEC7xExARQaE4K/JQpYanuA+TGPpzcA hwhGYFTvN80y2xq9E8i7ZeFh1i2V4T2gnnfwyKGPK3bPjaqL2KJot8yja6NQDYgawxym nmmpdjFGCkek0wS3caC7oCT8jCPQt7kcFi8MiIYkDz3VI1n0hHiLG4FR9f+msZbEjhK4 fPAtqWjYwrzXMOupDFwGI3/jWStsNJIzob6o/n+9ck5vCe8ynwfr8Bpuk0c7vN0nJVk+ eUPGqnwcoyBKbDpHV7gmooCq6BDNTQHDbVcHX5DAJPy6bPU27G6NT7qb8HI5noFYgh0r 3BDw== X-Gm-Message-State: AOAM531hJT2wHQs54ZRyNZD7mudWx1iwufskIWCUbipjHDqSNyAaWayD xB6b58TxIh+8DxXCMiCs/Ds2LDmb+Uw= X-Received: by 2002:a2e:91d2:: with SMTP id u18mr6913815ljg.436.1596815344612; Fri, 07 Aug 2020 08:49:04 -0700 (PDT) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com. [209.85.208.173]) by smtp.gmail.com with ESMTPSA id 9sm4313560lff.82.2020.08.07.08.49.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Aug 2020 08:49:03 -0700 (PDT) Received: by mail-lj1-f173.google.com with SMTP id v9so2698680ljk.6 for ; Fri, 07 Aug 2020 08:49:02 -0700 (PDT) X-Received: by 2002:a2e:7615:: with SMTP id r21mr6222774ljc.371.1596815342274; Fri, 07 Aug 2020 08:49:02 -0700 (PDT) MIME-Version: 1.0 References: <1596812929.lz7fuo8r2w.none.ref@localhost> <1596812929.lz7fuo8r2w.none@localhost> In-Reply-To: <1596812929.lz7fuo8r2w.none@localhost> From: Linus Torvalds Date: Fri, 7 Aug 2020 08:48:46 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: wine fails to start with seccomp updates for v5.9-rc1 To: "Alex Xu (Hello71)" Cc: Kees Cook , Linux Kernel Mailing List , Aleksa Sarai , Chris Palmer , Christian Brauner , Christoph Hellwig , Matt Denton , Robert Sesek , Thadeu Lima de Souza Cascardo , Sargun Dhillon , Shuah Khan , Tycho Andersen , Will Deacon , Will Drewry , Yonghong Song Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 7, 2020 at 8:19 AM Alex Xu (Hello71) wrote: > > On Linus' master, wine fails to start with the following error: > > wine client error:0: write: Bad file descriptor > > This issue is not present on 5.8. It appears to be caused by failure to > write to a pipe FD received via SCM_RIGHTS. Therefore, I tried reverting > 9ecc6ea491f0, which resolved the issue. Would you mind trying to bisect exactly where it happens? I don't think any of the commits in that pull are supposed to change semantics, and while reverting the whole merge shows that yes, that's what brought in the problems, it would be good to pinpoint just which change breaks so that we can fix just that thing. Kees, ideas? Linus