Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2767172ybh; Mon, 9 Mar 2020 12:34:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsmcz7Cw8KlMqIaVcjt4jO5Fxlj8Mf0thRbhq1BaQzdZEVnEFxiPUjPymSy8ngJxnzpOp1S X-Received: by 2002:a9d:6946:: with SMTP id p6mr2850493oto.224.1583782467200; Mon, 09 Mar 2020 12:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583782467; cv=none; d=google.com; s=arc-20160816; b=QU9yCneYVJbE87ls8cugi9baYButIAwgRnD0s/OmsukWnuiIV2oIhXydezJJQFWdUz qc2+ABvp2DgnCUkQsmViZql23zuI6h/rTO3rHt/hTuXoZ+vMuZGYQbzqnqDAn87L7GKT EunxscHHT3Y/jHuupRHpOTGK0xSM/g5CcppSrltu0b5FTLzRMB51R33/egcAbB4hgnRD VzmfI2YW4EE55Lx1+XOFJLci5c8YteLy6qYjbBkNwyh1VQepNFQxZHJTMnmzW5n0fZZG +yyKy/8vWpVHNW1FUV8qanAg4II4fY3EdDP+Ny4Fk5s6mq1msEPiY/6Q35xeNCvbnhvk et2w== 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=misDApBBY2b477yMN9sw63TTGKiWE5y24YzQGsryB9w=; b=j4wgYA0fAaQ5Dtz/k8DKDZNDP5yok2OqhVABvC0w/+B5RT1PK07qvmkNqSNXq/YTqt O6/vxlh0U6+ItsfUnIDNIRLJvTXIZedvYeRvBo1OdELeZyzEusqs9+rENmeY25U0ApDq PXHiXbnTVncgyusk2B2I0PreSg5ay+QSXsDb+vK0ZkWO31fQkH8f9IYezgmMy7fuXZeT aNiEND2oDUnXLmhvCXWpuSVOKvlR3dX5eILZWjnADhfK3BCAucTU06YSAhCMA3h0SiKN aCLDvO8ae8aI7lgD4V8ZuFYiN/+gQTC1Ciyi7+FWN3X7tucWCgzgLSIz+PDAgVsVaaeH YFAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x9si1400840oia.194.2020.03.09.12.34.12; Mon, 09 Mar 2020 12:34:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726283AbgCITdh (ORCPT + 99 others); Mon, 9 Mar 2020 15:33:37 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:50988 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbgCITdh (ORCPT ); Mon, 9 Mar 2020 15:33:37 -0400 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 7101872CCE7; Mon, 9 Mar 2020 22:33:33 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 2DD3B7CC7FF; Mon, 9 Mar 2020 22:33:33 +0300 (MSK) Date: Mon, 9 Mar 2020 22:33:33 +0300 From: "Dmitry V. Levin" To: "Eric W. Biederman" Cc: Bernd Edlinger , Christian Brauner , Kees Cook , Jann Horn , Jonathan Corbet , Alexander Viro , Andrew Morton , Alexey Dobriyan , Thomas Gleixner , Oleg Nesterov , Frederic Weisbecker , Andrei Vagin , Ingo Molnar , "Peter Zijlstra (Intel)" , Yuyang Du , David Hildenbrand , Sebastian Andrzej Siewior , Anshuman Khandual , David Howells , James Morris , Greg Kroah-Hartman , Shakeel Butt , Jason Gunthorpe , Christian Kellner , Andrea Arcangeli , Aleksa Sarai , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "stable@vger.kernel.org" , "linux-api@vger.kernel.org" Subject: Re: [PATCH v2 5/5] exec: Add a exec_update_mutex to replace cred_guard_mutex Message-ID: <20200309193332.GA13534@altlinux.org> References: <87v9ne5y4y.fsf_-_@x220.int.ebiederm.org> <87zhcq4jdj.fsf_-_@x220.int.ebiederm.org> <878sk94eay.fsf@x220.int.ebiederm.org> <87r1y12yc7.fsf@x220.int.ebiederm.org> <87k13t2xpd.fsf@x220.int.ebiederm.org> <87d09l2x5n.fsf@x220.int.ebiederm.org> <871rq12vxu.fsf@x220.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871rq12vxu.fsf@x220.int.ebiederm.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 09, 2020 at 02:02:37PM -0500, Eric W. Biederman wrote: > Bernd Edlinger writes: > > > On 3/9/20 7:36 PM, Eric W. Biederman wrote: > >> > >> > >> Does that sound better? > >> > > > > almost done. > > I think this text is finally clean. > > exec: Add exec_update_mutex to replace cred_guard_mutex > > The cred_guard_mutex is problematic as it is held over possibly > indefinite waits for userspace. The possilbe indefinite waits for -------------------------------------------^^^^^^^^ possible? -- ldv