From nobody Sun Feb 8 15:46:08 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 1F6FCEB64DC for ; Mon, 3 Jul 2023 23:09:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231131AbjGCXJq (ORCPT ); Mon, 3 Jul 2023 19:09:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231174AbjGCXJn (ORCPT ); Mon, 3 Jul 2023 19:09:43 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3682B107 for ; Mon, 3 Jul 2023 16:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=zFM/eyPbRLV1VXvvy01sbruHyF zvQxPWumvh7k7b/Ri2n3voYL3q/5/or6nGHWQ0SDD24B5Ak905Sii0pBoPvSdSnmhuKwtVwtnL2/l BPfC+xyGNrxdj0ZnHarErKnH05H7yrlnWkw3f4BQ+ir44ZVROBNEumaF9s/6VXnstL2QtdJEQt+n0 A34BlqNAqvbNc+tH101aCbq3jvEj+6Edy9gJP8HCv6CO1vrhta8NOqUPPfOHwz/aBGQtyDEe8cNRM 85SOboWbiKBhhhW1n3l68nQ9KiKu20WsnKmbcTd9wDmTTimZYTzcLkGgNNt6kvsF0LOmuIIs7Ajz8 9pSWiSMQ==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qGSfs-00BcGy-2I; Mon, 03 Jul 2023 23:09:40 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Dinh Nguyen , Christian Brauner Subject: [PATCH RESEND] nios2: support clone3() syscall Date: Mon, 3 Jul 2023 16:09:40 -0700 Message-ID: <20230703230940.17627-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 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