Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2889063ybc; Thu, 14 Nov 2019 00:15:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxcp6ywvNq34WcpUqCnvI9Ifie+VyYQ+9rwiHHlLw4wa/lKfMx9AESyLnn71kVTGzit7sl5 X-Received: by 2002:aa7:db09:: with SMTP id t9mr8684452eds.171.1573719337163; Thu, 14 Nov 2019 00:15:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573719337; cv=none; d=google.com; s=arc-20160816; b=B+t90IJhpkTgRhEkvvLRpCnj+b0Gzt2cUlVXydWExx7kPG7BA8Jmt6NDOzM0PpT6WF OgSGwe95LFlpaGHZ9t3MAjZPT94uTLgjHX84D9X5WEct090tR8wnS2V4dliLZ2vMhJ/q 7YAVRo1YezkXovuwSE4DTfwX+018zmRpddAE/7ukHAC2zGPzCNteVZTmMQsTLttBNO4S hHmFxqYPoclUO7RTblIEP/ba5JgYjPg1KRv899uyp8CeSyoNRp6JwoC15iB5G8MKh01p j3hqL/xrHhGfW51Akd4Zgmp90at4DmZJR0cLpppl8xc9VfMdiJmeG+XQY5JD75ubKclc b0EQ== 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; bh=O/0QsDzg5f/yRDq9Q0z2ETP9zSNf2othOKLG19/U2e4=; b=KNLvW8pcsXRdFuPNLrLQyy143MgjERTLnWuo1djvBq4437acucb4sIlgSaYJBnXdMN W/Jp1ZiJHxM9LVclqH9EHVVfA8X3IWJ9rt/iVujiIlkdXTViScgJ3l6LoLiZYccpIv6W 1hpCmXMdKwsi12NFJPqVwtlTZwPnOJsIFStQCY9C27tAXjhBJcNpaHExT22kAG1XZHb0 jSr8iO4Cfl6x9G4Mods5pnNGScRZvKH39LGaH2LOeXFTNvMpJUbX9pGFpvoECb6a7475 zOEfwl4U3LY4GBNn+Ax1Vwh78w0gdfwKpWOTjyITvHPo/MD/bmIA7419TQnxfWs5YYCn hv/A== 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 x28si4246788edl.21.2019.11.14.00.15.12; Thu, 14 Nov 2019 00:15:37 -0800 (PST) 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 S1726276AbfKNIOU (ORCPT + 99 others); Thu, 14 Nov 2019 03:14:20 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:60198 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725965AbfKNIOU (ORCPT ); Thu, 14 Nov 2019 03:14:20 -0500 Received: from [213.220.153.21] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iVAGP-00078t-4y; Thu, 14 Nov 2019 08:14:01 +0000 Date: Thu, 14 Nov 2019 09:14:00 +0100 From: Christian Brauner To: Adrian Reber Cc: Eric Biederman , Pavel Emelyanov , Jann Horn , Oleg Nesterov , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , linux-kernel@vger.kernel.org, Andrei Vagin , Mike Rapoport , Radostin Stoyanov Subject: Re: [PATCH v9 1/2] fork: extend clone3() to support setting a PID Message-ID: <20191114081359.axnoioa25grf3ffv@wittgenstein> References: <20191114070709.1504202-1-areber@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191114070709.1504202-1-areber@redhat.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 14, 2019 at 08:07:08AM +0100, Adrian Reber wrote: > * The structure is versioned by size and thus extensible. > * New struct members must go at the end of the struct and > @@ -71,6 +85,8 @@ struct clone_args { > __aligned_u64 stack; > __aligned_u64 stack_size; > __aligned_u64 tls; > + __aligned_u64 set_tid; > + __aligned_u64 set_tid_size; Oh, one thing that is missing is the addition of +#define CLONE_ARGS_SIZE_VER1 80 /* sizeof second published struct */ in sched.h. Please add that, when you resend. Thanks! Christian