Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4469082ybg; Tue, 29 Oct 2019 07:38:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwg/Ux45csVuLQl6MT9cCBryOsxWH9lt5XRvWFXlfPnH6ZajoBy0Dr7Q23b9bDVYB7R9//K X-Received: by 2002:a17:906:1f57:: with SMTP id d23mr3536041ejk.233.1572359905746; Tue, 29 Oct 2019 07:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572359905; cv=none; d=google.com; s=arc-20160816; b=HSE+CQq+Sb8NLxD5kE8TeR9J4rMFZXPZDaiE+Qyf/+5H7OO75GIp1jC2BH4QET48MA omqlyT5iU1iV56U1hIZJb+0MbuQAAV6XBOqZNJJUpQW2csCToPSwSQlCGLzUk05W/bUf nWNaNQZoPTFwJ0F20J9s70QEYU11PBwr7XD4qqDnWApGBgvbgBMa8hx3x4BpGwRqQbyP AcAXdNplaUVfzB5RyJBPWk81KdZVmNCsnWCjR0pALXSQLC7gMkin+QUowJQibmxWt2yd V66d11sWdo0e+UwDund5Tjc9BrxMFurK4Z42G4/C808G7h89BQIU7WK68CYhNAxV3n58 IIlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=cyppzqRGiPy9BVmoF02ZpY6VIa9FjG7DXct9lAL3RIs=; b=ITWA67xpCv57xdr5oOSqT4v9Azgw+Li4YPVMTIiyXZrfmlh88GYMm9udDeZYWG9gsg 3t2mlwRxr11qDckgCRXrfjaUgOXHYPdjomiflRjfHbKTpOHM2MBImoPIwQrgZFneKNS+ DQTpPPKEbPWstNz0r2G6gDywfIo+2Ega/XjS43EEF3ePuC8SW1jK40BeUSA3QvRU2F3+ iUFzbg3SNsFjoBmTDM93L1kS1lrMxmre7IZPj7qK9DKfILcQ7AAJFwS6q3N3FIpH42/3 X3FyDqgpJ/gyE+b2YLRfclrCxOQvUB90c1xUNbsdioFSTeR81cnFywa860IKgjU9yAPC XIaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Uf3bbRQx; 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 y27si8601941ejb.58.2019.10.29.07.37.55; Tue, 29 Oct 2019 07:38:25 -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=@redhat.com header.s=mimecast20190719 header.b=Uf3bbRQx; 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 S2389397AbfJ2Ogx (ORCPT + 99 others); Tue, 29 Oct 2019 10:36:53 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:48202 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389389AbfJ2Ogw (ORCPT ); Tue, 29 Oct 2019 10:36:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572359812; 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=cyppzqRGiPy9BVmoF02ZpY6VIa9FjG7DXct9lAL3RIs=; b=Uf3bbRQxaeB6gyBifgBBC3u7nziuhU8lWSOrldaD5bFpNFFnO1qwROEm7HURkpp8Sldou3 F/iALr9PGnUfbqfu29QJv00ipkS/DbvXP1Ffl2Z12FeB+XCbAaAP0cCuhfn+lMKOzWkPHC t93kqmKxzG3nL8Rs6o1PRbjGfpe2SwY= 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-45-YgVaSQgANh2_4z7kLFV9CA-1; Tue, 29 Oct 2019 10:36:48 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1CD8381A334; Tue, 29 Oct 2019 14:36:46 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-116-96.ams2.redhat.com [10.36.116.96]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 73EBB2635C; Tue, 29 Oct 2019 14:36:39 +0000 (UTC) From: Florian Weimer To: Christian Brauner Cc: Jann Horn , Michael Kerrisk-manpages , lkml , linux-man , Kees Cook , Oleg Nesterov , Arnd Bergmann , David Howells , Pavel Emelyanov , Andrew Morton , Adrian Reber , Andrei Vagin , Linux API Subject: Re: For review: documentation of clone3() system call References: <20191028172143.4vnnjpdljfnexaq5@wittgenstein> <20191029112706.p5dd5yzpcgouo6n5@wittgenstein> <20191029142622.jxmssu4s4ndui7bw@wittgenstein> Date: Tue, 29 Oct 2019 15:36:37 +0100 In-Reply-To: <20191029142622.jxmssu4s4ndui7bw@wittgenstein> (Christian Brauner's message of "Tue, 29 Oct 2019 15:26:23 +0100") Message-ID: <87wocn39fu.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: YgVaSQgANh2_4z7kLFV9CA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Christian Brauner: > @Florian, do you have an opinion about always passing the stack from the > lowest address with clone3()? Do you mean that the stack extends from stack to stack_size? I guess that makes sense. What about architectures which need two stacks (I think ia64 is one)? There is also the matter whose responsibility is the alignment of the initial stack pointer. Thanks, Florian