Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4490129ybz; Tue, 28 Apr 2020 12:11:44 -0700 (PDT) X-Google-Smtp-Source: APiQypLR3vYcoLLi3nXQXQA6Ql/IYp0arKBPe1Q7tzgvAyOCeEjxKg7am1gm5OCS5jE86wGCGksy X-Received: by 2002:aa7:c0d2:: with SMTP id j18mr24575255edp.283.1588101104338; Tue, 28 Apr 2020 12:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588101104; cv=none; d=google.com; s=arc-20160816; b=oVhAhdiX+OBJ+A9RHuVwJpQG015UDOBgRtLdNyO6VrleAIdiS6dzwQrTM0/Kp2YgSu Uyw59dfvk11innjg34kgsqQKEHdP5le96Lk2EbYDFodC2oGOPW3cy6vK7QxVT3+FKRUM Zs7TsPQKkpveBLjUsLrMVw8ozQHDFV5D50JGoJwdBVUniqk7fMdVyDW67BIBO4QGy7yu 2L2rS6JxA/P0vUykIQqPzHDhkG2BYdw6EbNnu+YBkp42gBOY24KPC82Jv7cwr1aY/1MC bErhSRmlgILX10Z6tkN/Wr6uWVh5rW4XgGIDB2jUiTyzQnsZz6zK/WWJivfMJtKn927H uxHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DmkRvjwC+u8+jIYVrru4c5dbjRS9yf05sZWdTQ7YeX0=; b=IKCf8rvifIKWAd+/SBnxZgvG2x5bC9jM2SMaAo8+WssS46rTiXK8AdnFu71yUT/ssa nCVeB0p6mDHnUC/JS6W4LXy8I3YaB2Ig4NzQDN5wi3JR2xizK6Fbdf2k3f8BmBsskwm9 kwUTCSkcBOIYPQEL4j8oo4zRyksW0+B/sA+qe6kfkJOc9rbx8J5aUQwaYxwP0ilNJP5v jVU+yflGEfu77ZOZKmNQE1H3aczqL7sK2uYFGorOlY1VmsizxLbNLkFt0R/aSFu4M4Sj y13WY2FbaFpi1oOC14GWU3Cz0WFsnf//mYfmb3TmBz2nqg+Axzzt+IANoliSffQU5zuY duUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iU4A37lz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e23si2125819edy.578.2020.04.28.12.11.19; Tue, 28 Apr 2020 12:11:44 -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=@redhat.com header.s=mimecast20190719 header.b=iU4A37lz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728766AbgD1TIy (ORCPT + 99 others); Tue, 28 Apr 2020 15:08:54 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:47397 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728643AbgD1TIx (ORCPT ); Tue, 28 Apr 2020 15:08:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588100930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DmkRvjwC+u8+jIYVrru4c5dbjRS9yf05sZWdTQ7YeX0=; b=iU4A37lzPgyn4ckDsU2JB5vV5HWRGagezU77tj58TPmUMc2IhGIykduULzMBpNvicPJfMG aH6lTQzQBBI62Z0KOtsWbdOLELIyUWOZ/AsOK50yt9gCvM2ECu0RXD3fTemIAVKob6Zvcq JILDWzi+L5+x6A1BAfqLISIh+XiTW98= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-313-fJURyZAzM7mNEkkjzKzvDg-1; Tue, 28 Apr 2020 15:08:44 -0400 X-MC-Unique: fJURyZAzM7mNEkkjzKzvDg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 18F82107ACCD; Tue, 28 Apr 2020 19:08:43 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.40.192.231]) by smtp.corp.redhat.com (Postfix) with SMTP id 0DA2160CD3; Tue, 28 Apr 2020 19:08:37 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Tue, 28 Apr 2020 21:08:42 +0200 (CEST) Date: Tue, 28 Apr 2020 21:08:37 +0200 From: Oleg Nesterov To: Linus Torvalds , Jann Horn Cc: Bernd Edlinger , "Eric W. Biederman" , Waiman Long , Ingo Molnar , Will Deacon , Linux Kernel Mailing List , Alexey Gladkov Subject: Re: [GIT PULL] Please pull proc and exec work for 5.7-rc1 Message-ID: <20200428190836.GC29960@redhat.com> References: <87imi8nzlw.fsf@x220.int.ebiederm.org> <20200411182043.GA3136@redhat.com> <20200412195049.GA23824@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/28, Linus Torvalds wrote: > > On Mon, Apr 27, 2020 at 7:56 PM Bernd Edlinger > wrote: > > > > was this resolved meanwhile? > > No. I think the tentative plan is to just apply Oleg's "don't wait for > zombie threads with cred_guard_mutex held" patch, hopefully with that > de_thread() moved into install_exec_creds() (right after the dropping > of the locks). Oops. I can update that old patch but somehow I thought there is a better plan which I don't yet understand... And, IIRC, Jan had some ideas how to rework the new creds calculation in execve paths to avoid the cred_guard_mutex deadlock? Oleg.