Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2897319ybc; Thu, 14 Nov 2019 00:25:54 -0800 (PST) X-Google-Smtp-Source: APXvYqw+JoZGoMPVA30B097vUfXZ8qTjaL2kVwnZC6HOJ36UmwtZAZn/hiCdJgeLPNFUxvUrvsed X-Received: by 2002:aa7:d888:: with SMTP id u8mr8424184edq.144.1573719954099; Thu, 14 Nov 2019 00:25:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573719954; cv=none; d=google.com; s=arc-20160816; b=MD3TNQUpYiRWydYbIjv3KPDAFYoc8nQvrjIQ+9/2HVskUfIslATu5GAHLuL4RvbiXS 1ukVk5cfXRGnvGrBO3Y5OMNQMljAKNpi2qSPbSclw26jzNEwrzh1cRCGdg+inPNfmX6H TTU/64f9tdqk9kJT4CkyxFbqYZjc3+goqCr5k+QXZjs7Cftum7TgO6ouh7m8dOraTIeM KX1Z62+/ZLfidaW3DY49pLE7s/jyUmZ7ISgpzJFj2NTcu9fVOUpavtzHERKz9YoKabVR eIEk2q9fCsbldGfpVA9o+rRxoxCaLeVF7AksTgR7QShvt873YW5MKwBqcILGH7lCQ8BE +kvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:user-agent:organization:in-reply-to :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=k+gjoRZFd9fcf4fNPEnFiVwdYJ8OpN8yWTmi0PkOyr8=; b=GbRuGNKnSaEFK1ba4N0e9OwQ8geUkb5XcogbYfqPBYHr5ZLWP50jSDpQS9z2jTJMad KQ+z8WtDj4JwUnOwWxbft3mbs1l7SV/UEV/ou3uB0rAQceVLwvefKKuB0swllwOgEC6a Qs+GdE7cVk97g3MOxkcIbs1q3hmh3nK1/WQYF7z/pubKlXDTGlVSQCp6QXUEOzA1YsHD bi7Oyr9LS2fSOjzf7o6JirSVwTisky2rUmy5BGlMU+A8yGx/TBr7jtaVwdr8BC5rwDKw Zjsg5eaPFHUa6zoCLcPUQ7PRmR/d5B/c5qh9GyAtYGzO+PO04JWTfSPTWM25fPxqRbap VdJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Yh+UhUkY; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si2934773ejr.262.2019.11.14.00.25.29; Thu, 14 Nov 2019 00:25:54 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Yh+UhUkY; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726251AbfKNIWX (ORCPT + 99 others); Thu, 14 Nov 2019 03:22:23 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:50726 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725920AbfKNIWW (ORCPT ); Thu, 14 Nov 2019 03:22:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573719741; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k+gjoRZFd9fcf4fNPEnFiVwdYJ8OpN8yWTmi0PkOyr8=; b=Yh+UhUkYOPUhtLaOirzb2OeF2Iaourvimo8BqPo6aPrq4jO7XOL9YkaIflkJzPm3mx2w1o sGb/IUzzQh5lzASvDldLvARRjDreL6Zk6xXmQwnM5+kt25jzZVhMBj54XhYf/lyNM1s4KQ YtrLsj+y5Kh17tP8miXlx57EEV10BfU= 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-375-VpzJs5T0NkeKq_Cdh5Fzcw-1; Thu, 14 Nov 2019 03:22:18 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4D5EE107ACC9; Thu, 14 Nov 2019 08:22:16 +0000 (UTC) Received: from dcbz.redhat.com (ovpn-116-65.ams2.redhat.com [10.36.116.65]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 99C4F6FDDF; Thu, 14 Nov 2019 08:22:11 +0000 (UTC) Date: Thu, 14 Nov 2019 09:22:09 +0100 From: Adrian Reber To: Christian Brauner 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: <20191114082209.GE1252861@dcbz.redhat.com> References: <20191114070709.1504202-1-areber@redhat.com> <20191114081359.axnoioa25grf3ffv@wittgenstein> MIME-Version: 1.0 In-Reply-To: <20191114081359.axnoioa25grf3ffv@wittgenstein> X-Operating-System: Linux (5.3.8-300.fc31.x86_64) X-Load-Average: 1.11 1.35 1.24 X-Unexpected: The Spanish Inquisition X-GnuPG-Key: gpg --recv-keys D3C4906A Organization: Red Hat User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: VpzJs5T0NkeKq_Cdh5Fzcw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 09:14:00AM +0100, Christian Brauner wrote: > 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 { > > =09__aligned_u64 stack; > > =09__aligned_u64 stack_size; > > =09__aligned_u64 tls; > > +=09__aligned_u64 set_tid; > > +=09__aligned_u64 set_tid_size; >=20 > Oh, one thing that is missing is the addition of >=20 > +#define CLONE_ARGS_SIZE_VER1 80 /* sizeof second published struct */ >=20 > in sched.h. Please add that, when you resend. Even if it is unused? =09=09Adrian