Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4300298yba; Mon, 29 Apr 2019 17:41:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLpgNixteNcOCCUXHF+HILDA+FO3n1EeZgo87mDbND3IDaaHRyOB/T6dMFAxJRPDGyMxVZ X-Received: by 2002:a63:42:: with SMTP id 63mr4466710pga.337.1556584897326; Mon, 29 Apr 2019 17:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556584897; cv=none; d=google.com; s=arc-20160816; b=X8ipuBUOEqpWQFmI56Z2+AtJap0tLD3/g1+CvPX2zfFQ/38Hh3ddytnjqNQMG+pw7h GWC5EJAPXVrr9akgLTcl2+9GA+iudMDQQWSDIcYUZ0lAq60IngVS9TxvHOecW78j7nbG zk/qEUz/pGSEeOZHF90qD8kHCSpTCY4AkqsqafIwl/xQsWAXgUL503LMSSWW2TWT5URl 9YD9wHYrH2sWfK4OoFBkQv3JJ1XKXnrFET8bfBPztkVA2sbNfWEHE0Qa9SlOLzzCaoyq 96QnjqMK5SfwfR9kFH0L/6/kJRlXPXJuIRnZ4d6PhIQMe/XdlqvSHkxX0trMeuLW9wvG OR5w== 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=CgTZ/3K30VQ7Yy+pkC8aq78l5d1oLQkhIepKaWoCAis=; b=B2QxrQruJMJNi6lvb9CIW4/b4XUwACYY8NH7emv3X1OG7u7IfpJt15snfXJpVEgF1d PUF4h9V1HxIceIrysPipyI2RVnUZsPOdlDNDAe+C+FQe7HXNjrvTRwDRAeKycFwuyroL AP0gUzyByZg9vA4Tqstn5/S3h29qFIO2QvvDQHjl/mGQA5K58laq2XT+EY/3qFwDBB6A w8ND7p+q3qg9Gb+yaVrDXdk/ynShwyaAXFLsbnh8S/vig10GvAdSvai6uHOPCbaUESxi 83//aAG8OK5cIHRQK/Nn+2lf0TlmyOtsXxOte/lb1TQ9TG+e13D6kJdw5LyrkLGd4ved 3JkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hDbhNhUU; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 102si24684442plc.239.2019.04.29.17.41.21; Mon, 29 Apr 2019 17:41:37 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=hDbhNhUU; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729716AbfD3AjE (ORCPT + 99 others); Mon, 29 Apr 2019 20:39:04 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:44054 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729238AbfD3AjE (ORCPT ); Mon, 29 Apr 2019 20:39:04 -0400 Received: by mail-ot1-f65.google.com with SMTP id d24so10357921otl.11 for ; Mon, 29 Apr 2019 17:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CgTZ/3K30VQ7Yy+pkC8aq78l5d1oLQkhIepKaWoCAis=; b=hDbhNhUUvtz91pYUFmj6nfFXK8CKr5RbKdQxwq4t9TgTcelkeWGGBkCFCVn1roCGTY 5gCaEeHjrUe+44R/9CUFSnxJsPyMbN5Yedvj+K0BJcQoz7xv9AK4lWxoXOjtD7txq1FR IszJWlRcxRV66h+r/Q1aUkJur2mIkSYoeRYsk2r9OkuYs0zmliDeHL1b2PKeL/oj+E+k SF55kopRV66yIgAmst000r/FAqTIuVGN7MDzN/5QyzEK9PpLIe59lTC21+Nh1T4XDCBL 7Gm2HOK/pKO+Eq6hW+L1OokwwwjUfFbbrqHdUo/bWpsB2Sj1fjd0KHaYbnHcocOicwY9 WlHg== 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=CgTZ/3K30VQ7Yy+pkC8aq78l5d1oLQkhIepKaWoCAis=; b=ZLgMKh0U5EVsDb4nim6/driiBCPkZBW1tFKvO/os5gza8p5/jCZDhUA6UXzlloRnO3 7B+QqwzmdRnpts88faGWGMgHSKW8v/ZMR6YQHPy7jRT7WmqsqXXq0iMiDq1Wun+h4mjR IX9e4iLbbUe1MnQuzE+R2hRLPEZu3LZ6pJLFAe5FrKgKxwqO8kI4Ax7oPfLIOup6PaAH RrRsI49x+CW+cwOwN1PahPtCGSoS2A2XXeCJtE9e70h69H3x4CT1GRA2yjzZecNuRAi8 rB8hVb5wwqzUhhBTyQQp0a0xzLU0IB9eiKEjIT1OZsbademjHSqo/6dqGEYS30/6zql9 +arQ== X-Gm-Message-State: APjAAAWVETzcrUU9C6T9h3Yqr0t5L0T6CA/VCvIHoIeUyo+a71JsKPBb kR/a0/i8jlmq56VAwbWbLxefmIFNlw+Wy31R5DQkpQ== X-Received: by 2002:a9d:6748:: with SMTP id w8mr6113811otm.198.1556584743486; Mon, 29 Apr 2019 17:39:03 -0700 (PDT) MIME-Version: 1.0 References: <20190414201436.19502-1-christian@brauner.io> <20190415195911.z7b7miwsj67ha54y@yavin> <20190420071406.GA22257@ip-172-31-15-78> In-Reply-To: From: Jann Horn Date: Mon, 29 Apr 2019 20:38:36 -0400 Message-ID: Subject: Re: RFC: on adding new CLONE_* flags [WAS Re: [PATCH 0/4] clone: add CLONE_PIDFD] To: Linus Torvalds Cc: Kevin Easton , Andy Lutomirski , Christian Brauner , Aleksa Sarai , "Enrico Weigelt, metux IT consult" , Al Viro , David Howells , Linux API , LKML , "Serge E. Hallyn" , Arnd Bergmann , "Eric W. Biederman" , Kees Cook , Thomas Gleixner , Michael Kerrisk , Andrew Morton , Oleg Nesterov , Joel Fernandes , Daniel Colascione 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 Mon, Apr 29, 2019 at 4:21 PM Linus Torvalds wrote: > > On Mon, Apr 29, 2019 at 12:55 PM Jann Horn wrote: > > > > ... I guess that already has a name, and it's called vfork(). (Well, > > except that the Linux vfork() isn't a real vfork().) > > What? > > Linux vfork() is very much a real vfork(). What do you mean? ... uuuh, whoops. Turns out I don't know what I'm talking about. Nevermind. For some reason I thought vfork() was just CLONE_VFORK|SIGCHLD, but now I see I got that completely wrong.