Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp806823ybz; Wed, 22 Apr 2020 08:20:04 -0700 (PDT) X-Google-Smtp-Source: APiQypLNtyKFGo+h4EmjHoE80PIiQfeRs3alxegcFpwtF+8pYks8N9mVb0JQrAX2NBfQ77Z1x4XU X-Received: by 2002:a05:6402:31b6:: with SMTP id dj22mr24264239edb.258.1587568804765; Wed, 22 Apr 2020 08:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587568804; cv=none; d=google.com; s=arc-20160816; b=Kti5MIMGwZVxWSMNDxn/zJeVnKHf/jYUlnOU36FHJ11wbdJtxPYmCePHyyQ6MJlu4L 19tvFWn2EOsy3/Syc0byDEJQeJoKpEA46DSIbDNNBAd3LFRUaLrec4PC5eQfbfqHf7+z kGqoBxkUxoikhTqIc5CO83sfAy/Ul5T3ZpZdCSjW3AXO6tQJL341bcseje026Hn0g1NU mxGKF83ds+fBGDy2794iAXDBpvlYd6LkTEqGkACJo4ccwSrrWnPv+CBF3ZwzT6Gov7av kjqE8SPgtMtXafJVfRzKqEvbJ6GjK5O+dqukdpPvgbOmELgIilFLxeBegXl4mtl3KGDe xyQg== 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 :dkim-signature; bh=pYMMSN8qhxK9Rkme8UcFyi4WlSIE2Qxdgi21qfoUXzU=; b=IbSKrC9k5tIg8Brk/aVPdVM1GWMShrVWTmgYwCB/XfHQbxWo14bOQ1wHMqlmZCDR7T TYHrMqYusu024xYM447wIvuBK0TR03FITV86C2Dsp0gzYBUc33/aAr0KLEKx65zGH6Hd 4Qh5hfdX9Mo2veCdWqntF242oYtbb8bMi3MzV/2QDvfQXDx483UOtX5Vl1V6fNhROwnh zPAcEaOXfLQ8Cv4IiyEpSZd67hgybvXd7XjiOFlusMCJOPhSFR+T8L1GGNp3lKK6WuHz K7VTeD3KtdULTbba/28hhTcUlciqhaeFIPbiFTKOTI+eR78XeNET2lTLfqC0G3QjWwU3 EpAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=aKOjeJ0E; 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 3si3752642ejz.2.2020.04.22.08.19.38; Wed, 22 Apr 2020 08:20:04 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=aKOjeJ0E; 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 S1726154AbgDVPS3 (ORCPT + 99 others); Wed, 22 Apr 2020 11:18:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbgDVPS3 (ORCPT ); Wed, 22 Apr 2020 11:18:29 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52849C03C1A9; Wed, 22 Apr 2020 08:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pYMMSN8qhxK9Rkme8UcFyi4WlSIE2Qxdgi21qfoUXzU=; b=aKOjeJ0EnyyUBEUDG+g8uMBCMN Z6szyzHcyTD5j+iI6i8Om8ipuaiO+0Rumq3HPRgleVpRRmsizL57viIfxH1LKC65p0/Bx4zJQRr5n shg+ispNIDtDBWB0bgwc9NNI6SzcUuo36IwRRylxJD6XinT+a/FnShF7L7vgJ+qQ6ym9ZYNR36Mcp JeXuW2v9NwqFxRSKlztPqjlLLBJBMokazFbW2ZCTdH5w70MJzwSnjAHwE/FokhDD8xoFAuoXFjy/i zHRC2a8lb/dwUwA4i8pZrk0jgufnPSR/9R4K0P3W8AQl6GxDBa6Xq8q/fW2MXv5+6PUhHh4xsuqtt jaSUEjXg==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jRH8h-0007XY-UX; Wed, 22 Apr 2020 15:18:15 +0000 Date: Wed, 22 Apr 2020 08:18:15 -0700 From: Matthew Wilcox To: Al Viro Cc: Nate Karstens , Jeff Layton , "J. Bruce Fields" , Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , Matt Turner , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Jakub Kicinski , linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Changli Gao Subject: Re: Implement close-on-fork Message-ID: <20200422151815.GT5820@bombadil.infradead.org> References: <20200420071548.62112-1-nate.karstens@garmin.com> <20200422150107.GK23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200422150107.GK23230@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 22, 2020 at 04:01:07PM +0100, Al Viro wrote: > On Mon, Apr 20, 2020 at 02:15:44AM -0500, Nate Karstens wrote: > > Series of 4 patches to implement close-on-fork. Tests have been > > published to https://github.com/nkarstens/ltp/tree/close-on-fork. > > > > close-on-fork addresses race conditions in system(), which > > (depending on the implementation) is non-atomic in that it > > first calls a fork() and then an exec(). > > > > This functionality was approved by the Austin Common Standards > > Revision Group for inclusion in the next revision of the POSIX > > standard (see issue 1318 in the Austin Group Defect Tracker). > > What exactly the reasons are and why would we want to implement that? > > Pardon me, but going by the previous history, "The Austin Group Says It's > Good" is more of a source of concern regarding the merits, general sanity > and, most of all, good taste of a proposal. > > I'm not saying that it's automatically bad, but you'll have to go much > deeper into the rationale of that change before your proposal is taken > seriously. https://www.mail-archive.com/austin-group-l@opengroup.org/msg05324.html might be useful