Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1287293ybi; Tue, 16 Jul 2019 12:31:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzW3RKSBfAOITuAthAUGr0jaN9dEYzVbJ/gdu0od+8CW0QgWfRrESDjJGON8WMaFu6CFoEg X-Received: by 2002:a17:902:102c:: with SMTP id b41mr37309421pla.204.1563305480474; Tue, 16 Jul 2019 12:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563305480; cv=none; d=google.com; s=arc-20160816; b=KBO588tmYzdcplQH44GKSGPneVYop6g8logelUOsJ41MYNIfxAxz5QgOIWlZlipNJZ UzM0AdkLZWwdxHTDAZarMQl1O+V2Zf7tDWQPaMyH6Z7f0hY+kAC5/vzPf33tDvGNWijZ /FaeAlHxuvw3R1AHKk4omV8fGT95RmQe8FHECpjHPa9CFW9bir+7XWUYS9NQYaRVBUGj 9e5VxLuq6PxtunH+RgGf4Wy2hEBZww0KeOiHkPskL024pueUWOXChff//loUHM8WTOHQ 9bLxcP5H2QIo9AOj0RCamtqq4WC40fI/ZuvkiEqB80aYsud8211gzLIl4ZS1+Ve/mcp5 AKbw== 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:dkim-signature; bh=dKHH4h/q3QG6V+WLSyHa/70tf/GFmuqAjtSnkGY7D2U=; b=hJDxSodiKoyBZPDZapoSkDnpptaI7LrtrRzBm6cR9BRrSI0WDqrPIM9dq4kcqiw+28 ehp4xZY9uYhiG4btsSA3eOBBRGWWq7FpOGFucV0M1q8i9h0rwGA3VANdlSUHFSGoNies cOI1BNKClDD1fON8Kusj+maFKCohNLKBVcE0LeyrGq7Ir9sdNEnpQtQX48tnLFjXG5g1 WXzrB8A5AafAYLF88kPh2y4ab16QZ3shOdxcMyMrVQLWB2LMIUcLPWbkBLQ7UfDwvbYd q5syblhfiwvEMVqh+Vui0IYPTvzWlekYV3xyXl5l+Uwa2ksGtpLQ+XaE6IqHTGoTwHvl L9Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@duncanthrax.net header.s=dkim header.b=EInCxkcX; 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 q19si19483250pjp.24.2019.07.16.12.31.04; Tue, 16 Jul 2019 12:31:20 -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=@duncanthrax.net header.s=dkim header.b=EInCxkcX; 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 S2388678AbfGPTaP (ORCPT + 99 others); Tue, 16 Jul 2019 15:30:15 -0400 Received: from smtp.duncanthrax.net ([89.31.1.170]:49247 "EHLO smtp.duncanthrax.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728858AbfGPTaP (ORCPT ); Tue, 16 Jul 2019 15:30:15 -0400 X-Greylist: delayed 2219 seconds by postgrey-1.27 at vger.kernel.org; Tue, 16 Jul 2019 15:30:13 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=duncanthrax.net; s=dkim; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date; bh=dKHH4h/q3QG6V+WLSyHa/70tf/GFmuqAjtSnkGY7D2U=; b=EInCxkcX8/U7HJUwQX6zQawdSA 3En7UuZMxWmfpQQF+KD4KM1ZhQkrsY8ilze4mu+wmEjt4CDQ5zYqbUN3KgJVT6QaszCyuS3hR9bBO qU7MV+VzceEfmsLdf7RLymVUnFZS5OewOtK76S4aHj4tYo94hhMXGfxzrzYwOcQMJw1Y=; Received: from [134.3.44.134] (helo=t470p.stackframe.org) by smtp.eurescom.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hnSZc-0000Wk-IO; Tue, 16 Jul 2019 20:53:12 +0200 Date: Tue, 16 Jul 2019 20:53:10 +0200 From: Sven Schnelle To: Christian Brauner Cc: Christian Borntraeger , linux-kernel@vger.kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, Vasily Gorbik , Heiko Carstens , mpe@ellerman.id.au Subject: Re: [PATCH 1/2] arch: mark syscall number 435 reserved for clone3 Message-ID: <20190716185310.GA12537@t470p.stackframe.org> References: <20190714192205.27190-1-christian@brauner.io> <20190714192205.27190-2-christian@brauner.io> <20190716130631.tohj4ub54md25dys@brauner.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190716130631.tohj4ub54md25dys@brauner.io> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, [Adding Helge to CC list] On Tue, Jul 16, 2019 at 03:06:33PM +0200, Christian Brauner wrote: > On Mon, Jul 15, 2019 at 03:56:04PM +0200, Christian Borntraeger wrote: > > I think Vasily already has a clone3 patch for s390x with 435. > > A quick follow-up on this. Helge and Michael have asked whether there > are any tests for clone3. Yes, there will be and I try to have them > ready by the end of the this or next week for review. In the meantime I > hope the following minimalistic test program that just verifies very > very basic functionality (It's not pretty.) will help you test: > [..] On PA-RISC this seems to work fine with Helge's patch to wire up the clone3 syscall. root@c3750:/# clonetest Parent process received child's pid 84 as return value Parent process received child's pidfd 3 Parent process received child's pid 84 as return argument Child process with pid 84 root@c3750:/# echo $? 0 Regards Sven