Received: by 2002:a17:90a:9307:0:0:0:0 with SMTP id p7csp3680144pjo; Wed, 26 Feb 2020 14:58:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwJ0VO1+3uJwLvjwrq82RQvUWryw8VeyKUk2IUd5TWOIlXNIknTx5Iz3gZoV9s/Zn33YedI X-Received: by 2002:a9d:6c58:: with SMTP id g24mr956682otq.229.1582757918651; Wed, 26 Feb 2020 14:58:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582757918; cv=none; d=google.com; s=arc-20160816; b=rRWlJMA7HRPi4goZgWNVVypkf3w991lzv1BRx7Wlzhm/x1YZhnMWgWBf/rS1e3SX+A GTkBEBiJREgtqBawFcKqDCVLP0DCe3dLxbeZNGndc4oyaurQZWp/Z/SHmdoTValWxZ7b 5xIjQfvWphu4yjKTRwZbjcHF/sGtqiTH3nHx92WqqlnsSEGGJdc5jxB4lmi9X62Xpfxi 4xaqbkmG0O5U7LN8Lcz9hQpKRICNmmnvI9GPDbPID4/G4TSP4eFb+RW6kjo44V0hNJ/e 1JB1YLh6o7r7p+2VKIby4tJWoGe5GBFHE60lIuBW75jqcDLsW1kZPcI+A7PqyrjYNr7V Tflw== 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=3yZOynVtZ9TuFM5blbmeqKauEd+nanPA/x/dYgy4NIw=; b=BLJRmqmQb/UC14wsvzGOHZiGxFkngzrdoWRbbyaxBS6MjXaah4jsyfIzBM7DXSLV4N XGKq7y1CZ1sAQO/51dJhFVZlu7vQbBtVMBX1MVXg3t6wvxU0yepc8rlDLCVZwdQuqYyQ IPW1PnF01qe/20GzRU2LRlw2vm80uldsj1WsF6l9FAdkQQ1+bR5IAskBgaXZsnq7itg+ EZbpQu7zCu2buazzbaZ5ACmxN0yQ3Disosvx3NTU79BJq2L+1s9NJpsAsTn5A/rxTHb+ 4TOa1cn0k6dcELRtjut1in0hCfJQnv22ps+MaOesV5MecI1bLMU5lpmkHR6zIh9Pwecm HhLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EO2Epfel; 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 l84si357189oig.5.2020.02.26.14.58.26; Wed, 26 Feb 2020 14:58:38 -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=EO2Epfel; 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 S1728020AbgBZW4z (ORCPT + 99 others); Wed, 26 Feb 2020 17:56:55 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:45290 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726413AbgBZW4z (ORCPT ); Wed, 26 Feb 2020 17:56:55 -0500 Received: by mail-pf1-f195.google.com with SMTP id 2so520202pfg.12 for ; Wed, 26 Feb 2020 14:56:54 -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=3yZOynVtZ9TuFM5blbmeqKauEd+nanPA/x/dYgy4NIw=; b=EO2EpfelDxj6yFbd8r60aewPznC0Fq5Ufv3i4qGw0pwwm0k+nYDFr1GL75urBMM4zu J0glJhC2Q6cA+mP08iaXFmOVhjCtBgHAWJeXAUA1VIteADNtXsBwcxlgXJ6Y50RnmGy1 Cv96E4Ml5Smil/1H8gpLYax0smDbD4PCiDMghVSARalpTBGQYTGYI6zkl1BrIuR5NRf0 rr/hVF0y4Z02yFnx46YZdMQDVpxG9Yo626h46S6yBOfDcIGmg71Zk1W4P8Wz1awOIB+F 3rngUHAhWU6mhsBugqQofpOFUWUm8dqLNK0nvKHcDHDC7zK1PmEi4ENkrbHtuxoKCIDm PLtw== 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=3yZOynVtZ9TuFM5blbmeqKauEd+nanPA/x/dYgy4NIw=; b=G+o4w75nFISqop6/UElZvlnYAt56i2O0bn4xXXDu4bETR/dUP7oKnzbe0vbCfEO324 FUwTQu4yHPpMuj4DqYw05P4UOpjxt6ZDVRAfSD1jPxvz9hTJwNaK2L3/c1hs8BZN0jBy esWE93M1wFYp85RKuXhNzDoyCCg4rg0w7ZV1UpJJcWQrg+vh6o0CUFaAtnOJc7NlcT3C vNr27zM63dlmiH/MHPqb3GlgOwdFojfvNo1GiLp/J88HLOkoD6Ge67fawOJnHcHvPF4y EcQOXMqY5PxJklWHP6sEW56x9lei6aQ9neWVVxGS3SbGh0zzG8zstfsCVlE1FM6lHDI4 SFZA== X-Gm-Message-State: APjAAAWTOjbD2zRbxyWxjDg/dwztaBs1BRVUbIbRni2BekFXm+FRJnog 21p/9WMlhz8kzHIKI+UfSKwUzirm X-Received: by 2002:a63:e74f:: with SMTP id j15mr1077288pgk.20.1582757813368; Wed, 26 Feb 2020 14:56:53 -0800 (PST) Received: from localhost (g183.222-224-185.ppp.wakwak.ne.jp. [222.224.185.183]) by smtp.gmail.com with ESMTPSA id g13sm3718187pgh.82.2020.02.26.14.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 14:56:52 -0800 (PST) From: Stafford Horne To: LKML , Openrisc Cc: Stafford Horne , Jonas Bonn , Stefan Kristiansson , Christian Brauner Subject: [PATCH 2/3] openrisc: Enable the clone3 syscall Date: Thu, 27 Feb 2020 07:56:24 +0900 Message-Id: <20200226225625.28935-3-shorne@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200226225625.28935-1-shorne@gmail.com> References: <20200226225625.28935-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 kernel config. Signed-off-by: Stafford Horne --- 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