From nobody Thu Apr 16 03:44:22 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21BA5C4332F for ; Thu, 24 Nov 2022 03:21:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229928AbiKXDVR (ORCPT ); Wed, 23 Nov 2022 22:21:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbiKXDVN (ORCPT ); Wed, 23 Nov 2022 22:21:13 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34B6AD02D1 for ; Wed, 23 Nov 2022 19:21:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=/0CU48Zw70eP8gCcZfPtoIrEyWctIOGQrz7h9ITawzM=; b=FV0+g+vmEupfkxS4tOfXBQQCuc vyYs1LIkXNg39zFCkUQUog+lGgqn5g4k2Srgabz2b0Gla8opOI01o7ELzuKW2OJDf2bqkIkXnE0Xf ZmipRtwC3N0BPuKj6rvarLrYkYRKjaaBbsKw12LHkRe7ajmaSGrvOXG7dCGnnlLTtSjmPbiVbVleA Jj3X1bbKQS7vWfAECK6/SnnvKkHfLKPDVBgZocMYwu4ACtj3Rxzfu/o6YqZwNSPRX4DSW0ZyJG4Cy RNhKVstJKZRD0MySW59hOYjlvheT4y4Z01lqiYcSJTz1OnBzjm6KYxzC+dy7IcaMYKDCXQwf70iBq ILtUKmig==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oy2nd-008Kry-7w; Thu, 24 Nov 2022 03:21:17 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Dinh Nguyen , Christian Brauner Subject: [PATCH] nios2: support clone3() syscall Date: Wed, 23 Nov 2022 19:21:07 -0800 Message-Id: <20221124032107.11223-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add support for the clone3() syscall to prevent a warning from checksyscalls.sh: :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] Signed-off-by: Randy Dunlap Cc: Dinh Nguyen Cc: Christian Brauner --- Is there some reason that NIOS2 should not (does not) support clone3()? arch/nios2/include/uapi/asm/unistd.h | 1 + 1 file changed, 1 insertion(+) diff -- a/arch/nios2/include/uapi/asm/unistd.h b/arch/nios2/include/uapi/as= m/unistd.h --- a/arch/nios2/include/uapi/asm/unistd.h +++ b/arch/nios2/include/uapi/asm/unistd.h @@ -22,6 +22,7 @@ #define __ARCH_WANT_STAT64 #define __ARCH_WANT_SET_GET_RLIMIT #define __ARCH_WANT_TIME32_SYSCALLS +#define __ARCH_WANT_SYS_CLONE3 =20 /* Use the standard ABI for syscalls */ #include