Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1609220ybf; Sun, 1 Mar 2020 13:40:49 -0800 (PST) X-Google-Smtp-Source: APXvYqzKu22ZNxxAlgnNp//jo0JwOurejh3XBI6hUsJbMBzZIV4mZjkR+54TeNWiplYRIg9T5PxC X-Received: by 2002:aca:fcd8:: with SMTP id a207mr9914830oii.56.1583098849124; Sun, 01 Mar 2020 13:40:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583098849; cv=none; d=google.com; s=arc-20160816; b=eWhNYvjuW3U8R7I2WB8bm/tB5LE3IMaJ5SxOuOkmmLvaxVIx9BywzcQ28nHoDYbyZ4 pzRrvvoZyGBWKFDR5XWfdnPIcU/+TBL7wIRJQMWE7pYXYQppyMyW4p/fKPYfW0ocW3PV 4QgTNrY/GHvqtpjgwR7zs4Gb5HI4CDWRvy+NAzxq1D3dpbaMyaKMHCkmmspq9TZca2aO ZmHtgQEcILQM+ao8+Ick7P1CYQhpWfxZIyPXZdwLluN2u8ScIpwe3Gy1Xd4kc2ycGZlB qaBFqVQPBGGnHOrwx8vx+mxUZn2EzNE2HJnpm+cfnPDalboxY7xudGZec/qQlOY8adXZ SB7g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ukz24jAlVoK0u9xc7RMDLoYCE0uHvE8+KI4d597Q+pU=; b=yiVl/GcNfDC5G9r2XX1jdSNT19bHbhCWoasQlcQrscPNOquodmp1NJNUvRjBzgla8s mjTnGn2o72C0Zxmaha6ITgB9aKFl7Bd0tYJNDbykU1uTmpm/6+sEZF7ZreNkIb+h/eqm aRc90jdiUlAzVRcpGmTxMI8WTrQ0VR7dPHMJQSxIec20hXSyR8MgLDQlqCufeyhdR4uW IiK4llrA2lGVvRGlI+i88d+8InqL3yJccZZgMtTRRK0gizOR5hbN1+JTKNjJi4E1eOQG TbUtJ+hcWVALmGZ46jWAZcU28KDo7I0ywqVmsJEsOP4yswQvHF/lUlc09kejzf+42LPI 2FGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z5T0pypM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si5243565oie.96.2020.03.01.13.40.37; Sun, 01 Mar 2020 13:40:49 -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=@gmail.com header.s=20161025 header.b=Z5T0pypM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726752AbgCAVjM (ORCPT + 99 others); Sun, 1 Mar 2020 16:39:12 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:35423 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbgCAVjM (ORCPT ); Sun, 1 Mar 2020 16:39:12 -0500 Received: by mail-pl1-f193.google.com with SMTP id g6so3387802plt.2 for ; Sun, 01 Mar 2020 13:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ukz24jAlVoK0u9xc7RMDLoYCE0uHvE8+KI4d597Q+pU=; b=Z5T0pypMoxMHFK5bluFNozMFA/6CAuR/2UvmG/1qUqwCx3nR4vAfJVzZv6DbEBoqZ7 Ow7cdOQAmoRdJbNdu6Pd7dFMEiWWbl+duldXVGKi9Sj2B1V/5t0Lvitve6qZGhZ+rEiy 6eDNqWtC/hj1fJzuMe3RmZ2X28tJD5452PdhrDz8HSwcZ+eARtZLQgAL4Pqu3iL6szfe 3rXbpo9cZguU1O3S9aWxpjug/SDGKE9+l2tAZVbzn6BZ2EnhbQjMorT+NVcX6NNrv1gk fVe+tgaiZmagZqkhrfV8GoxUEsUAnV9rI49VFhMB2gXC/R3hw5GdOh65k5cyASfJIYXI H8Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ukz24jAlVoK0u9xc7RMDLoYCE0uHvE8+KI4d597Q+pU=; b=TG1ImQX0yBrJlcD2a3yfof7hKJbMRHBgmI8tGsaL+lKIowK5sFhK4hRowaJVWIn3WE dt9fqfL485f9D+9PjsYDInQXzwBLvLJSnpzbpBgNkAdBjwhXCV9bMa1ta8ceLumX2LKm lGExESP2YHQtuXyrw4xDXwkThVBxTkjI3SFBtd/IJwaNex8v4N5obcaHfCpanTtH9ZY7 8sSw4Qa0y5iFo2qIe3A3tZSdzKyFGXCItnWKrwkaj/LRu0fgasfKCv4fNnQf3Hy2sRPM 4V0fBbSUSC8LvqXTByQaHbI7x+daQrrnh2o7y2IelXuP5Pvn3p7ci1Y6wFSTV9e9YhMf +1yQ== X-Gm-Message-State: APjAAAVh2cpEcZNPKtM79srqgAU0XX6id+9DHR10wcO+AC0nORjZPPnv lg8broqwK6BfMq100Axpy8V4uDmz X-Received: by 2002:a17:902:b7c2:: with SMTP id v2mr13821886plz.54.1583098749143; Sun, 01 Mar 2020 13:39:09 -0800 (PST) Received: from localhost (g183.222-224-185.ppp.wakwak.ne.jp. [222.224.185.183]) by smtp.gmail.com with ESMTPSA id mr7sm5836640pjb.12.2020.03.01.13.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Mar 2020 13:39:08 -0800 (PST) From: Stafford Horne To: LKML Cc: Openrisc , Stafford Horne , Christian Brauner , Jonas Bonn , Stefan Kristiansson , Christian Brauner Subject: [PATCH v2 2/3] openrisc: Enable the clone3 syscall Date: Mon, 2 Mar 2020 06:38:50 +0900 Message-Id: <20200301213851.8096-3-shorne@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200301213851.8096-1-shorne@gmail.com> References: <20200301213851.8096-1-shorne@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the clone3 syscall for OpenRISC. We use the generic version. This was tested with the clone3 test from selftests. Note, for all tests to pass it required enabling CONFIG_NAMESPACES which is not enabled in the default OpenRISC kernel config. Signed-off-by: Stafford Horne Acked-by: Christian Brauner --- arch/openrisc/include/uapi/asm/unistd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/openrisc/include/uapi/asm/unistd.h b/arch/openrisc/include/uapi/asm/unistd.h index 566f8c4f8047..fae34c60fa88 100644 --- a/arch/openrisc/include/uapi/asm/unistd.h +++ b/arch/openrisc/include/uapi/asm/unistd.h @@ -24,6 +24,7 @@ #define __ARCH_WANT_SET_GET_RLIMIT #define __ARCH_WANT_SYS_FORK #define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_SYS_CLONE3 #define __ARCH_WANT_TIME32_SYSCALLS #include -- 2.21.0