CVS commit: src/sys/compat/linux/arch

2024-10-01 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Oct  1 16:29:15 UTC 2024

Modified Files:
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
sys/compat/linux/arch/*/syscalls.master: Nix trailing whitespace.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/mips/syscalls.master
diff -u src/sys/compat/linux/arch/mips/syscalls.master:1.82 src/sys/compat/linux/arch/mips/syscalls.master:1.83
--- src/sys/compat/linux/arch/mips/syscalls.master:1.82	Sat Sep 28 19:35:56 2024
+++ src/sys/compat/linux/arch/mips/syscalls.master	Tue Oct  1 16:29:15 2024
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.82 2024/09/28 19:35:56 christos Exp $  
+	$NetBSD: syscalls.master,v 1.83 2024/10/01 16:29:15 riastradh Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 

Index: src/sys/compat/linux/arch/powerpc/syscalls.master
diff -u src/sys/compat/linux/arch/powerpc/syscalls.master:1.87 src/sys/compat/linux/arch/powerpc/syscalls.master:1.88
--- src/sys/compat/linux/arch/powerpc/syscalls.master:1.87	Sat Sep 28 19:35:56 2024
+++ src/sys/compat/linux/arch/powerpc/syscalls.master	Tue Oct  1 16:29:15 2024
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.87 2024/09/28 19:35:56 christos Exp $  
+	$NetBSD: syscalls.master,v 1.88 2024/10/01 16:29:15 riastradh Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 



CVS commit: src/sys/compat/linux/arch

2024-10-01 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Oct  1 16:35:42 UTC 2024

Modified Files:
src/sys/compat/linux/arch/alpha: linux_osf1.c linux_types.h
src/sys/compat/linux/arch/amd64: Makefile linux_errno.h linux_exec.h
linux_exec_machdep.c linux_fcntl.h linux_ioctl.h linux_machdep.c
linux_machdep.h linux_mmap.h linux_prctl.h linux_sigarray.c
linux_siginfo.h linux_signal.h linux_socket.h linux_termios.h
linux_types.h
src/sys/compat/linux/arch/m68k: linux_machdep.c

Log Message:
sys/compat/linux/arch: Nix trailing whitespace.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/alpha/linux_osf1.c
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux/arch/alpha/linux_types.h
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/amd64/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/linux_errno.h \
src/sys/compat/linux/arch/amd64/linux_mmap.h \
src/sys/compat/linux/arch/amd64/linux_socket.h \
src/sys/compat/linux/arch/amd64/linux_termios.h
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux/arch/amd64/linux_exec.h \
src/sys/compat/linux/arch/amd64/linux_types.h
cvs rdiff -u -r1.24 -r1.25 \
src/sys/compat/linux/arch/amd64/linux_exec_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/amd64/linux_fcntl.h \
src/sys/compat/linux/arch/amd64/linux_signal.h
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/amd64/linux_ioctl.h \
src/sys/compat/linux/arch/amd64/linux_prctl.h \
src/sys/compat/linux/arch/amd64/linux_sigarray.c
cvs rdiff -u -r1.61 -r1.62 src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/linux/arch/amd64/linux_machdep.h
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/amd64/linux_siginfo.h
cvs rdiff -u -r1.44 -r1.45 src/sys/compat/linux/arch/m68k/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/alpha/linux_osf1.c
diff -u src/sys/compat/linux/arch/alpha/linux_osf1.c:1.5 src/sys/compat/linux/arch/alpha/linux_osf1.c:1.6
--- src/sys/compat/linux/arch/alpha/linux_osf1.c:1.5	Tue Sep  7 11:43:03 2021
+++ src/sys/compat/linux/arch/alpha/linux_osf1.c	Tue Oct  1 16:35:41 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_osf1.c,v 1.5 2021/09/07 11:43:03 riastradh Exp $	*/
+/*	$NetBSD: linux_osf1.c,v 1.6 2024/10/01 16:35:41 riastradh Exp $	*/
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_osf1.c,v 1.5 2021/09/07 11:43:03 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_osf1.c,v 1.6 2024/10/01 16:35:41 riastradh Exp $");
 
 #include 
 #include 
@@ -372,7 +372,7 @@ linux_sys_osf1_setitimer(struct lwp *l, 
 		if (error)
 			return error;
 	}
-		
+
 	error = dosetitimer(l->l_proc, which, &b_itv);
 
 	if (error == 0 || SCARG(uap, oitv) == NULL)

Index: src/sys/compat/linux/arch/alpha/linux_types.h
diff -u src/sys/compat/linux/arch/alpha/linux_types.h:1.8 src/sys/compat/linux/arch/alpha/linux_types.h:1.9
--- src/sys/compat/linux/arch/alpha/linux_types.h:1.8	Sun Feb 12 14:59:22 2023
+++ src/sys/compat/linux/arch/alpha/linux_types.h	Tue Oct  1 16:35:41 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_types.h,v 1.8 2023/02/12 14:59:22 andvar Exp $	*/
+/*	$NetBSD: linux_types.h,v 1.9 2024/10/01 16:35:41 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@ struct linux_stat64 {
 	unsigned int		__pad0;
 
 	unsigned long		lst_atime;
-	unsigned long		lst_atime_nsec; 
+	unsigned long		lst_atime_nsec;
 	unsigned long		lst_mtime;
 	unsigned long		lst_mtime_nsec;
 	unsigned long		lst_ctime;

Index: src/sys/compat/linux/arch/amd64/Makefile
diff -u src/sys/compat/linux/arch/amd64/Makefile:1.4 src/sys/compat/linux/arch/amd64/Makefile:1.5
--- src/sys/compat/linux/arch/amd64/Makefile:1.4	Wed May 29 18:58:00 2024
+++ src/sys/compat/linux/arch/amd64/Makefile	Tue Oct  1 16:35:42 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:00 christos Exp $ 
+#	$NetBSD: Makefile,v 1.5 2024/10/01 16:35:42 riastradh Exp $
 
 .include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/amd64/linux_errno.h
diff -u src/sys/compat/linux/arch/amd64/linux_errno.h:1.3 src/sys/compat/linux/arch/amd64/linux_errno.h:1.4
--- src/sys/compat/linux/arch/amd64/linux_errno.h:1.3	Tue Dec 17 22:14:24 2013
+++ src/sys/compat/linux/arch/amd64/linux_errno.h	Tue Oct  1 16:35:42 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_errno.h,v 1.3 2013/12/17 22:14:24 njoly Exp $ */
+/*	$NetBSD: linux_errno.h,v 1.4 2024/10/01 16:35:42 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -14,14 +14,14 @@
  * 3. All advertising materials mentioning features or use of this software
  *must display the following acknowledgement:
  *	This product inclu

CVS commit: src/sys/compat/linux/arch

2024-10-01 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Oct  1 16:35:42 UTC 2024

Modified Files:
src/sys/compat/linux/arch/alpha: linux_osf1.c linux_types.h
src/sys/compat/linux/arch/amd64: Makefile linux_errno.h linux_exec.h
linux_exec_machdep.c linux_fcntl.h linux_ioctl.h linux_machdep.c
linux_machdep.h linux_mmap.h linux_prctl.h linux_sigarray.c
linux_siginfo.h linux_signal.h linux_socket.h linux_termios.h
linux_types.h
src/sys/compat/linux/arch/m68k: linux_machdep.c

Log Message:
sys/compat/linux/arch: Nix trailing whitespace.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/alpha/linux_osf1.c
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux/arch/alpha/linux_types.h
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/amd64/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/linux_errno.h \
src/sys/compat/linux/arch/amd64/linux_mmap.h \
src/sys/compat/linux/arch/amd64/linux_socket.h \
src/sys/compat/linux/arch/amd64/linux_termios.h
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux/arch/amd64/linux_exec.h \
src/sys/compat/linux/arch/amd64/linux_types.h
cvs rdiff -u -r1.24 -r1.25 \
src/sys/compat/linux/arch/amd64/linux_exec_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/amd64/linux_fcntl.h \
src/sys/compat/linux/arch/amd64/linux_signal.h
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/amd64/linux_ioctl.h \
src/sys/compat/linux/arch/amd64/linux_prctl.h \
src/sys/compat/linux/arch/amd64/linux_sigarray.c
cvs rdiff -u -r1.61 -r1.62 src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/linux/arch/amd64/linux_machdep.h
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/amd64/linux_siginfo.h
cvs rdiff -u -r1.44 -r1.45 src/sys/compat/linux/arch/m68k/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2024-10-01 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Oct  1 16:29:15 UTC 2024

Modified Files:
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
sys/compat/linux/arch/*/syscalls.master: Nix trailing whitespace.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2024-09-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 28 19:36:21 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.121 -r1.122 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.120 -r1.121 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.122 -r1.123 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.27 -r1.28 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.94 -r1.95 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.27 -r1.28 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.128 -r1.129 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.129 -r1.130 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.23 -r1.24 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.119 -r1.120 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.118 -r1.119 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.98 -r1.99 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.97 -r1.98 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2024-06-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul  1 01:36:19 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.120 -r1.121 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.119 -r1.120 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.121 -r1.122 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.82 -r1.83 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.26 -r1.27 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.26 -r1.27 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.127 -r1.128 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.128 -r1.129 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.117 -r1.118 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.97 -r1.98 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.96 -r1.97 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.11 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.12
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.11	Sat Jun 29 09:46:31 2024
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Sun Jun 30 21:36:18 2024
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.11 2024/06/29 13:46:31 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.12 2024/07/01 01:36:18 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.12 2024/06/29 13:46:09 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.13 2024/07/01 01:35:52 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -456,6 +456,24 @@
 /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
 #define	LINUX_SYS_sysinfo	179
 
+/* syscall: "mq_open" ret: "linux_mqd_t" args: "const char *" "int" "linux_umode_t" "struct linux_mq_attr *" */
+#define	LINUX_SYS_mq_open	180
+
+/* syscall: "mq_unlink" ret: "int" args: "const char *" */
+#define	LINUX_SYS_mq_unlink	181
+
+/* syscall: "mq_timedsend" ret: "int" args: "linux_mqd_t" "const char *" "size_t" "unsign

CVS commit: src/sys/compat/linux/arch

2024-06-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul  1 01:36:19 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.120 -r1.121 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.119 -r1.120 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.121 -r1.122 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.82 -r1.83 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.26 -r1.27 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.26 -r1.27 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.127 -r1.128 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.128 -r1.129 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.117 -r1.118 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.97 -r1.98 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.96 -r1.97 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2024-06-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 29 13:46:32 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.119 -r1.120 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.118 -r1.119 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.120 -r1.121 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.81 -r1.82 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.25 -r1.26 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.25 -r1.26 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.126 -r1.127 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.127 -r1.128 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.21 -r1.22 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.116 -r1.117 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.96 -r1.97 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.95 -r1.96 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.10 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.11
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.10	Sat Aug 19 13:50:24 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Sat Jun 29 09:46:31 2024
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.10 2023/08/19 17:50:24 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.11 2024/06/29 13:46:31 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.11 2023/08/19 17:49:49 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.12 2024/06/29 13:46:09 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -423,6 +423,9 @@
 /* syscall: "umask" ret: "int" args: "int" */
 #define	LINUX_SYS_umask	166
 
+/* syscall: "getcpu" ret: "int" args: "unsigned int *" "unsigned int *" "struct linux_getcpu_cache *" */
+#define	LINUX_SYS_getcpu	168
+
 /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
 #define	LINUX_SYS_gettimeofday	169
 
@@ -621,6 +624,9 @@
 /* syscall: "close_range" ret: "int" args: "unsigned int" "unsigned i

CVS commit: src/sys/compat/linux/arch

2024-06-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 29 13:46:32 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.119 -r1.120 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.118 -r1.119 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.120 -r1.121 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.81 -r1.82 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.25 -r1.26 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.25 -r1.26 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.126 -r1.127 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.127 -r1.128 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.21 -r1.22 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.116 -r1.117 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.96 -r1.97 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.95 -r1.96 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2024-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 29 18:58:01 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: Makefile
src/sys/compat/linux/arch/alpha: Makefile
src/sys/compat/linux/arch/amd64: Makefile
src/sys/compat/linux/arch/arm: Makefile
src/sys/compat/linux/arch/i386: Makefile
src/sys/compat/linux/arch/m68k: Makefile
src/sys/compat/linux/arch/mips: Makefile
src/sys/compat/linux/arch/powerpc: Makefile
src/sys/compat/linux/arch/sparc: Makefile
src/sys/compat/linux/arch/sparc64: Makefile

Log Message:
should not be using .include <> but .include "" here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/arm/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/i386/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/m68k/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/mips/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/powerpc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/Makefile
diff -u src/sys/compat/linux/arch/aarch64/Makefile:1.1 src/sys/compat/linux/arch/aarch64/Makefile:1.2
--- src/sys/compat/linux/arch/aarch64/Makefile:1.1	Thu Sep 23 02:56:27 2021
+++ src/sys/compat/linux/arch/aarch64/Makefile	Wed May 29 14:58:00 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.1 2021/09/23 06:56:27 ryo Exp $
+#	$NetBSD: Makefile,v 1.2 2024/05/29 18:58:00 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/alpha/Makefile
diff -u src/sys/compat/linux/arch/alpha/Makefile:1.3 src/sys/compat/linux/arch/alpha/Makefile:1.4
--- src/sys/compat/linux/arch/alpha/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/alpha/Makefile	Wed May 29 14:58:00 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:00 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/amd64/Makefile
diff -u src/sys/compat/linux/arch/amd64/Makefile:1.3 src/sys/compat/linux/arch/amd64/Makefile:1.4
--- src/sys/compat/linux/arch/amd64/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/amd64/Makefile	Wed May 29 14:58:00 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $ 
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:00 christos Exp $ 
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/arm/Makefile
diff -u src/sys/compat/linux/arch/arm/Makefile:1.2 src/sys/compat/linux/arch/arm/Makefile:1.3
--- src/sys/compat/linux/arch/arm/Makefile:1.2	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/arm/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.2 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.3 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/i386/Makefile
diff -u src/sys/compat/linux/arch/i386/Makefile:1.3 src/sys/compat/linux/arch/i386/Makefile:1.4
--- src/sys/compat/linux/arch/i386/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/i386/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/m68k/Makefile
diff -u src/sys/compat/linux/arch/m68k/Makefile:1.3 src/sys/compat/linux/arch/m68k/Makefile:1.4
--- src/sys/compat/linux/arch/m68k/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/m68k/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/mips/Makefile
diff -u src/sys/compat/linux/arch/mips/Makefile:1.3 src/sys/compat/linux/arch/mips/Makefile:1.4
--- src/sys/compat/linux/arch/mips/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/mips/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/powerpc/Makefile
diff -u src/sys/

CVS commit: src/sys/compat/linux/arch

2024-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 29 18:58:01 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: Makefile
src/sys/compat/linux/arch/alpha: Makefile
src/sys/compat/linux/arch/amd64: Makefile
src/sys/compat/linux/arch/arm: Makefile
src/sys/compat/linux/arch/i386: Makefile
src/sys/compat/linux/arch/m68k: Makefile
src/sys/compat/linux/arch/mips: Makefile
src/sys/compat/linux/arch/powerpc: Makefile
src/sys/compat/linux/arch/sparc: Makefile
src/sys/compat/linux/arch/sparc64: Makefile

Log Message:
should not be using .include <> but .include "" here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/arm/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/i386/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/m68k/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/mips/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/powerpc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2023-08-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Aug 19 17:50:25 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.117 -r1.118 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.119 -r1.120 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.80 -r1.81 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.24 -r1.25 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.24 -r1.25 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.125 -r1.126 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.126 -r1.127 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.20 -r1.21 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.116 -r1.117 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.115 -r1.116 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.88 -r1.89 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.95 -r1.96 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.94 -r1.95 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.9 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.10
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.9	Fri Aug 18 15:42:05 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Sat Aug 19 13:50:24 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.9 2023/08/18 19:42:05 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.10 2023/08/19 17:50:24 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.10 2023/08/18 19:41:19 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.11 2023/08/19 17:49:49 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -72,6 +72,15 @@
 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
 #define	LINUX_SYS_fcntl	25
 
+/* syscall: "inotify_init1" ret: "int" args: "int" */
+#define	LINUX_SYS_inotify_init1	26
+
+/* syscall: "inotify_add_watch" ret: "int" args: "int" "const char *" "uint32_t" */
+#define	LINUX_SYS_inotify_add_watch	27
+
+/* syscall: "inotify_rm_watch" ret: "int" args: "int" "int" */
+#define	LINUX_SYS_inotify_rm_watch	28
+
 /* syscall: "ioctl" 

CVS commit: src/sys/compat/linux/arch

2023-08-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Aug 19 17:50:25 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.117 -r1.118 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.119 -r1.120 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.80 -r1.81 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.24 -r1.25 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.24 -r1.25 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.125 -r1.126 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.126 -r1.127 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.20 -r1.21 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.116 -r1.117 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.115 -r1.116 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.88 -r1.89 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.95 -r1.96 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.94 -r1.95 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2023-08-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Aug 19 17:49:50 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master
src/sys/compat/linux/arch/alpha: syscalls.master
src/sys/compat/linux/arch/amd64: syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/i386: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
Add inotify* syscalls GSoC 2023 (Theodore Preduta)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux/arch/aarch64/syscalls.master
cvs rdiff -u -r1.105 -r1.106 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/linux/arch/amd64/syscalls.master
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.133 -r1.134 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.103 -r1.104 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/syscalls.master
diff -u src/sys/compat/linux/arch/aarch64/syscalls.master:1.10 src/sys/compat/linux/arch/aarch64/syscalls.master:1.11
--- src/sys/compat/linux/arch/aarch64/syscalls.master:1.10	Fri Aug 18 15:41:19 2023
+++ src/sys/compat/linux/arch/aarch64/syscalls.master	Sat Aug 19 13:49:49 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.10 2023/08/18 19:41:19 christos Exp $
+	$NetBSD: syscalls.master,v 1.11 2023/08/19 17:49:49 christos Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -106,9 +106,10 @@
 23	NOARGS		{ int|sys||dup(int fd); }
 24	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
 25	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
-26	UNIMPL		inotify_init1
-27	UNIMPL		inotify_add_watch
-28	UNIMPL		inotify_rm_watch
+26	STD		{ int|linux_sys||inotify_init1(int flags); }
+27	STD	{ int|linux_sys||inotify_add_watch(int fd, \
+			const char *pathname, uint32_t mask); }
+28	STD		{ int|linux_sys||inotify_rm_watch(int fd, int wd); }
 29	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
 			void *data); }
 30	UNIMPL		ioprio_set
@@ -216,7 +217,7 @@
 92	STD		{ int|linux_sys||personality(unsigned long per); }
 93	STD		{ int|linux_sys||exit(int rval); }
 94	STD		{ int|linux_sys||exit_group(int error_code); }
-95  STD		{ int|linux_sys||waitid(int idtype, id_t id, \
+95	STD		{ int|linux_sys||waitid(int idtype, id_t id, \
 			linux_siginfo_t *infop, int options, \
 			struct rusage50 *rusage); }
 96	STD		{ int|linux_sys||set_tid_address(int *tid); }

Index: src/sys/compat/linux/arch/alpha/syscalls.master
diff -u src/sys/compat/linux/arch/alpha/syscalls.master:1.105 src/sys/compat/linux/arch/alpha/syscalls.master:1.106
--- src/sys/compat/linux/arch/alpha/syscalls.master:1.105	Fri Aug 18 15:41:19 2023
+++ src/sys/compat/linux/arch/alpha/syscalls.master	Sat Aug 19 13:49:49 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.105 2023/08/18 19:41:19 christos Exp $
+	$NetBSD: syscalls.master,v 1.106 2023/08/19 17:49:49 christos Exp $
 ;
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -703,7 +703,7 @@
 435	UNIMPL		mq_timedreceive
 436	UNIMPL		mq_notify
 437	UNIMPL		mq_getsetattr
-438 STD		{ int|linux_sys||waitid(int idtype, id_t id, \
+438	STD		{ int|linux_sys||waitid(int idtype, id_t id, \
 			linux_siginfo_t *infop, int options, \
 			struct rusage50 *rusage); }
 439	UNIMPL		add_key
@@ -711,9 +711,10 @@
 441	UNIMPL		keyctl
 442	UNIMPL		ioprio_set
 443	UNIMPL		ioprio_get
-444	UNIMPL		inotify_init
-445	UNIMPL		inotify_add_watch
-446	UNIMPL		inotify_rm_watch
+444	STD		{ int|linux_sys||inotify_init(void); }
+445	STD		{ int|linux_sys||inotify_add_watch(int fd, \
+			const char *pathname, uint32_t mask); }
+446	STD		{ int|linux_sys||inotify_rm_watch(int fd, int wd); }
 447	UNIMPL		fdatasync
 448	UNIMPL		kexec_load
 449	UNIMPL		migrate_pages
@@ -791,7 +792,7 @@
 486	STD		{ int|linux_sys||epoll_create1(int flags); }
 487	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
 488	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
-489	UNIMPL		inotify_init1
+489	STD		{ int|linux_sys||inotify_init1(int flags); }
 490	STD		{ int|linux_sys||preadv(int fd, \
 			const struct iovec *iovp, int iovcnt, \
 			unsigned long off_lo, unsigned long off_hi); }
@@ -833,7 +834,7 @@
 519	UNIMPL
 520	UNIMPL
 521	UNIMPL
-522 STD		{ int|linux_sys||statx(int fd, const char *path, \
+522	STD		{ int|linux_sys||statx(int fd, const char *path, \
 			int flag, unsigned int mask, \
 			struct linux_statx *sp); }
 523	UNIMPL

Index: s

CVS commit: src/sys/compat/linux/arch

2023-08-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Aug 19 17:49:50 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master
src/sys/compat/linux/arch/alpha: syscalls.master
src/sys/compat/linux/arch/amd64: syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/i386: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
Add inotify* syscalls GSoC 2023 (Theodore Preduta)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux/arch/aarch64/syscalls.master
cvs rdiff -u -r1.105 -r1.106 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/linux/arch/amd64/syscalls.master
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.133 -r1.134 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.103 -r1.104 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2023-08-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Aug 18 19:42:06 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.116 -r1.117 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.79 -r1.80 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.23 -r1.24 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.23 -r1.24 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.124 -r1.125 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.125 -r1.126 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.19 -r1.20 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.88 -r1.89 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.94 -r1.95 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.93 -r1.94 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.8 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.9
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.8	Sat Jul 29 11:05:45 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Fri Aug 18 15:42:05 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.8 2023/07/29 15:05:45 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.9 2023/08/18 19:42:05 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.9 2023/07/29 15:04:28 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.10 2023/08/18 19:41:19 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -222,6 +222,9 @@
 /* syscall: "exit_group" ret: "int" args: "int" */
 #define	LINUX_SYS_exit_group	94
 
+/* syscall: "waitid" ret: "int" args: "int" "id_t" "linux_siginfo_t *" "int" "struct rusage50 *" */
+#define	LINUX_SYS_waitid	95
+
 /* syscall: "set_tid_address" ret: "int" args: "int *" */
 #define	LINUX_SYS_set_tid_address	96
 
Index: src/sys/compat/linux/arch/aarch64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.8 src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.9
--- src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.8	Sat Jul 29 11:05:45 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscallargs.h	Fri Aug 18 15:42:05 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.8 2023/07/29 15:05:45 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.9 2023/08/18 19:42:05 ch

CVS commit: src/sys/compat/linux/arch

2023-08-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Aug 18 19:42:06 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.116 -r1.117 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.79 -r1.80 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.23 -r1.24 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.23 -r1.24 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.124 -r1.125 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.125 -r1.126 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.19 -r1.20 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.88 -r1.89 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.94 -r1.95 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.93 -r1.94 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2023-07-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul 29 15:05:46 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.116 -r1.117 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.115 -r1.116 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.123 -r1.124 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.124 -r1.125 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.18 -r1.19 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.115 -r1.116 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.114 -r1.115 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.92 -r1.93 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.7 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.8
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.7	Sat Jul 29 02:50:47 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Sat Jul 29 11:05:45 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.7 2023/07/29 06:50:47 rin Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.8 2023/07/29 15:05:45 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp
+ * created from	NetBSD: syscalls.master,v 1.9 2023/07/29 15:04:28 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -528,6 +528,9 @@
 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct linux_msghdr *" "int" */
 #define	LINUX_SYS_recvmsg	212
 
+/* syscall: "readahead" ret: "ssize_t" args: "int" "off_t" "size_t" */
+#define	LINUX_SYS_readahead	213
+
 /* syscall: "brk" ret: "int" args: "char *" */
 #define	LINUX_SYS_brk	214
 
@@ -603,6 +606,9 @@
 /* syscall: "statx" ret: "int" args: "int" "const char *" "int" "unsigned int" "struct linux_statx *" */
 #define	LINUX_SYS_statx	2

CVS commit: src/sys/compat/linux/arch

2023-07-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul 29 15:05:46 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.116 -r1.117 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.115 -r1.116 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.123 -r1.124 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.124 -r1.125 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.18 -r1.19 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.115 -r1.116 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.114 -r1.115 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.92 -r1.93 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/mips

2023-07-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul 29 15:05:31 UTC 2023

Modified Files:
src/sys/compat/linux/arch/mips: syscalls.master

Log Message:
typo


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/compat/linux/arch/mips/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/mips/syscalls.master
diff -u src/sys/compat/linux/arch/mips/syscalls.master:1.76 src/sys/compat/linux/arch/mips/syscalls.master:1.77
--- src/sys/compat/linux/arch/mips/syscalls.master:1.76	Sat Jul 29 11:04:29 2023
+++ src/sys/compat/linux/arch/mips/syscalls.master	Sat Jul 29 11:05:31 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.76 2023/07/29 15:04:29 christos Exp $  
+	$NetBSD: syscalls.master,v 1.77 2023/07/29 15:05:31 christos Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -601,7 +601,7 @@
 356	UNIMPL		execveat
 357	UNIMPL		userfaultfd
 358	UNIMPL		membarrier
-369	UNIMPL		mlock2
+359	UNIMPL		mlock2
 360	UNIMPL		copy_file_range
 361	UNIMPL		preadv2
 362	UNIMPL		pwritev2



CVS commit: src/sys/compat/linux/arch/mips

2023-07-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul 29 15:05:31 UTC 2023

Modified Files:
src/sys/compat/linux/arch/mips: syscalls.master

Log Message:
typo


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/compat/linux/arch/mips/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-28 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jul 29 06:50:47 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
linux/aarch64: Regen for syscalls.master,v 1.8


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.6 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.7
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.6	Fri Jul 28 19:01:44 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Sat Jul 29 06:50:47 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.6 2023/07/28 19:01:44 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.7 2023/07/29 06:50:47 rin Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
Index: src/sys/compat/linux/arch/aarch64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.6 src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.7
--- src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.6	Fri Jul 28 19:01:44 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscallargs.h	Sat Jul 29 06:50:47 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.6 2023/07/28 19:01:44 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.7 2023/07/29 06:50:47 rin Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
Index: src/sys/compat/linux/arch/aarch64/linux_syscalls.c
diff -u src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.6 src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.7
--- src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.6	Fri Jul 28 19:01:44 2023
+++ src/sys/compat/linux/arch/aarch64/linux_syscalls.c	Sat Jul 29 06:50:47 2023
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.6 2023/07/28 19:01:44 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.7 2023/07/29 06:50:47 rin Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.6 2023/07/28 19:01:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.7 2023/07/29 06:50:47 rin Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -25,15 +25,15 @@ __KERNEL_RCSID(0, "$NetBSD: linux_syscal
 #include 
 #include 
 #include 
+#include 
 #include 
+#include 
 #include 
-#include 
 #include 
 #include 
 #include 
-#include 
 #include 
-#include 
+#include 
 #include 
 #else /* _KERNEL_OPT */
 #include 
Index: src/sys/compat/linux/arch/aarch64/linux_sysent.c
diff -u src/sys/compat/linux/arch/aarch64/linux_sysent.c:1.6 src/sys/compat/linux/arch/aarch64/linux_sysent.c:1.7
--- src/sys/compat/linux/arch/aarch64/linux_sysent.c:1.6	Fri Jul 28 19:01:44 2023
+++ src/sys/compat/linux/arch/aarch64/linux_sysent.c	Sat Jul 29 06:50:47 2023
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.6 2023/07/28 19:01:44 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.7 2023/07/29 06:50:47 rin Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.6 2023/07/28 19:01:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.7 2023/07/29 06:50:47 rin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -24,15 +24,15 @@ __KERNEL_RCSID(0, "$NetBSD: linux_sysent
 #include 
 #include 
 #include 
+#include 
 #include 
+#include 
 #include 
-#include 
 #include 
 #include 
 #include 
-#include 
 #include 
-#include 
+#include 
 #include 
 
 #define	s(type)	sizeof(type)
Index: src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/aarch64/lin

CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-28 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jul 29 06:50:47 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
linux/aarch64: Regen for syscalls.master,v 1.8


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-28 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jul 29 06:47:26 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
linux/aarch64/syscalls.master: Dedup and sort headers. NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/syscalls.master
diff -u src/sys/compat/linux/arch/aarch64/syscalls.master:1.7 src/sys/compat/linux/arch/aarch64/syscalls.master:1.8
--- src/sys/compat/linux/arch/aarch64/syscalls.master:1.7	Sat Jul 29 06:45:49 2023
+++ src/sys/compat/linux/arch/aarch64/syscalls.master	Sat Jul 29 06:47:26 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.7 2023/07/29 06:45:49 rin Exp $
+	$NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -53,16 +53,15 @@
 #include 
 
 #include 
-#include 
+#include 
 #include 
+#include 
 #include 
-#include 
 #include 
 #include 
 #include 
-#include 
 #include 
-#include 
+#include 
 
 #include 
 



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-28 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jul 29 06:47:26 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
linux/aarch64/syscalls.master: Dedup and sort headers. NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-28 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jul 29 06:45:50 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
linux/aarch64/syscalls.master: Include linux_misc.h.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/syscalls.master
diff -u src/sys/compat/linux/arch/aarch64/syscalls.master:1.6 src/sys/compat/linux/arch/aarch64/syscalls.master:1.7
--- src/sys/compat/linux/arch/aarch64/syscalls.master:1.6	Fri Jul 28 19:01:10 2023
+++ src/sys/compat/linux/arch/aarch64/syscalls.master	Sat Jul 29 06:45:49 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp $
+	$NetBSD: syscalls.master,v 1.7 2023/07/29 06:45:49 rin Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -53,6 +53,7 @@
 #include 
 
 #include 
+#include 
 #include 
 #include 
 #include 



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-28 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jul 29 06:45:50 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
linux/aarch64/syscalls.master: Include linux_misc.h.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2023-07-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jul 28 19:01:45 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.115 -r1.116 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.114 -r1.115 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.116 -r1.117 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.88 -r1.89 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.21 -r1.22 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.122 -r1.123 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.123 -r1.124 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.17 -r1.18 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.114 -r1.115 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.113 -r1.114 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.91 -r1.92 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2023-07-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jul 28 19:01:11 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master
src/sys/compat/linux/arch/alpha: syscalls.conf syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/i386: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
add epoll syscalls


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/syscalls.master
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/syscalls.conf
cvs rdiff -u -r1.102 -r1.103 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.75 -r1.76 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.130 -r1.131 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.101 -r1.102 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.74 -r1.75 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.80 -r1.81 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2023-07-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jul 28 19:01:11 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master
src/sys/compat/linux/arch/alpha: syscalls.conf syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/i386: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
add epoll syscalls


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/syscalls.master
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/syscalls.conf
cvs rdiff -u -r1.102 -r1.103 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.75 -r1.76 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.130 -r1.131 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.101 -r1.102 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.74 -r1.75 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.80 -r1.81 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/syscalls.master
diff -u src/sys/compat/linux/arch/aarch64/syscalls.master:1.5 src/sys/compat/linux/arch/aarch64/syscalls.master:1.6
--- src/sys/compat/linux/arch/aarch64/syscalls.master:1.5	Mon Jul 10 17:08:26 2023
+++ src/sys/compat/linux/arch/aarch64/syscalls.master	Fri Jul 28 15:01:10 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.5 2023/07/10 21:08:26 christos Exp $
+	$NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -97,9 +97,12 @@
 18	UNIMPL		lookup_dcookie
 19	STD		{ int|linux_sys||eventfd2(unsigned int initval, \
 			int flags); }
-20	UNIMPL		epoll_create1
-21	UNIMPL		epoll_ctl
-22	UNIMPL		epoll_pwait
+20	STD		{ int|linux_sys||epoll_create1(int flags); }
+21	STD		{ int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
+			struct linux_epoll_event *event); }
+22	STD		{ int|linux_sys||epoll_pwait(int epfd, \
+			struct linux_epoll_event *events, int maxevents, \
+			int timeout, const linux_sigset_t *sigmask); }
 23	NOARGS		{ int|sys||dup(int fd); }
 24	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
 25	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
@@ -679,3 +682,7 @@
 
 ; we want a "nosys" syscall, we'll just add an extra entry for it.
 440	STD		{ int|linux_sys||nosys(void); }
+441	STD		{ int|linux_sys||epoll_pwait2(int epfd, \
+			struct linux_epoll_event *events, int maxevents, \
+			const struct linux_timespec *timeout, \
+			const linux_sigset_t *sigmask); }

Index: src/sys/compat/linux/arch/alpha/syscalls.conf
diff -u src/sys/compat/linux/arch/alpha/syscalls.conf:1.3 src/sys/compat/linux/arch/alpha/syscalls.conf:1.4
--- src/sys/compat/linux/arch/alpha/syscalls.conf:1.3	Fri Mar 30 13:31:28 2001
+++ src/sys/compat/linux/arch/alpha/syscalls.conf	Fri Jul 28 15:01:11 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: syscalls.conf,v 1.3 2001/03/30 18:31:28 jdolecek Exp $
+#	$NetBSD: syscalls.conf,v 1.4 2023/07/28 19:01:11 christos Exp $
 
 sysnames="linux_syscalls.c"
 sysnumhdr="linux_syscall.h"
@@ -10,6 +10,6 @@ libcompatopts=""
 switchname="linux_sysent"
 namesname="linux_syscallnames"
 constprefix="LINUX_SYS_"
-nsysent=512
+nsysent=1024
 
 sys_nosys="linux_sys_nosys"

Index: src/sys/compat/linux/arch/alpha/syscalls.master
diff -u src/sys/compat/linux/arch/alpha/syscalls.master:1.102 src/sys/compat/linux/arch/alpha/syscalls.master:1.103
--- src/sys/compat/linux/arch/alpha/syscalls.master:1.102	Wed Dec  1 23:29:47 2021
+++ src/sys/compat/linux/arch/alpha/syscalls.master	Fri Jul 28 15:01:11 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.102 2021/12/02 04:29:47 ryo Exp $
+	$NetBSD: syscalls.master,v 1.103 2023/07/28 19:01:11 christos Exp $
 ;
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -655,9 +655,12 @@
 404	UNIMPL		/* unused */
 405	STD		{ int|linux_sys||exit_group(int error_code); }
 406	UNIMPL		lookup_dcookie
-407	UNIMPL		sys_epoll_create
-408	UNIMPL		sys_epoll_ctl
-409	UNIMPL		sys_epoll_wait
+407	STD		{ int|linux_sys||epoll_create(int size); }
+408	STD		{ int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
+			struct linux_epoll_event *event); }
+409	STD		{ int|linux_sys||epoll_wait(int epfd, \
+			struct linux_epoll_event *events, int maxevents, \
+			int timeout); }
 410	UNIMPL		remap_file_pages
 411	STD		{ int|linux_sys||set_tid_address(int *tid); }
 412	UNIMPL		restart_syscall
@@ -759,7 +762,9 @@
 471	UNIMPL		vmsplice
 472	UNIMPL		move_pages
 473	UNIMPL		getcpu
-474	UNIMPL		epoll_wait
+474	STD		{ int|linux_sys||epoll_pwait(int epfd, \
+			struct linux_epoll_event *events, int maxevents, \
+			int timeout, const linux_sigs

CVS commit: src/sys/compat/linux/arch/amd64

2023-07-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jul 28 18:20:53 UTC 2023

Modified Files:
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.21 -r1.22 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/amd64/linux_syscall.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscall.h:1.77 src/sys/compat/linux/arch/amd64/linux_syscall.h:1.78
--- src/sys/compat/linux/arch/amd64/linux_syscall.h:1.77	Sun Jul  9 22:37:46 2023
+++ src/sys/compat/linux/arch/amd64/linux_syscall.h	Fri Jul 28 14:20:52 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.77 2023/07/10 02:37:46 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.78 2023/07/28 18:20:52 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.69 2023/07/28 18:19:00 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -564,6 +564,9 @@
 /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
 #define	LINUX_SYS_sched_getaffinity	204
 
+/* syscall: "epoll_create" ret: "int" args: "int" */
+#define	LINUX_SYS_epoll_create	213
+
 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
 #define	LINUX_SYS_getdents64	217
 
@@ -603,6 +606,12 @@
 /* syscall: "exit_group" ret: "int" args: "int" */
 #define	LINUX_SYS_exit_group	231
 
+/* syscall: "epoll_wait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" */
+#define	LINUX_SYS_epoll_wait	232
+
+/* syscall: "epoll_ctl" ret: "int" args: "int" "int" "int" "struct linux_epoll_event *" */
+#define	LINUX_SYS_epoll_ctl	233
+
 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
 #define	LINUX_SYS_tgkill	234
 
@@ -660,6 +669,9 @@
 /* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
 #define	LINUX_SYS_utimensat	280
 
+/* syscall: "epoll_pwait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" "const linux_sigset_t *" */
+#define	LINUX_SYS_epoll_pwait	281
+
 /* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */
 #define	LINUX_SYS_timerfd_create	283
 
@@ -681,6 +693,9 @@
 /* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */
 #define	LINUX_SYS_eventfd2	290
 
+/* syscall: "epoll_create1" ret: "int" args: "int" */
+#define	LINUX_SYS_epoll_create1	291
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define	LINUX_SYS_dup3	292
 
@@ -708,6 +723,9 @@
 /* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
 #define	LINUX_SYS_memfd_create	319
 
+/* syscall: "epoll_pwait2" ret: "int" args: "int" "struct linux_epoll_event *" "int" "const struct linux_timespec *" "const linux_sigset_t *" */
+#define	LINUX_SYS_epoll_pwait2	441
+
 /* syscall: "nosys" ret: "int" args: */
 #define	LINUX_SYS_nosys	451
 
Index: src/sys/compat/linux/arch/amd64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.77 src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.78
--- src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.77	Sun Jul  9 22:37:46 2023
+++ src/sys/compat/linux/arch/amd64/linux_syscallargs.h	Fri Jul 28 14:20:52 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.77 2023/07/10 02:37:46 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.78 2023/07/28 18:20:52 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
+ * created from	NetBSD: syscalls.master,v 1.69 2023/07/28 18:19:00 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -837,6 +837,11 @@ struct linux_sys_sched_getaffinity_args 
 };
 check_syscall_args(linux_sys_sched_getaffinity)
 
+struct linux_sys_epoll_create_args {
+	syscallarg(int) size;
+};
+check_syscall_args(linux_sys_epoll_create)
+
 struct linux_sys_getdents64_args {
 	syscallarg(int) fd;
 	syscallarg(struct linux_dirent64 *) dent;
@@ -913,6 +918,22 @@ struct linux_sys_exit_group_args {
 };
 check_syscall_args(linux_sys_exit_group)
 
+struct linux_sys_epoll_wait_args {
+	syscallarg(int) epfd;
+	syscallarg(struct linux_epoll_event *) events;
+	syscallarg(int) maxevents;
+	syscallarg(int) timeout;
+};
+check_syscall_args(linux_sys_epoll_wait)
+
+struct linux_sys_epoll_ctl_args

CVS commit: src/sys/compat/linux/arch/amd64

2023-07-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jul 28 18:20:53 UTC 2023

Modified Files:
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.21 -r1.22 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 21:08:37 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.4 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.5
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.4	Wed Dec  1 23:39:44 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Mon Jul 10 17:08:37 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.4 2021/12/02 04:39:44 ryo Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.5 2023/07/10 21:08:37 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.3 2021/11/25 02:29:33 ryo Exp
+ * created from	NetBSD: syscalls.master,v 1.5 2023/07/10 21:08:26 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -588,6 +588,9 @@
 /* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
 #define	LINUX_SYS_getrandom	278
 
+/* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
+#define	LINUX_SYS_memfd_create	279
+
 /* syscall: "statx" ret: "int" args: "int" "const char *" "int" "unsigned int" "struct linux_statx *" */
 #define	LINUX_SYS_statx	291
 
Index: src/sys/compat/linux/arch/aarch64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.4 src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.5
--- src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.4	Wed Dec  1 23:39:44 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscallargs.h	Mon Jul 10 17:08:37 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.4 2021/12/02 04:39:44 ryo Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.5 2023/07/10 21:08:37 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.3 2021/11/25 02:29:33 ryo Exp
+ * created from	NetBSD: syscalls.master,v 1.5 2023/07/10 21:08:26 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -975,6 +975,12 @@ check_syscall_args(linux_sys_sendmmsg)
 
 struct sys_getrandom_args;
 
+struct linux_sys_memfd_create_args {
+	syscallarg(const char *) name;
+	syscallarg(unsigned int) flags;
+};
+check_syscall_args(linux_sys_memfd_create)
+
 struct linux_sys_statx_args {
 	syscallarg(int) fd;
 	syscallarg(const char *) path;
@@ -1375,6 +1381,8 @@ int	linux_sys_sendmmsg(struct lwp *, con
 
 int	sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
 
+int	linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *);
+
 int	linux_sys_statx(struct lwp *, const struct linux_sys_statx_args *, register_t *);
 
 int	linux_sys_nosys(struct lwp *, const void *, register_t *);
Index: src/sys/compat/linux/arch/aarch64/linux_syscalls.c
diff -u src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.4 src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.5
--- src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.4	Wed Dec  1 23:39:44 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscalls.c	Mon Jul 10 17:08:37 2023
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.4 2021/12/02 04:39:44 ryo Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.5 2023/07/10 21:08:37 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.3 2021/11/25 02:29:33 ryo Exp
+ * created from	NetBSD: syscalls.master,v 1.5 2023/07/10 21:08:26 christos Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.4 2021/12/02 04:39:44 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.5 2023/07/10 21:08:37 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -340,7 +340,7 @@ const char *const linux_syscallnames[] =
 	/* 276 */	"#276 (unimplemented renameat2)",
 	/* 277 */	"#277 (unimplemented seccomp)",
 	/* 278 */	"getrandom",
-	/* 279 */	"#279 (unimplemented memfd_create)",
+	/* 279 */	"memfd_create",
 	/* 280 */	"#280 (unimplemented bpf)",
 	/* 281 */	"#281 (unimplemented execveat)",
 	/* 282 */	"#282 (unimplemented userfaultfd)",
@@ -878,7 +878,7 @@ const char *const altlinux_syscallnames[
 	/* 276 */	NULL, /* unimplemented renameat2 */
 	/* 277 */	NULL, /* unimplemented secco

CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 21:08:37 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 21:08:26 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
add memfd_create


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/syscalls.master
diff -u src/sys/compat/linux/arch/aarch64/syscalls.master:1.4 src/sys/compat/linux/arch/aarch64/syscalls.master:1.5
--- src/sys/compat/linux/arch/aarch64/syscalls.master:1.4	Wed Dec  1 23:29:47 2021
+++ src/sys/compat/linux/arch/aarch64/syscalls.master	Mon Jul 10 17:08:26 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.4 2021/12/02 04:29:47 ryo Exp $
+	$NetBSD: syscalls.master,v 1.5 2023/07/10 21:08:26 christos Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -512,7 +512,8 @@
 277	UNIMPL		seccomp
 278	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
 			unsigned int flags); }
-279	UNIMPL		memfd_create
+279	STD		{ int|linux_sys||memfd_create(const char *name, \
+			unsigned int flags); }
 280	UNIMPL		bpf
 281	UNIMPL		execveat
 282	UNIMPL		userfaultfd



CVS commit: src/sys/compat/linux/arch/aarch64

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 21:08:26 UTC 2023

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
add memfd_create


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/i386

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 13:05:35 UTC 2023

Modified Files:
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.122 -r1.123 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.16 -r1.17 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/i386

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 13:05:35 UTC 2023

Modified Files:
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.122 -r1.123 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.16 -r1.17 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/i386/linux_syscall.h
diff -u src/sys/compat/linux/arch/i386/linux_syscall.h:1.121 src/sys/compat/linux/arch/i386/linux_syscall.h:1.122
--- src/sys/compat/linux/arch/i386/linux_syscall.h:1.121	Wed Dec  1 23:39:45 2021
+++ src/sys/compat/linux/arch/i386/linux_syscall.h	Mon Jul 10 09:05:35 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.121 2021/12/02 04:39:45 ryo Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.122 2023/07/10 13:05:35 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.128 2021/09/20 02:20:02 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -773,6 +773,12 @@
 /* syscall: "prlimit64" ret: "int" args: "pid_t" "int" "struct rlimit *" "struct rlimit *" */
 #define	LINUX_SYS_prlimit64	340
 
-#define	LINUX_SYS_MAXSYSCALL	351
+/* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
+#define	LINUX_SYS_getrandom	355
+
+/* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
+#define	LINUX_SYS_memfd_create	356
+
+#define	LINUX_SYS_MAXSYSCALL	441
 #define	LINUX_SYS_NSYSENT	512
 #endif /* _LINUX_SYS_SYSCALL_H_ */
Index: src/sys/compat/linux/arch/i386/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.121 src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.122
--- src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.121	Wed Dec  1 23:39:45 2021
+++ src/sys/compat/linux/arch/i386/linux_syscallargs.h	Mon Jul 10 09:05:35 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.121 2021/12/02 04:39:45 ryo Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.122 2023/07/10 13:05:35 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.128 2021/09/20 02:20:02 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1222,6 +1222,14 @@ struct linux_sys_prlimit64_args {
 };
 check_syscall_args(linux_sys_prlimit64)
 
+struct sys_getrandom_args;
+
+struct linux_sys_memfd_create_args {
+	syscallarg(const char *) name;
+	syscallarg(unsigned int) flags;
+};
+check_syscall_args(linux_sys_memfd_create)
+
 /*
  * System call prototypes.
  */
@@ -1712,4 +1720,8 @@ int	linux_sys_pwritev(struct lwp *, cons
 
 int	linux_sys_prlimit64(struct lwp *, const struct linux_sys_prlimit64_args *, register_t *);
 
+int	sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
+
+int	linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *);
+
 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
Index: src/sys/compat/linux/arch/i386/linux_sysent.c
diff -u src/sys/compat/linux/arch/i386/linux_sysent.c:1.121 src/sys/compat/linux/arch/i386/linux_sysent.c:1.122
--- src/sys/compat/linux/arch/i386/linux_sysent.c:1.121	Wed Dec  1 23:39:45 2021
+++ src/sys/compat/linux/arch/i386/linux_sysent.c	Mon Jul 10 09:05:35 2023
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.121 2021/12/02 04:39:45 ryo Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.122 2023/07/10 13:05:35 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.128 2021/09/20 02:20:02 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.121 2021/12/02 04:39:45 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.122 2023/07/10 13:05:35 christos Exp $");
 
 #include 
 #include 
@@ -1500,11 +1500,15 @@ struct sysent linux_sysent[] = {
 		.sy_call = linux_sys_nosys,
 	},		/* 354 = filler */
 	{
-		.sy_call = linux_sys_nosys,
-	},		/* 355 = filler */
+		ns(struct sys_getrandom_args),
+		.sy_flags = SYCALL_ARG_PTR,
+		.sy_call = (sy_call_t *)sys_getrandom
+	},		/* 355 = getrandom */
 	{
-		.sy_call = linux_sys_nosys,
-	},		/* 356 = filler */
+		ns(struct linux_sys_memfd_create_args),
+		.sy_flag

CVS commit: src/sys/compat/linux/arch/i386

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 13:05:27 UTC 2023

Modified Files:
src/sys/compat/linux/arch/i386: syscalls.master

Log Message:
Add new syscalls


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/compat/linux/arch/i386/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/i386

2023-07-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 13:05:27 UTC 2023

Modified Files:
src/sys/compat/linux/arch/i386: syscalls.master

Log Message:
Add new syscalls


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/compat/linux/arch/i386/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/i386/syscalls.master
diff -u src/sys/compat/linux/arch/i386/syscalls.master:1.129 src/sys/compat/linux/arch/i386/syscalls.master:1.130
--- src/sys/compat/linux/arch/i386/syscalls.master:1.129	Wed Dec  1 23:29:48 2021
+++ src/sys/compat/linux/arch/i386/syscalls.master	Mon Jul 10 09:05:27 2023
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.129 2021/12/02 04:29:48 ryo Exp $
+	$NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -569,3 +569,95 @@
 348	UNIMPL		process_vm_writev
 349	UNIMPL		kcmp
 350	UNIMPL		finit_module
+351	UNIMPL		sched_setattr
+352	UNIMPL		sched_getattr
+353	UNIMPL		renameat2
+354	UNIMPL		seccomp
+355	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
+			unsigned int flags); }
+356	STD		{ int|linux_sys||memfd_create(const char *name, \
+			unsigned int flags); }
+357	UNIMPL		bpf
+358	UNIMPL		execveat
+359	UNIMPL		socket
+360	UNIMPL		socketpair
+361	UNIMPL		bind
+362	UNIMPL		connect
+363	UNIMPL		listen
+364	UNIMPL		accept4
+365	UNIMPL		getsockopt
+366	UNIMPL		setsockopt
+367	UNIMPL		getsockname
+368	UNIMPL		getpeername
+369	UNIMPL		sendto
+370	UNIMPL		sendmsg
+371	UNIMPL		recvfrom
+372	UNIMPL		recvmsg
+373	UNIMPL		shutdown
+374	UNIMPL		userfaultfd
+375	UNIMPL		membarrier
+376	UNIMPL		mlock2
+377	UNIMPL		copy_file_range
+378	UNIMPL		preadv2
+379	UNIMPL		pwritev2
+380	UNIMPL		pkey_mprotect
+381	UNIMPL		pkey_alloc
+382	UNIMPL		pkey_free
+383	UNIMPL		statx
+384	UNIMPL		arch_prctl
+385	UNIMPL		io_pgetevents
+386	UNIMPL		rseq
+387	UNIMPL
+388	UNIMPL
+389	UNIMPL
+390	UNIMPL
+391	UNIMPL
+392	UNIMPL
+393	UNIMPL		semget
+394	UNIMPL		semctl
+395	UNIMPL		shmget
+396	UNIMPL		shmctl
+397	UNIMPL		shmat
+398	UNIMPL		shmdt
+399	UNIMPL		msgget
+400	UNIMPL		msgsnd
+401	UNIMPL		msgrcv
+402	UNIMPL		msgctl
+403	UNIMPL		clock_gettime64
+404	UNIMPL		clock_settime64
+405	UNIMPL		clock_adjtime64
+406	UNIMPL		clock_getres_time64
+407	UNIMPL		clock_nanosleep_time64
+408	UNIMPL		timer_gettime64
+409	UNIMPL		timer_settime64
+410	UNIMPL		timerfd_gettime64
+411	UNIMPL		timerfd_settime64
+412	UNIMPL		utimensat_time64
+413	UNIMPL		pselect6_time64
+414	UNIMPL		ppoll_time64
+415	UNIMPL
+416	UNIMPL		io_pgetevents_time64
+417	UNIMPL		recvmmsg_time64
+418	UNIMPL		mq_timedsend_time64
+419	UNIMPL		mq_timedreceive_time64
+420	UNIMPL		semtimedop_time64
+421	UNIMPL		rt_sigtimedwait_time64
+422	UNIMPL		futex_time64
+423	UNIMPL		sched_rr_get_interval_time64
+424	UNIMPL		pidfd_send_signal
+425	UNIMPL		io_uring_setup
+426	UNIMPL		io_uring_enter
+427	UNIMPL		io_uring_register
+428	UNIMPL		open_tree
+429	UNIMPL		move_mount
+430	UNIMPL		fsopen
+431	UNIMPL		fsconfig
+432	UNIMPL		fsmount
+433	UNIMPL		fspick
+434	UNIMPL		pidfd_open
+435	UNIMPL		clone3
+436	UNIMPL		close_range
+437	UNIMPL		openat2
+438	UNIMPL		pidfd_getfd
+439	UNIMPL		faccessat2
+440	UNIMPL		process_madvise



CVS commit: src/sys/compat/linux/arch/amd64

2023-07-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 02:37:46 UTC 2023

Modified Files:
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.20 -r1.21 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/amd64/linux_syscall.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscall.h:1.76 src/sys/compat/linux/arch/amd64/linux_syscall.h:1.77
--- src/sys/compat/linux/arch/amd64/linux_syscall.h:1.76	Wed Dec  1 23:39:44 2021
+++ src/sys/compat/linux/arch/amd64/linux_syscall.h	Sun Jul  9 22:37:46 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.76 2021/12/02 04:39:44 ryo Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.77 2023/07/10 02:37:46 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.66 2021/09/20 02:20:02 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -702,9 +702,15 @@
 /* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
 #define	LINUX_SYS_sendmmsg	307
 
+/* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
+#define	LINUX_SYS_getrandom	318
+
+/* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
+#define	LINUX_SYS_memfd_create	319
+
 /* syscall: "nosys" ret: "int" args: */
-#define	LINUX_SYS_nosys	314
+#define	LINUX_SYS_nosys	451
 
-#define	LINUX_SYS_MAXSYSCALL	315
+#define	LINUX_SYS_MAXSYSCALL	452
 #define	LINUX_SYS_NSYSENT	512
 #endif /* _LINUX_SYS_SYSCALL_H_ */
Index: src/sys/compat/linux/arch/amd64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.76 src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.77
--- src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.76	Wed Dec  1 23:39:44 2021
+++ src/sys/compat/linux/arch/amd64/linux_syscallargs.h	Sun Jul  9 22:37:46 2023
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.76 2021/12/02 04:39:44 ryo Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.77 2023/07/10 02:37:46 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.66 2021/09/20 02:20:02 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1126,6 +1126,14 @@ struct linux_sys_sendmmsg_args {
 };
 check_syscall_args(linux_sys_sendmmsg)
 
+struct sys_getrandom_args;
+
+struct linux_sys_memfd_create_args {
+	syscallarg(const char *) name;
+	syscallarg(unsigned int) flags;
+};
+check_syscall_args(linux_sys_memfd_create)
+
 /*
  * System call prototypes.
  */
@@ -1595,6 +1603,10 @@ int	linux_sys_prlimit64(struct lwp *, co
 
 int	linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
 
+int	sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
+
+int	linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *);
+
 int	linux_sys_nosys(struct lwp *, const void *, register_t *);
 
 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
Index: src/sys/compat/linux/arch/amd64/linux_syscalls.c
diff -u src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.76 src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.77
--- src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.76	Wed Dec  1 23:39:44 2021
+++ src/sys/compat/linux/arch/amd64/linux_syscalls.c	Sun Jul  9 22:37:46 2023
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.76 2021/12/02 04:39:44 ryo Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.77 2023/07/10 02:37:46 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.66 2021/09/20 02:20:02 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.76 2021/12/02 04:39:44 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.77 2023/07/10 02:37:46 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -380,144 +380,144 @@ const char *const linux_syscallnames[] =
 	/* 311 */	"#311 (unimplemented process_vm_writev)",
 	/* 312 */	"#312 (unimplemented kcmp)",
 	/* 313 */	"#313 (unimplemented finit_module)",
-	/* 314 */	"nosys",
-	/*

CVS commit: src/sys/compat/linux/arch/amd64

2023-07-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 10 02:37:46 UTC 2023

Modified Files:
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.20 -r1.21 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/alpha

2023-02-12 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Feb 12 14:59:22 UTC 2023

Modified Files:
src/sys/compat/linux/arch/alpha: linux_types.h

Log Message:
fix typo in the include guard definition.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/alpha/linux_types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/alpha/linux_types.h
diff -u src/sys/compat/linux/arch/alpha/linux_types.h:1.7 src/sys/compat/linux/arch/alpha/linux_types.h:1.8
--- src/sys/compat/linux/arch/alpha/linux_types.h:1.7	Fri Dec 27 14:17:11 2013
+++ src/sys/compat/linux/arch/alpha/linux_types.h	Sun Feb 12 14:59:22 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_types.h,v 1.7 2013/12/27 14:17:11 njoly Exp $	*/
+/*	$NetBSD: linux_types.h,v 1.8 2023/02/12 14:59:22 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #ifndef _ALPHA_LINUX_TYPES_H
-#define _ALPAH_LINUX_TYPES_H
+#define _ALPHA_LINUX_TYPES_H
 
 typedef unsigned int linux_uid_t;
 typedef unsigned int linux_gid_t;



CVS commit: src/sys/compat/linux/arch/alpha

2023-02-12 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Feb 12 14:59:22 UTC 2023

Modified Files:
src/sys/compat/linux/arch/alpha: linux_types.h

Log Message:
fix typo in the include guard definition.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/alpha/linux_types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2021-11-29 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Tue Nov 30 01:52:06 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_machdep.h

Log Message:
- uname should return "aarch64" or "aarch64_be" instead of "evbarm".
- define LINUX_LARGEFILE64 to use rlimit instead of orlimit.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/linux_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2021-11-29 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Tue Nov 30 01:52:06 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_machdep.h

Log Message:
- uname should return "aarch64" or "aarch64_be" instead of "evbarm".
- define LINUX_LARGEFILE64 to use rlimit instead of orlimit.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/linux_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_machdep.h
diff -u src/sys/compat/linux/arch/aarch64/linux_machdep.h:1.2 src/sys/compat/linux/arch/aarch64/linux_machdep.h:1.3
--- src/sys/compat/linux/arch/aarch64/linux_machdep.h:1.2	Thu Nov 25 03:08:04 2021
+++ src/sys/compat/linux/arch/aarch64/linux_machdep.h	Tue Nov 30 01:52:06 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_machdep.h,v 1.2 2021/11/25 03:08:04 ryo Exp $	*/
+/*	$NetBSD: linux_machdep.h,v 1.3 2021/11/30 01:52:06 ryo Exp $	*/
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -124,4 +124,11 @@ void linux_syscall_intern(struct proc *)
 __END_DECLS
 #endif /* !_KERNEL */
 
+#if BYTE_ORDER != BIG_ENDIAN
+#define LINUX_UNAME_ARCH	"aarch64"
+#else
+#define LINUX_UNAME_ARCH	"aarch64_be"
+#endif
+#define LINUX_LARGEFILE64
+
 #endif /* !_AARCH64_LINUX_MACHDEP_H */



CVS commit: src/sys/compat/linux/arch/aarch64

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Nov 25 02:32:24 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.2 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.3
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.2	Wed Nov 24 18:57:24 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Thu Nov 25 02:32:24 2021
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.2 2021/11/24 18:57:24 ryo Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.3 2021/11/25 02:32:24 ryo Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.1 2021/09/23 06:56:27 ryo Exp
+ * created from	NetBSD: syscalls.master,v 1.3 2021/11/25 02:29:33 ryo Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -585,6 +585,9 @@
 /* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
 #define	LINUX_SYS_getrandom	278
 
+/* syscall: "statx" ret: "int" args: "int" "const char *" "int" "unsigned int" "struct linux_statx *" */
+#define	LINUX_SYS_statx	291
+
 /* syscall: "nosys" ret: "int" args: */
 #define	LINUX_SYS_nosys	440
 
Index: src/sys/compat/linux/arch/aarch64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.2 src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.3
--- src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.2	Wed Nov 24 18:57:24 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscallargs.h	Thu Nov 25 02:32:24 2021
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.2 2021/11/24 18:57:24 ryo Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.3 2021/11/25 02:32:24 ryo Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.1 2021/09/23 06:56:27 ryo Exp
+ * created from	NetBSD: syscalls.master,v 1.3 2021/11/25 02:29:33 ryo Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -967,6 +967,15 @@ check_syscall_args(linux_sys_sendmmsg)
 
 struct sys_getrandom_args;
 
+struct linux_sys_statx_args {
+	syscallarg(int) fd;
+	syscallarg(const char *) path;
+	syscallarg(int) flag;
+	syscallarg(unsigned int) mask;
+	syscallarg(struct linux_statx *) sp;
+};
+check_syscall_args(linux_sys_statx)
+
 /*
  * System call prototypes.
  */
@@ -1356,6 +1365,8 @@ int	linux_sys_sendmmsg(struct lwp *, con
 
 int	sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
 
+int	linux_sys_statx(struct lwp *, const struct linux_sys_statx_args *, register_t *);
+
 int	linux_sys_nosys(struct lwp *, const void *, register_t *);
 
 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
Index: src/sys/compat/linux/arch/aarch64/linux_syscalls.c
diff -u src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.2 src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.3
--- src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.2	Wed Nov 24 18:57:24 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscalls.c	Thu Nov 25 02:32:24 2021
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.2 2021/11/24 18:57:24 ryo Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.3 2021/11/25 02:32:24 ryo Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.1 2021/09/23 06:56:27 ryo Exp
+ * created from	NetBSD: syscalls.master,v 1.3 2021/11/25 02:29:33 ryo Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.2 2021/11/24 18:57:24 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.3 2021/11/25 02:32:24 ryo Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -352,7 +352,7 @@ const char *const linux_syscallnames[] =
 	/* 288 */	"#288 (unimplemented pkey_mprotect)",
 	/* 289 */	"#289 (unimplemented pkey_alloc)",
 	/* 290 */	"#290 (unimplemented pkey_free)",
-	/* 291 */	"#291 (unimplemented statx)",
+	/* 291 */	"statx",
 	/* 292 */	"#292 (unimplemented io_pgetevents)",
 	/* 293 */	"#293 (unimplemented rseq)",
 	/* 294 */	"#294 (unimplemented kexec_file_load)",
@@ -890,7 +890,7 @@ const char *const altlinux_syscallnames[
 	/* 288 */	NULL, /* unimplemented pkey_mprotect */
 	/* 289 */	NULL, /* unimplemented pkey_alloc */
 	/* 290 */	NULL, /* unimplemented pkey_free */
-	/* 291 */	NULL, /* unimplemented stat

CVS commit: src/sys/compat/linux/arch/aarch64

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Nov 25 02:32:24 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/aarch64

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Nov 25 02:29:33 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
add statx(2) syscall entry


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/syscalls.master
diff -u src/sys/compat/linux/arch/aarch64/syscalls.master:1.2 src/sys/compat/linux/arch/aarch64/syscalls.master:1.3
--- src/sys/compat/linux/arch/aarch64/syscalls.master:1.2	Wed Nov 24 18:52:13 2021
+++ src/sys/compat/linux/arch/aarch64/syscalls.master	Thu Nov 25 02:29:33 2021
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.2 2021/11/24 18:52:13 ryo Exp $
+	$NetBSD: syscalls.master,v 1.3 2021/11/25 02:29:33 ryo Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -523,7 +523,9 @@
 288	UNIMPL		pkey_mprotect
 289	UNIMPL		pkey_alloc
 290	UNIMPL		pkey_free
-291	UNIMPL		statx
+291	STD		{ int|linux_sys||statx(int fd, const char *path, \
+			int flag, unsigned int mask, \
+			struct linux_statx *sp); }
 292	UNIMPL		io_pgetevents
 293	UNIMPL		rseq
 294	UNIMPL		kexec_file_load



CVS commit: src/sys/compat/linux/arch/aarch64

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Nov 25 02:29:33 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master

Log Message:
add statx(2) syscall entry


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Nov 24 18:57:25 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.19 -r1.20 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.112 -r1.113 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.111 -r1.112 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.89 -r1.90 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Nov 24 18:57:25 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/linux_syscall.h \
src/sys/compat/linux/arch/aarch64/linux_syscallargs.h \
src/sys/compat/linux/arch/aarch64/linux_syscalls.c \
src/sys/compat/linux/arch/aarch64/linux_sysent.c \
src/sys/compat/linux/arch/aarch64/linux_systrace_args.c
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.19 -r1.20 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.112 -r1.113 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.111 -r1.112 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.89 -r1.90 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/linux_syscall.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.1 src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.2
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h:1.1	Thu Sep 23 06:56:27 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h	Wed Nov 24 18:57:24 2021
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.1 2021/09/23 06:56:27 ryo Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.2 2021/11/24 18:57:24 ryo Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD
+ * created from	NetBSD: syscalls.master,v 1.1 2021/09/23 06:56:27 ryo Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -582,6 +582,9 @@
 /* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
 #define	LINUX_SYS_sendmmsg	269
 
+/* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
+#define	LINUX_SYS_getrandom	278
+
 /* syscall: "nosys" ret: "int" args: */
 #define	LINUX_SYS_nosys	440
 
Index: src/sys/compat/linux/arch/aarch64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.1 src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.2
--- src/sys/compat/linux/arch/aarch64/linux_syscallargs.h:1.1	Thu Sep 23 06:56:27 2021
+++ src/sys/compat/linux/arch/aarch64/linux_syscallargs.h	Wed Nov 24 18:57:24 2021
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.1 2021/09/23 06:56:27 ryo Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.2 2021/11/24 18:57:24 ryo Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD
+ * created from	NetBSD: syscalls.master,v 1.1 2021/09/23 06:56:27 ryo Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -965,6 +965,8 @@ struct linux_sys_sendmmsg_args {
 };
 check_syscall_args(linux_sys_sendmmsg)
 
+struct sys_getrandom_args;
+
 /*
  * System call prototypes.
  */
@@ -1352,6 +1354,8 @@ int	linux_sys_wait4(struct lwp *, const 
 
 int	linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
 
+int	sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
+
 int	linux_sys_nosys(struct lwp *, const void *, register_t *);
 
 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
Index: src/sys/compat/linux/arch/aarch64/linux_syscalls.c
diff -u src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.1 src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.2
--- src/sys/compat/linux/arch/aarch64/linux_syscalls.c:1.1	Thu Sep 23 06:56:27 2021
+++ src/sys/compat/linux/arch/aarc

CVS commit: src/sys/compat/linux/arch

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Nov 24 18:52:13 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
add getrandom(2) syscall entry


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/syscalls.master
cvs rdiff -u -r1.73 -r1.74 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.99 -r1.100 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.72 -r1.73 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/syscalls.master
diff -u src/sys/compat/linux/arch/aarch64/syscalls.master:1.1 src/sys/compat/linux/arch/aarch64/syscalls.master:1.2
--- src/sys/compat/linux/arch/aarch64/syscalls.master:1.1	Thu Sep 23 06:56:27 2021
+++ src/sys/compat/linux/arch/aarch64/syscalls.master	Wed Nov 24 18:52:13 2021
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.1 2021/09/23 06:56:27 ryo Exp $
+	$NetBSD: syscalls.master,v 1.2 2021/11/24 18:52:13 ryo Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -509,7 +509,8 @@
 275	UNIMPL		sched_getattr
 276	UNIMPL		renameat2
 277	UNIMPL		seccomp
-278	UNIMPL		getrandom
+278	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
+			unsigned int flags); }
 279	UNIMPL		memfd_create
 280	UNIMPL		bpf
 281	UNIMPL		execveat

Index: src/sys/compat/linux/arch/arm/syscalls.master
diff -u src/sys/compat/linux/arch/arm/syscalls.master:1.73 src/sys/compat/linux/arch/arm/syscalls.master:1.74
--- src/sys/compat/linux/arch/arm/syscalls.master:1.73	Mon Sep 20 02:20:02 2021
+++ src/sys/compat/linux/arch/arm/syscalls.master	Wed Nov 24 18:52:13 2021
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.73 2021/09/20 02:20:02 thorpej Exp $
+	$NetBSD: syscalls.master,v 1.74 2021/11/24 18:52:13 ryo Exp $
 
 ; Derived from sys/compat/linux/arch/*/syscalls.master
 ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -613,7 +613,8 @@
 382	UNIMPL		renameat2
 383	UNIMPL		seccomp
 ; XXX FIX-me?
-; 384	UNIMPL		getrandom
+; 384	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
+			unsigned int flags); }
 ; 385	UNIMPL		memfd_create
 
 ; ARMLinux actually has two ranges of syscalls.  Normal syscalls use

Index: src/sys/compat/linux/arch/m68k/syscalls.master
diff -u src/sys/compat/linux/arch/m68k/syscalls.master:1.99 src/sys/compat/linux/arch/m68k/syscalls.master:1.100
--- src/sys/compat/linux/arch/m68k/syscalls.master:1.99	Mon Sep 20 02:20:02 2021
+++ src/sys/compat/linux/arch/m68k/syscalls.master	Wed Nov 24 18:52:13 2021
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.99 2021/09/20 02:20:02 thorpej Exp $
+	$NetBSD: syscalls.master,v 1.100 2021/11/24 18:52:13 ryo Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -591,7 +591,8 @@
 349	UNIMPL		sched_setattr
 350	UNIMPL		sched_getattr
 351	UNIMPL		renameat2
-352	UNIMPL		getrandom
+352	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
+			unsigned int flags); }
 353	UNIMPL		memfd_create
 354	UNIMPL		bpf
 355	UNIMPL		execveat

Index: src/sys/compat/linux/arch/mips/syscalls.master
diff -u src/sys/compat/linux/arch/mips/syscalls.master:1.72 src/sys/compat/linux/arch/mips/syscalls.master:1.73
--- src/sys/compat/linux/arch/mips/syscalls.master:1.72	Mon Sep 20 02:20:02 2021
+++ src/sys/compat/linux/arch/mips/syscalls.master	Wed Nov 24 18:52:13 2021
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.72 2021/09/20 02:20:02 thorpej Exp $  
+	$NetBSD: syscalls.master,v 1.73 2021/11/24 18:52:13 ryo Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -587,7 +587,8 @@
 351	UNIMPL		sched_getattr
 352	UNIMPL		renameat2
 353	UNIMPL		seccomp
-354	UNIMPL		getrandom
+354	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
+			unsigned int flags); }
 355	UNIMPL		memfd_create
 356	UNIMPL		bpf
 357	UNIMPL		execveat

Index: src/sys/compat/linux/arch/powerpc/syscalls.master
diff -u src/sys/compat/linux/arch/powerpc/syscalls.master:1.78 src/sys/compat/linux/arch/powerpc/syscalls.master:1.79
--- src/sys/compat/linux/arch/powerpc/syscalls.master:1.78	Mon Sep 20 02:20:02 2021
+++ src/sys/compat/linux/arch/powerpc/syscalls.master	Wed Nov 24 18:52:13 2021
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.78 2021/09/20 02:20:02 thorpej Exp $  
+	$NetBSD: syscalls.master,v 1.79 2021/11/24 18:52:13 ryo Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -602,7 +602,8 @@
 356	UNIMPL		sched_getattr
 357	UNIMPL		renameat2
 358	UNIMPL		seccomp
-359	UNIMPL		getrandom
+359	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
+			unsigned 

CVS commit: src/sys/compat/linux/arch

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Nov 24 18:52:13 UTC 2021

Modified Files:
src/sys/compat/linux/arch/aarch64: syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
add getrandom(2) syscall entry


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/syscalls.master
cvs rdiff -u -r1.73 -r1.74 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.99 -r1.100 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.72 -r1.73 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Nov 24 18:50:28 UTC 2021

Modified Files:
src/sys/compat/linux/arch: Makefile

Log Message:
add missing SUBDIR aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Nov 24 18:50:28 UTC 2021

Modified Files:
src/sys/compat/linux/arch: Makefile

Log Message:
add missing SUBDIR aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/Makefile
diff -u src/sys/compat/linux/arch/Makefile:1.2 src/sys/compat/linux/arch/Makefile:1.3
--- src/sys/compat/linux/arch/Makefile:1.2	Sat Nov  9 22:02:45 2019
+++ src/sys/compat/linux/arch/Makefile	Wed Nov 24 18:50:28 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2019/11/09 22:02:45 jdolecek Exp $
+# $NetBSD: Makefile,v 1.3 2021/11/24 18:50:28 ryo Exp $
 
 # XXX sparc sparc64 exist but have no syscalls.master
-SUBDIR=alpha amd64 arm i386 m68k mips powerpc
+SUBDIR=aarch64 alpha amd64 arm i386 m68k mips powerpc
 
 
 .include 



CVS commit: src/sys/compat/linux/arch

2019-11-09 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Nov  9 22:02:45 UTC 2019

Modified Files:
src/sys/compat/linux/arch: Makefile

Log Message:
don't descend to sparc and sparc64, they don't have syscalls.master
so it just errors out


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2019-11-09 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Nov  9 22:02:45 UTC 2019

Modified Files:
src/sys/compat/linux/arch: Makefile

Log Message:
don't descend to sparc and sparc64, they don't have syscalls.master
so it just errors out


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/Makefile
diff -u src/sys/compat/linux/arch/Makefile:1.1 src/sys/compat/linux/arch/Makefile:1.2
--- src/sys/compat/linux/arch/Makefile:1.1	Mon Jan 16 00:11:42 2017
+++ src/sys/compat/linux/arch/Makefile	Sat Nov  9 22:02:45 2019
@@ -1,5 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2017/01/16 00:11:42 christos Exp $
+# $NetBSD: Makefile,v 1.2 2019/11/09 22:02:45 jdolecek Exp $
+
+# XXX sparc sparc64 exist but have no syscalls.master
+SUBDIR=alpha amd64 arm i386 m68k mips powerpc
 
-SUBDIR=alpha amd64 arm i386 m68k mips powerpc sparc sparc64
 
 .include 



CVS commit: src/sys/compat/linux/arch/amd64

2019-08-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Aug 23 10:31:14 UTC 2019

Modified Files:
src/sys/compat/linux/arch/amd64: linux_machdep.c

Log Message:
Remove printf.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/amd64/linux_machdep.c
diff -u src/sys/compat/linux/arch/amd64/linux_machdep.c:1.58 src/sys/compat/linux/arch/amd64/linux_machdep.c:1.59
--- src/sys/compat/linux/arch/amd64/linux_machdep.c:1.58	Sun May 19 08:46:15 2019
+++ src/sys/compat/linux/arch/amd64/linux_machdep.c	Fri Aug 23 10:31:14 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_machdep.c,v 1.58 2019/05/19 08:46:15 maxv Exp $ */
+/*	$NetBSD: linux_machdep.c,v 1.59 2019/08/23 10:31:14 maxv Exp $ */
 
 /*-
  * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
 
 #include 
 
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.58 2019/05/19 08:46:15 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.59 2019/08/23 10:31:14 maxv Exp $");
 
 #include 
 #include 
@@ -263,7 +263,6 @@ linux_sendsig(const ksiginfo_t *ksi, con
 int
 linux_sys_modify_ldt(struct lwp *l, const struct linux_sys_modify_ldt_args *v, register_t *retval)
 {
-	printf("linux_sys_modify_ldt\n");
 	return 0;
 }
 



CVS commit: src/sys/compat/linux/arch/amd64

2019-08-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Aug 23 10:31:14 UTC 2019

Modified Files:
src/sys/compat/linux/arch/amd64: linux_machdep.c

Log Message:
Remove printf.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/sys/compat/linux/arch

2017-01-03 Thread Ryo ONODERA
From: m...@netbsd.org (Emmanuel Dreyfus), Date: Tue, 3 Jan 2017 02:30:17 +0100

> Ryo ONODERA  wrote:
> 
>> This commit breaks my kernel build.
>> It seems that this commit does not fit with -current's format.
>> Could you regenerate these files again?
> 
> What error do you get?

Here is typical errors. Anyway these are fixed already.
Thank you.

/usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:1088:6: error: missing initi
alizer for field 'sy_entry' of 'struct sysent' [-Werror=missing-field-initialize
rs]
  linux_sys_nosys },   /* 503 = filler */
  ^
In file included from /usr/src/sys/sys/timevar.h:66:0,
 from /usr/src/sys/sys/time.h:296,
 from /usr/src/sys/sys/param.h:145,
 from /usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:18:
/usr/src/sys/sys/systm.h:125:11: note: 'sy_entry' declared here
  uint32_t sy_entry; /* DTrace entry ID for systrace. */
   ^
/usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:1090:6: error: missing initi
alizer for field 'sy_entry' of 'struct sysent' [-Werror=missing-field-initialize
rs]
  linux_sys_nosys },   /* 504 = filler */
  ^
In file included from /usr/src/sys/sys/timevar.h:66:0,
 from /usr/src/sys/sys/time.h:296,
 from /usr/src/sys/sys/param.h:145,
 from /usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:18:
/usr/src/sys/sys/systm.h:125:11: note: 'sy_entry' declared here
  uint32_t sy_entry; /* DTrace entry ID for systrace. */
   ^
/usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:1092:6: error: missing initi
alizer for field 'sy_entry' of 'struct sysent' [-Werror=missing-field-initialize
rs]
  linux_sys_nosys },   /* 505 = filler */
  ^
In file included from /usr/src/sys/sys/timevar.h:66:0,
 from /usr/src/sys/sys/time.h:296,
 from /usr/src/sys/sys/param.h:145,
 from /usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:18:
/usr/src/sys/sys/systm.h:125:11: note: 'sy_entry' declared here
  uint32_t sy_entry; /* DTrace entry ID for systrace. */
   ^


> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> m...@netbsd.org

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Emmanuel Dreyfus
Ryo ONODERA  wrote:

> This commit breaks my kernel build.
> It seems that this commit does not fit with -current's format.
> Could you regenerate these files again?

I was running a build to reproduce the problem, when I noticed martin@
fixed it.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org


Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Emmanuel Dreyfus
Ryo ONODERA  wrote:

> This commit breaks my kernel build.
> It seems that this commit does not fit with -current's format.
> Could you regenerate these files again?

What error do you get?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org


Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Ryo ONODERA
Hi,

This commit breaks my kernel build.
It seems that this commit does not fit with -current's format.
Could you regenerate these files again?

Thank you.

From: "Emmanuel Dreyfus" , Date: Mon, 2 Jan 2017 16:32:39 +

> Module Name:  src
> Committed By: manu
> Date: Mon Jan  2 16:32:39 UTC 2017
> 
> Modified Files:
>   src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
> 
> Log Message:
> Regen
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.99 -r1.100 src/sys/compat/linux/arch/alpha/linux_syscall.h \
> src/sys/compat/linux/arch/alpha/linux_sysent.c
> cvs rdiff -u -r1.98 -r1.99 \
> src/sys/compat/linux/arch/alpha/linux_syscallargs.h
> cvs rdiff -u -r1.100 -r1.101 src/sys/compat/linux/arch/alpha/linux_syscalls.c
> cvs rdiff -u -r1.60 -r1.61 src/sys/compat/linux/arch/amd64/linux_syscall.h \
> src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
> src/sys/compat/linux/arch/amd64/linux_syscalls.c \
> src/sys/compat/linux/arch/amd64/linux_sysent.c
> cvs rdiff -u -r1.69 -r1.70 src/sys/compat/linux/arch/arm/linux_syscall.h \
> src/sys/compat/linux/arch/arm/linux_syscallargs.h \
> src/sys/compat/linux/arch/arm/linux_syscalls.c \
> src/sys/compat/linux/arch/arm/linux_sysent.c
> cvs rdiff -u -r1.108 -r1.109 src/sys/compat/linux/arch/i386/linux_syscall.h \
> src/sys/compat/linux/arch/i386/linux_syscallargs.h \
> src/sys/compat/linux/arch/i386/linux_sysent.c
> cvs rdiff -u -r1.109 -r1.110 src/sys/compat/linux/arch/i386/linux_syscalls.c
> cvs rdiff -u -r1.98 -r1.99 src/sys/compat/linux/arch/m68k/linux_syscall.h \
> src/sys/compat/linux/arch/m68k/linux_syscalls.c \
> src/sys/compat/linux/arch/m68k/linux_sysent.c
> cvs rdiff -u -r1.97 -r1.98 src/sys/compat/linux/arch/m68k/linux_syscallargs.h
> cvs rdiff -u -r1.67 -r1.68 src/sys/compat/linux/arch/mips/linux_syscall.h
> cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux/arch/mips/linux_syscallargs.h 
> \
> src/sys/compat/linux/arch/mips/linux_syscalls.c \
> src/sys/compat/linux/arch/mips/linux_sysent.c
> cvs rdiff -u -r1.76 -r1.77 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
> src/sys/compat/linux/arch/powerpc/linux_sysent.c
> cvs rdiff -u -r1.75 -r1.76 \
> src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
> src/sys/compat/linux/arch/powerpc/linux_syscalls.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Christos Zoulas
On Sep 26,  8:17pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| No. You committed this:
| 
|   if ((t = proc_find(SCARG(uap, pid))) == NULL) {
|   mutex_exit(proc_lock);
| - return ESRCH;
| + goto out;
|   }

That is a bug! I'll fix it.

christos


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Maxime Villard
Le 21/09/2014 18:58, Christos Zoulas a écrit :
> 
> Module Name:  src
> Committed By: christos
> Date: Sun Sep 21 16:58:42 UTC 2014
> 
> Modified Files:
>   src/sys/compat/linux/arch/i386: linux_ptrace.c
> 
> Log Message:
> fix leak
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.28 -r1.29 src/sys/compat/linux/arch/i386/linux_ptrace.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 
> 

Can you tell me where 'error' is initialized?


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Maxime Villard

Le 26/09/2014 19:50, Christos Zoulas a écrit :

On Sep 26,  7:29pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| Looks like I chose the wrong thread, I was talking about
| sys/compat/linux/arch/powerpc/linux_ptrace.c.

line 121?

christos



No. You committed this:

if ((t = proc_find(SCARG(uap, pid))) == NULL) {
mutex_exit(proc_lock);
-   return ESRCH;
+   goto out;
}

it will return 0 instead of ESRCH


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Christos Zoulas
On Sep 26,  7:29pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| Looks like I chose the wrong thread, I was talking about
| sys/compat/linux/arch/powerpc/linux_ptrace.c.

line 121?

christos


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Maxime Villard

Le 26/09/2014 19:08, Christos Zoulas a écrit :

On Sep 26,  6:13pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| Can you tell me where 'error' is initialized?

line 145?

christos



Looks like I chose the wrong thread, I was talking about
sys/compat/linux/arch/powerpc/linux_ptrace.c.


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Christos Zoulas
On Sep 26,  6:13pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| Can you tell me where 'error' is initialized?

line 145?

christos


CVS commit: src/sys/compat/linux/arch

2010-03-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  2 15:46:19 UTC 2010

Modified Files:
src/sys/compat/linux/arch/amd64: linux_commons.c
src/sys/compat/linux/arch/arm: linux_commons.c
src/sys/compat/linux/arch/i386: linux_commons.c

Log Message:
Nuke fs_lfs.h included for unknown reasons (if there was a reason
other than "accident", i hereby declare that reason invalid)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/linux/arch/amd64/linux_commons.c
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux/arch/arm/linux_commons.c
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/arch/i386/linux_commons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2010-03-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  2 15:46:19 UTC 2010

Modified Files:
src/sys/compat/linux/arch/amd64: linux_commons.c
src/sys/compat/linux/arch/arm: linux_commons.c
src/sys/compat/linux/arch/i386: linux_commons.c

Log Message:
Nuke fs_lfs.h included for unknown reasons (if there was a reason
other than "accident", i hereby declare that reason invalid)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/linux/arch/amd64/linux_commons.c
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux/arch/arm/linux_commons.c
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/arch/i386/linux_commons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/amd64/linux_commons.c
diff -u src/sys/compat/linux/arch/amd64/linux_commons.c:1.9 src/sys/compat/linux/arch/amd64/linux_commons.c:1.10
--- src/sys/compat/linux/arch/amd64/linux_commons.c:1.9	Wed Nov 19 18:36:03 2008
+++ src/sys/compat/linux/arch/amd64/linux_commons.c	Tue Mar  2 15:46:19 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_commons.c,v 1.9 2008/11/19 18:36:03 ad Exp $ */
+/*	$NetBSD: linux_commons.c,v 1.10 2010/03/02 15:46:19 pooka Exp $ */
 
 /*
  * This file includes C files from the common
@@ -13,11 +13,10 @@
  */
 
 #include 
-__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.9 2008/11/19 18:36:03 ad Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.10 2010/03/02 15:46:19 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
-#include "fs_lfs.h"
 #endif
 
 #include 

Index: src/sys/compat/linux/arch/arm/linux_commons.c
diff -u src/sys/compat/linux/arch/arm/linux_commons.c:1.8 src/sys/compat/linux/arch/arm/linux_commons.c:1.9
--- src/sys/compat/linux/arch/arm/linux_commons.c:1.8	Wed Nov 19 18:36:03 2008
+++ src/sys/compat/linux/arch/arm/linux_commons.c	Tue Mar  2 15:46:19 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_commons.c,v 1.8 2008/11/19 18:36:03 ad Exp $	*/
+/*	$NetBSD: linux_commons.c,v 1.9 2010/03/02 15:46:19 pooka Exp $	*/
 
 /*
  * This file includes C files from the common
@@ -13,11 +13,10 @@
  */
 
 #include 
-__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.8 2008/11/19 18:36:03 ad Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.9 2010/03/02 15:46:19 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
-#include "fs_lfs.h"
 #endif
 
 #include 

Index: src/sys/compat/linux/arch/i386/linux_commons.c
diff -u src/sys/compat/linux/arch/i386/linux_commons.c:1.13 src/sys/compat/linux/arch/i386/linux_commons.c:1.14
--- src/sys/compat/linux/arch/i386/linux_commons.c:1.13	Wed Nov 19 18:36:03 2008
+++ src/sys/compat/linux/arch/i386/linux_commons.c	Tue Mar  2 15:46:19 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_commons.c,v 1.13 2008/11/19 18:36:03 ad Exp $	*/
+/*	$NetBSD: linux_commons.c,v 1.14 2010/03/02 15:46:19 pooka Exp $	*/
 
 /*
  * This file includes C files from the common
@@ -13,11 +13,10 @@
  */
 
 #include 
-__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.13 2008/11/19 18:36:03 ad Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.14 2010/03/02 15:46:19 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
-#include "fs_lfs.h"
 #endif
 
 #include 



CVS commit: src/sys/compat/linux/arch/amd64

2010-02-09 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Feb  9 16:46:07 UTC 2010

Modified Files:
src/sys/compat/linux/arch/amd64: linux_exec_machdep.c

Log Message:
Small typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/sys/compat/linux/arch/amd64/linux_exec_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/i386

2010-02-03 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Feb  3 13:48:53 UTC 2010

Modified Files:
src/sys/compat/linux/arch/i386: linux_machdep.c

Log Message:
Remove extra parenthesis. Found by cppcheck, reported by
Henning Petersen in PR 42732.


To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sys/compat/linux/arch/i386/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch/powerpc

2010-02-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Feb  2 15:02:08 UTC 2010

Modified Files:
src/sys/compat/linux/arch/powerpc: linux_machdep.c

Log Message:
Missing printf in sys/compat/linux/arch/powerpc/linux_machdep.c
found by cppcheck and reported by Henning Petersen in PR 42720.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/linux/arch/powerpc/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.