public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND^2] nios2: support clone3() syscall
@ 2023-08-02  5:19 Randy Dunlap
  2023-08-02  7:40 ` Christian Brauner
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2023-08-02  5:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Dinh Nguyen, Christian Brauner

Add support for the clone3() syscall to prevent a warning from
checksyscalls.sh:

<stdin>:1517:2: warning: #warning syscall clone3 not implemented [-Wcpp]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Christian Brauner <christian@brauner.io>
---
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/asm/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
 
 /* Use the standard ABI for syscalls */
 #include <asm-generic/unistd.h>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-06 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-02  5:19 [PATCH RESEND^2] nios2: support clone3() syscall Randy Dunlap
2023-08-02  7:40 ` Christian Brauner
2023-08-02  8:16   ` Arnd Bergmann
2023-08-02 15:43     ` Randy Dunlap
2023-08-06 17:52       ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox