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/mips

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 22:02:05 UTC 2017

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

Log Message:
revert listen


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 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/mips

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 22:02:05 UTC 2017

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

Log Message:
revert listen


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 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.65 src/sys/compat/linux/arch/mips/syscalls.master:1.66
--- src/sys/compat/linux/arch/mips/syscalls.master:1.65	Wed Feb  8 22:23:59 2017
+++ src/sys/compat/linux/arch/mips/syscalls.master	Thu Feb  9 17:02:05 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp $  
+	$NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -295,7 +295,7 @@
 			int *alen); }
 173	STD		{ int|linux_sys||getsockopt(int s, int level, \
 			int optname, void *optval, int *optlen); }
-174	STD		{ int|linux_sys||listen(int s, int backlog); }
+174	NOARGS		{ int|sys||listen(int s, int backlog); }
 175	STD		{ int|linux_sys||recv(int s, void *buf, int len, \
 			int flags); }
 176	STD		{ int|linux_sys||recvfrom(int s, void *buf, int len, \



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

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 22:02:14 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.75 -r1.76 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.74 -r1.75 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

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

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 22:02:14 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.75 -r1.76 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.74 -r1.75 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

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/linux_syscall.h
diff -u src/sys/compat/linux/arch/mips/linux_syscall.h:1.75 src/sys/compat/linux/arch/mips/linux_syscall.h:1.76
--- src/sys/compat/linux/arch/mips/linux_syscall.h:1.75	Wed Feb  8 22:24:05 2017
+++ src/sys/compat/linux/arch/mips/linux_syscall.h	Thu Feb  9 17:02:13 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.75 2017/02/09 03:24:05 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.76 2017/02/09 22:02:13 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_

Index: src/sys/compat/linux/arch/mips/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.74 src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.75
--- src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.74	Wed Feb  8 22:24:05 2017
+++ src/sys/compat/linux/arch/mips/linux_syscallargs.h	Thu Feb  9 17:02:13 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.74 2017/02/09 03:24:05 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.75 2017/02/09 22:02:13 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -593,11 +593,7 @@ struct linux_sys_getsockopt_args {
 };
 check_syscall_args(linux_sys_getsockopt)
 
-struct linux_sys_listen_args {
-	syscallarg(int) s;
-	syscallarg(int) backlog;
-};
-check_syscall_args(linux_sys_listen)
+struct sys_listen_args;
 
 struct linux_sys_recv_args {
 	syscallarg(int) s;
@@ -1448,7 +1444,7 @@ int	linux_sys_getsockname(struct lwp *, 
 
 int	linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
 
-int	linux_sys_listen(struct lwp *, const struct linux_sys_listen_args *, register_t *);
+int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
 
 int	linux_sys_recv(struct lwp *, const struct linux_sys_recv_args *, register_t *);
 
Index: src/sys/compat/linux/arch/mips/linux_syscalls.c
diff -u src/sys/compat/linux/arch/mips/linux_syscalls.c:1.74 src/sys/compat/linux/arch/mips/linux_syscalls.c:1.75
--- src/sys/compat/linux/arch/mips/linux_syscalls.c:1.74	Wed Feb  8 22:24:05 2017
+++ src/sys/compat/linux/arch/mips/linux_syscalls.c	Thu Feb  9 17:02:13 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.74 2017/02/09 03:24:05 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.75 2017/02/09 22:02:13 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp  
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.74 2017/02/09 03:24:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.75 2017/02/09 22:02:13 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
Index: src/sys/compat/linux/arch/mips/linux_sysent.c
diff -u src/sys/compat/linux/arch/mips/linux_sysent.c:1.74 src/sys/compat/linux/arch/mips/linux_sysent.c:1.75
--- src/sys/compat/linux/arch/mips/linux_sysent.c:1.74	Wed Feb  8 22:24:05 2017
+++ src/sys/compat/linux/arch/mips/linux_sysent.c	Thu Feb  9 17:02:13 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.74 2017/02/09 03:24:05 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.75 2017/02/09 22:02:13 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp  
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.74 2017/02/09 03:24:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.75 2017/02/09 22:02:13 christos Exp $");
 
 #include 
 #include 
@@ -763,8 +763,8 @@ struct sysent 

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

2017-02-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 03:24:06 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.74 -r1.75 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.73 -r1.74 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

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/linux_syscall.h
diff -u src/sys/compat/linux/arch/mips/linux_syscall.h:1.74 src/sys/compat/linux/arch/mips/linux_syscall.h:1.75
--- src/sys/compat/linux/arch/mips/linux_syscall.h:1.74	Sat Feb  4 13:14:55 2017
+++ src/sys/compat/linux/arch/mips/linux_syscall.h	Wed Feb  8 22:24:05 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.74 2017/02/04 18:14:55 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.75 2017/02/09 03:24:05 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_

Index: src/sys/compat/linux/arch/mips/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.73 src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.74
--- src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.73	Sat Feb  4 13:14:55 2017
+++ src/sys/compat/linux/arch/mips/linux_syscallargs.h	Wed Feb  8 22:24:05 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.73 2017/02/04 18:14:55 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.74 2017/02/09 03:24:05 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -593,7 +593,11 @@ struct linux_sys_getsockopt_args {
 };
 check_syscall_args(linux_sys_getsockopt)
 
-struct sys_listen_args;
+struct linux_sys_listen_args {
+	syscallarg(int) s;
+	syscallarg(int) backlog;
+};
+check_syscall_args(linux_sys_listen)
 
 struct linux_sys_recv_args {
 	syscallarg(int) s;
@@ -1444,7 +1448,7 @@ int	linux_sys_getsockname(struct lwp *, 
 
 int	linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
 
-int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
+int	linux_sys_listen(struct lwp *, const struct linux_sys_listen_args *, register_t *);
 
 int	linux_sys_recv(struct lwp *, const struct linux_sys_recv_args *, register_t *);
 
Index: src/sys/compat/linux/arch/mips/linux_syscalls.c
diff -u src/sys/compat/linux/arch/mips/linux_syscalls.c:1.73 src/sys/compat/linux/arch/mips/linux_syscalls.c:1.74
--- src/sys/compat/linux/arch/mips/linux_syscalls.c:1.73	Sat Feb  4 13:14:55 2017
+++ src/sys/compat/linux/arch/mips/linux_syscalls.c	Wed Feb  8 22:24:05 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.73 2017/02/04 18:14:55 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.74 2017/02/09 03:24:05 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.73 2017/02/04 18:14:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.74 2017/02/09 03:24:05 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
Index: src/sys/compat/linux/arch/mips/linux_sysent.c
diff -u src/sys/compat/linux/arch/mips/linux_sysent.c:1.73 src/sys/compat/linux/arch/mips/linux_sysent.c:1.74
--- src/sys/compat/linux/arch/mips/linux_sysent.c:1.73	Sat Feb  4 13:14:55 2017
+++ src/sys/compat/linux/arch/mips/linux_sysent.c	Wed Feb  8 22:24:05 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.73 2017/02/04 18:14:55 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.74 2017/02/09 03:24:05 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp  
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.73 2017/02/04 18:14:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.74 2017/02/09 03:24:05 christos Exp $");
 
 #include 
 #include 
@@ -763,8 +763,8 @@ struct sysent 

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

2017-02-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 03:24:06 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.74 -r1.75 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.73 -r1.74 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

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

2017-02-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 03:23:59 UTC 2017

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

Log Message:
fix listen


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 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.64 src/sys/compat/linux/arch/mips/syscalls.master:1.65
--- src/sys/compat/linux/arch/mips/syscalls.master:1.64	Sat Feb  4 13:14:44 2017
+++ src/sys/compat/linux/arch/mips/syscalls.master	Wed Feb  8 22:23:59 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp $  
+	$NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -295,7 +295,7 @@
 			int *alen); }
 173	STD		{ int|linux_sys||getsockopt(int s, int level, \
 			int optname, void *optval, int *optlen); }
-174	NOARGS		{ int|sys||listen(int s, int backlog); }
+174	STD		{ int|linux_sys||listen(int s, int backlog); }
 175	STD		{ int|linux_sys||recv(int s, void *buf, int len, \
 			int flags); }
 176	STD		{ int|linux_sys||recvfrom(int s, void *buf, int len, \



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

2017-02-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 03:23:59 UTC 2017

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

Log Message:
fix listen


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 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/mips

2017-02-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb  4 18:14:55 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.73 -r1.74 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.72 -r1.73 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

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/linux_syscall.h
diff -u src/sys/compat/linux/arch/mips/linux_syscall.h:1.73 src/sys/compat/linux/arch/mips/linux_syscall.h:1.74
--- src/sys/compat/linux/arch/mips/linux_syscall.h:1.73	Fri Feb  3 11:49:19 2017
+++ src/sys/compat/linux/arch/mips/linux_syscall.h	Sat Feb  4 13:14:55 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.73 2017/02/03 16:49:19 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.74 2017/02/04 18:14:55 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.63 2017/02/03 16:49:08 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -421,7 +421,7 @@
 /* syscall: "bind" ret: "int" args: "int" "const struct osockaddr *" "int" */
 #define	LINUX_SYS_bind	169
 
-/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */
+/* syscall: "connect" ret: "int" args: "int" "const struct osockaddr *" "int" */
 #define	LINUX_SYS_connect	170
 
 /* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */

Index: src/sys/compat/linux/arch/mips/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.72 src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.73
--- src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.72	Fri Feb  3 11:49:19 2017
+++ src/sys/compat/linux/arch/mips/linux_syscallargs.h	Sat Feb  4 13:14:55 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.72 2017/02/03 16:49:19 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.73 2017/02/04 18:14:55 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.63 2017/02/03 16:49:08 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -549,37 +549,125 @@ struct linux_sys_mremap_args {
 };
 check_syscall_args(linux_sys_mremap)
 
-struct linux_sys_accept_args;
+struct linux_sys_accept_args {
+	syscallarg(int) s;
+	syscallarg(struct osockaddr *) name;
+	syscallarg(int *) anamelen;
+};
+check_syscall_args(linux_sys_accept)
 
-struct linux_sys_bind_args;
+struct linux_sys_bind_args {
+	syscallarg(int) s;
+	syscallarg(const struct osockaddr *) name;
+	syscallarg(int) namelen;
+};
+check_syscall_args(linux_sys_bind)
 
-struct linux_sys_connect_args;
+struct linux_sys_connect_args {
+	syscallarg(int) s;
+	syscallarg(const struct osockaddr *) name;
+	syscallarg(int) namelen;
+};
+check_syscall_args(linux_sys_connect)
 
-struct linux_sys_getpeername_args;
+struct linux_sys_getpeername_args {
+	syscallarg(int) fdes;
+	syscallarg(void *) asa;
+	syscallarg(int *) alen;
+};
+check_syscall_args(linux_sys_getpeername)
 
-struct linux_sys_getsockname_args;
+struct linux_sys_getsockname_args {
+	syscallarg(int) fdes;
+	syscallarg(void *) asa;
+	syscallarg(int *) alen;
+};
+check_syscall_args(linux_sys_getsockname)
 
-struct linux_sys_getsockopt_args;
+struct linux_sys_getsockopt_args {
+	syscallarg(int) s;
+	syscallarg(int) level;
+	syscallarg(int) optname;
+	syscallarg(void *) optval;
+	syscallarg(int *) optlen;
+};
+check_syscall_args(linux_sys_getsockopt)
 
 struct sys_listen_args;
 
-struct linux_sys_recv_args;
-
-struct linux_sys_recvfrom_args;
-
-struct linux_sys_recvmsg_args;
+struct linux_sys_recv_args {
+	syscallarg(int) s;
+	syscallarg(void *) buf;
+	syscallarg(int) len;
+	syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_recv)
 
-struct linux_sys_send_args;
+struct linux_sys_recvfrom_args {
+	syscallarg(int) s;
+	syscallarg(void *) buf;
+	syscallarg(int) len;
+	syscallarg(int) flags;
+	syscallarg(struct osockaddr *) from;
+	syscallarg(int *) fromlenaddr;
+};
+check_syscall_args(linux_sys_recvfrom)
 
-struct linux_sys_sendmsg_args;
+struct linux_sys_recvmsg_args {
+	syscallarg(int) s;
+	syscallarg(struct linux_msghdr *) msg;
+	syscallarg(u_int) flags;
+};
+check_syscall_args(linux_sys_recvmsg)
 
-struct linux_sys_sendto_args;
+struct linux_sys_send_args {
+	syscallarg(int) s;
+	syscallarg(void *) buf;
+	syscallarg(int) len;
+	syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_send)
 
-struct 

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

2017-02-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb  4 18:14:44 UTC 2017

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

Log Message:
fix broken entries that prevented compilation.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 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.63 src/sys/compat/linux/arch/mips/syscalls.master:1.64
--- src/sys/compat/linux/arch/mips/syscalls.master:1.63	Fri Feb  3 11:49:08 2017
+++ src/sys/compat/linux/arch/mips/syscalls.master	Sat Feb  4 13:14:44 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.63 2017/02/03 16:49:08 christos Exp $  
+	$NetBSD: syscalls.master,v 1.64 2017/02/04 18:14:44 christos Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -283,39 +283,39 @@
 			struct linux_timespec *rmtp); }
 167	STD		{ void *|linux_sys||mremap(void *old_address, \
 			size_t old_size, size_t new_size, u_long flags); }
-168	NOARGS		{ int|linux_sys||accept(int s, \
+168	STD		{ int|linux_sys||accept(int s, \
 			struct osockaddr *name, int *anamelen); }
-169	NOARGS		{ int|linux_sys||bind(int s, \
+169	STD		{ int|linux_sys||bind(int s, \
 			const struct osockaddr *name, int namelen); }
-170	NOARGS		{ int|linux_sys||connect(int s, \
-			const struct sockaddr *name, int namelen); }
-171	NOARGS		{ int|linux_sys||getpeername(int fdes, void *asa, \
+170	STD		{ int|linux_sys||connect(int s, \
+			const struct osockaddr *name, int namelen); }
+171	STD		{ int|linux_sys||getpeername(int fdes, void *asa, \
 			int *alen); }
-172	NOARGS		{ int|linux_sys||getsockname(int fdes, void *asa, \
+172	STD		{ int|linux_sys||getsockname(int fdes, void *asa, \
 			int *alen); }
-173	NOARGS		{ int|linux_sys||getsockopt(int s, int level, \
+173	STD		{ int|linux_sys||getsockopt(int s, int level, \
 			int optname, void *optval, int *optlen); }
 174	NOARGS		{ int|sys||listen(int s, int backlog); }
-175	NOARGS		{ int|linux_sys||recv(int s, void *buf, int len, \
+175	STD		{ int|linux_sys||recv(int s, void *buf, int len, \
 			int flags); }
-176	NOARGS		{ int|linux_sys||recvfrom(int s, void *buf, int len, \
+176	STD		{ int|linux_sys||recvfrom(int s, void *buf, int len, \
 			int flags, struct osockaddr *from, \
 			int *fromlenaddr); }
-177	NOARGS		{ int|linux_sys||recvmsg(int s, \
+177	STD		{ int|linux_sys||recvmsg(int s, \
 			struct linux_msghdr *msg, u_int flags); }
-178	NOARGS		{ int|linux_sys||send(int s, void *buf, int len, \
+178	STD		{ int|linux_sys||send(int s, void *buf, int len, \
 			int flags); }
-179	NOARGS		{ int|linux_sys||sendmsg(int s, \
+179	STD		{ int|linux_sys||sendmsg(int s, \
 			struct linux_msghdr *msg, u_int flags); }
-180	NOARGS		{ int|linux_sys||sendto(int s, void *msg, \
+180	STD		{ int|linux_sys||sendto(int s, void *msg, \
 			int len, int flags, struct osockaddr *to, \
 			int tolen); }
-181	NOARGS		{ int|linux_sys||setsockopt(int s, int level, \
+181	STD		{ int|linux_sys||setsockopt(int s, int level, \
 			int optname, void *optval, int optlen); }
 182	UNIMPL		shutdown
-183	NOARGS		{ int|linux_sys||socket(int domain, int type, \
+183	STD		{ int|linux_sys||socket(int domain, int type, \
 			int protocol); }
-184	NOARGS		{ int|linux_sys||socketpair(int domain, int type, \
+184	STD		{ int|linux_sys||socketpair(int domain, int type, \
 			int protocol, int *rsv); }
 185	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
 			uid_t suid); }



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

2017-02-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb  4 18:14:55 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.73 -r1.74 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.72 -r1.73 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

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

2017-02-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb  4 18:14:44 UTC 2017

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

Log Message:
fix broken entries that prevented compilation.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 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/mips

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:49:19 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.72 -r1.73 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.71 -r1.72 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

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/linux_syscall.h
diff -u src/sys/compat/linux/arch/mips/linux_syscall.h:1.72 src/sys/compat/linux/arch/mips/linux_syscall.h:1.73
--- src/sys/compat/linux/arch/mips/linux_syscall.h:1.72	Thu Feb  2 10:36:12 2017
+++ src/sys/compat/linux/arch/mips/linux_syscall.h	Fri Feb  3 11:49:19 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.72 2017/02/02 15:36:12 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.73 2017/02/03 16:49:19 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.62 2017/02/02 15:35:46 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.63 2017/02/03 16:49:08 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -691,6 +691,12 @@
 /* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
 #define	LINUX_SYS_accept4	334
 
-#define	LINUX_SYS_MAXSYSCALL	336
+/* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
+#define	LINUX_SYS_recvmmsg	335
+
+/* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
+#define	LINUX_SYS_sendmmsg	344
+
+#define	LINUX_SYS_MAXSYSCALL	367
 #define	LINUX_SYS_NSYSENT	512
 #endif /* _LINUX_SYS_SYSCALL_H_ */

Index: src/sys/compat/linux/arch/mips/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.71 src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.72
--- src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.71	Thu Feb  2 10:36:12 2017
+++ src/sys/compat/linux/arch/mips/linux_syscallargs.h	Fri Feb  3 11:49:19 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.71 2017/02/02 15:36:12 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.72 2017/02/03 16:49:19 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.62 2017/02/02 15:35:46 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.63 2017/02/03 16:49:08 christos Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1057,6 +1057,23 @@ struct linux_sys_accept4_args {
 };
 check_syscall_args(linux_sys_accept4)
 
+struct linux_sys_recvmmsg_args {
+	syscallarg(int) s;
+	syscallarg(struct linux_mmsghdr *) msgvec;
+	syscallarg(unsigned int) vlen;
+	syscallarg(unsigned int) flags;
+	syscallarg(struct timespec *) timeout;
+};
+check_syscall_args(linux_sys_recvmmsg)
+
+struct linux_sys_sendmmsg_args {
+	syscallarg(int) s;
+	syscallarg(struct linux_mmsghdr *) msgvec;
+	syscallarg(unsigned int) vlen;
+	syscallarg(unsigned int) flags;
+};
+check_syscall_args(linux_sys_sendmmsg)
+
 /*
  * System call prototypes.
  */
@@ -1511,4 +1528,8 @@ int	linux_sys_pipe2(struct lwp *, const 
 
 int	linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
 
+int	linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
+
+int	linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
+
 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
Index: src/sys/compat/linux/arch/mips/linux_syscalls.c
diff -u src/sys/compat/linux/arch/mips/linux_syscalls.c:1.71 src/sys/compat/linux/arch/mips/linux_syscalls.c:1.72
--- src/sys/compat/linux/arch/mips/linux_syscalls.c:1.71	Thu Feb  2 10:36:12 2017
+++ src/sys/compat/linux/arch/mips/linux_syscalls.c	Fri Feb  3 11:49:19 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.71 2017/02/02 15:36:12 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.72 2017/02/03 16:49:19 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.62 2017/02/02 15:35:46 christos Exp  
+ * created from	NetBSD: syscalls.master,v 1.63 2017/02/03 16:49:08 christos Exp  
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.71 2017/02/02 15:36:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.72 2017/02/03 16:49:19 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
@@ -365,38 +365,38 @@ const char *const linux_syscallnames[] =
 	/* 332 */	"#332 (unimplemented rt_tgsigqueueinfo)",
 	/* 333 */	"#333 (unimplemented 

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

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:49:08 UTC 2017

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

Log Message:
add missing unimpl and sendmmsg and recvmmsg


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 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/mips

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:49:19 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: 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.72 -r1.73 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.71 -r1.72 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

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

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:49:08 UTC 2017

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

Log Message:
add missing unimpl and sendmmsg and recvmmsg


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 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.62 src/sys/compat/linux/arch/mips/syscalls.master:1.63
--- src/sys/compat/linux/arch/mips/syscalls.master:1.62	Thu Feb  2 10:35:46 2017
+++ src/sys/compat/linux/arch/mips/syscalls.master	Fri Feb  3 11:49:08 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.62 2017/02/02 15:35:46 christos Exp $  
+	$NetBSD: syscalls.master,v 1.63 2017/02/03 16:49:08 christos Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -546,4 +546,40 @@
 334	STD		{ int|linux_sys||accept4(int s, \
 			struct osockaddr *name, \
 			int *anamelen, int flags); }
-335	UNIMPL		recvmmsg
+335	STD		{ int|linux_sys||recvmmsg(int s, \
+			struct linux_mmsghdr *msgvec, unsigned int vlen, \
+			unsigned int flags, struct timespec *timeout); }
+336	UNIMPL		getdents64
+337	UNIMPL		fanotify_init
+338	UNIMPL		fanotify_mark
+339	UNIMPL		prlimit64
+340	UNIMPL		name_to_handle_at
+341	UNIMPL		open_by_handle_at
+342	UNIMPL		clock_adjtime
+343	UNIMPL		syncfs
+344	STD		{ int|linux_sys||sendmmsg(int s, \
+			struct linux_mmsghdr *msgvec, unsigned int vlen, \
+			unsigned int flags); }
+345	UNIMPL		setns
+346	UNIMPL		process_vm_readv
+347	UNIMPL		process_vm_writev
+348	UNIMPL		kcmp
+349	UNIMPL		finit_module
+350	UNIMPL		sched_setattr
+351	UNIMPL		sched_getattr
+352	UNIMPL		renameat2
+353	UNIMPL		seccomp
+354	UNIMPL		getrandom
+355	UNIMPL		memfd_create
+356	UNIMPL		bpf
+357	UNIMPL		execveat
+358	UNIMPL		userfaultfd
+359	UNIMPL		membarrier
+360	UNIMPL		mlock2
+361	UNIMPL		copy_file_range
+362	UNIMPL		preadv2
+363	UNIMPL		pwritev2
+364	UNIMPL		pkey_mprotect
+365	UNIMPL		pkey_alloc
+366	UNIMPL		pkey_free
+



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

2011-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb 20 08:13:29 UTC 2011

Modified Files:
src/sys/compat/linux/arch/mips: 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.43 -r1.44 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.42 -r1.43 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

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/linux_syscall.h
diff -u src/sys/compat/linux/arch/mips/linux_syscall.h:1.43 src/sys/compat/linux/arch/mips/linux_syscall.h:1.44
--- src/sys/compat/linux/arch/mips/linux_syscall.h:1.43	Wed Jul  7 01:31:53 2010
+++ src/sys/compat/linux/arch/mips/linux_syscall.h	Sun Feb 20 08:13:29 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.43 2010/07/07 01:31:53 chs Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.44 2011/02/20 08:13:29 matt Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.38 2010/07/07 01:30:34 chs Exp  
+ * created from	NetBSD: syscalls.master,v 1.39 2011/02/20 08:09:46 matt Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -80,7 +80,7 @@
 /* syscall: stime ret: int args: linux_time_t * */
 #define	LINUX_SYS_stime	25
 
-/* syscall: ptrace ret: int args: int int int int */
+/* syscall: ptrace ret: int args: long long long long */
 #define	LINUX_SYS_ptrace	26
 
 /* syscall: alarm ret: int args: unsigned int */
@@ -301,7 +301,7 @@
 /* syscall: sysinfo ret: int args: struct linux_sysinfo * */
 #define	LINUX_SYS_sysinfo	116
 
-/* syscall: ipc ret: int args: int int int int void * */
+/* syscall: ipc ret: int args: int long long long void * */
 #define	LINUX_SYS_ipc	117
 
 /* syscall: fsync ret: int args: int */
@@ -364,7 +364,7 @@
 /* syscall: cacheflush ret: int args: void * int int */
 #define	LINUX_SYS_cacheflush	147
 
-/* syscall: sysmips ret: int args: int int int int */
+/* syscall: sysmips ret: int args: long long long long */
 #define	LINUX_SYS_sysmips	149
 
 /* syscall: getsid ret: pid_t args: pid_t */

Index: src/sys/compat/linux/arch/mips/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.42 src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.43
--- src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.42	Wed Jul  7 01:31:53 2010
+++ src/sys/compat/linux/arch/mips/linux_syscallargs.h	Sun Feb 20 08:13:29 2011
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.42 2010/07/07 01:31:53 chs Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.43 2011/02/20 08:13:29 matt Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.38 2010/07/07 01:30:34 chs Exp  
+ * created from	NetBSD: syscalls.master,v 1.39 2011/02/20 08:09:46 matt Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -27,7 +27,7 @@
 	}
 
 #undef check_syscall_args
-#define check_syscall_args(call) \
+#define check_syscall_args(call) /*LINTED*/ \
 	typedef char call##_check_args[sizeof (struct call##_args) \
 		= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
 
@@ -99,10 +99,10 @@
 check_syscall_args(linux_sys_stime)
 
 struct linux_sys_ptrace_args {
-	syscallarg(int) request;
-	syscallarg(int) pid;
-	syscallarg(int) addr;
-	syscallarg(int) data;
+	syscallarg(long) request;
+	syscallarg(long) pid;
+	syscallarg(long) addr;
+	syscallarg(long) data;
 };
 check_syscall_args(linux_sys_ptrace)
 
@@ -368,9 +368,9 @@
 
 struct linux_sys_ipc_args {
 	syscallarg(int) what;
-	syscallarg(int) a1;
-	syscallarg(int) a2;
-	syscallarg(int) a3;
+	syscallarg(long) a1;
+	syscallarg(long) a2;
+	syscallarg(long) a3;
 	syscallarg(void *) ptr;
 };
 check_syscall_args(linux_sys_ipc)
@@ -476,10 +476,10 @@
 check_syscall_args(linux_sys_cacheflush)
 
 struct linux_sys_sysmips_args {
-	syscallarg(int) cmd;
-	syscallarg(int) arg1;
-	syscallarg(int) arg2;
-	syscallarg(int) arg3;
+	syscallarg(long) cmd;
+	syscallarg(long) arg1;
+	syscallarg(long) arg2;
+	syscallarg(long) arg3;
 };
 check_syscall_args(linux_sys_sysmips)
 
Index: src/sys/compat/linux/arch/mips/linux_syscalls.c
diff -u src/sys/compat/linux/arch/mips/linux_syscalls.c:1.42 src/sys/compat/linux/arch/mips/linux_syscalls.c:1.43
--- src/sys/compat/linux/arch/mips/linux_syscalls.c:1.42	Wed Jul  7 01:31:53 2010
+++ src/sys/compat/linux/arch/mips/linux_syscalls.c	Sun Feb 20 08:13:29 2011
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.42 2010/07/07 01:31:53 chs Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.43 2011/02/20 08:13:29 matt Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.38 2010/07/07 01:30:34 chs 

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

2011-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb 20 08:09:46 UTC 2011

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

Log Message:
Change some ints to longs (for LP64).


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 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/mips

2011-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb 20 08:13:29 UTC 2011

Modified Files:
src/sys/compat/linux/arch/mips: 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.43 -r1.44 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.42 -r1.43 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

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

2011-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb 20 08:14:11 UTC 2011

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

Log Message:
Deal with differences in signal delivery between o32/n32/n64.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/compat/linux/arch/mips/linux_machdep.c
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux/arch/mips/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/mips

2009-08-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Aug 13 03:56:32 UTC 2009

Modified Files:
src/sys/compat/linux/arch/mips: linux_exec.h

Log Message:
Don't include EXEC_AOUT stuff by default.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/arch/mips/linux_exec.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/mips/linux_exec.h
diff -u src/sys/compat/linux/arch/mips/linux_exec.h:1.13 src/sys/compat/linux/arch/mips/linux_exec.h:1.14
--- src/sys/compat/linux/arch/mips/linux_exec.h:1.13	Mon Apr 28 20:23:43 2008
+++ src/sys/compat/linux/arch/mips/linux_exec.h	Thu Aug 13 03:56:32 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_exec.h,v 1.13 2008/04/28 20:23:43 martin Exp $ */
+/*	$NetBSD: linux_exec.h,v 1.14 2009/08/13 03:56:32 matt Exp $ */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -32,7 +32,9 @@
 #ifndef _MIPS_LINUX_EXEC_H
 #define _MIPS_LINUX_EXEC_H
 
+#ifdef EXEC_AOUT
 #include sys/exec_aout.h
+#endif
 #include sys/exec_elf.h
 #include sys/types.h
 
@@ -41,11 +43,13 @@
  */
 #define LINUX_ELF_HWCAP (0)
 
+#ifdef EXEC_AOUT
 /*
  * Linux a.out format parameters
  */
 #define LINUX_M_MIPS		MID_MIPS
 #define LINUX_MID_MACHINE	LINUX_M_MIPS
+#endif
 
 /*
  * Linux Elf32 format parameters