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

2018-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 26 09:29:15 UTC 2018

Modified Files:
src/sys/compat/linux/arch/arm: linux_ptrace.c

Log Message:
union was removed


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/linux/arch/arm/linux_ptrace.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/arm/linux_ptrace.c
diff -u src/sys/compat/linux/arch/arm/linux_ptrace.c:1.20 src/sys/compat/linux/arch/arm/linux_ptrace.c:1.21
--- src/sys/compat/linux/arch/arm/linux_ptrace.c:1.20	Sun Aug 27 20:46:07 2017
+++ src/sys/compat/linux/arch/arm/linux_ptrace.c	Fri Jan 26 04:29:15 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_ptrace.c,v 1.20 2017/08/28 00:46:07 kamil Exp $	*/
+/*	$NetBSD: linux_ptrace.c,v 1.21 2018/01/26 09:29:15 christos Exp $	*/
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.20 2017/08/28 00:46:07 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.21 2018/01/26 09:29:15 christos Exp $");
 
 #include 
 #include 
@@ -206,7 +206,7 @@ linux_sys_ptrace_arch(struct lwp *l, con
 	case LINUX_PTRACE_GET_THREAD_AREA:
 		mutex_exit(t->p_lock);
 		pcb = lwp_getpcb(l);
-		val = (void *)pcb->pcb_un.un_32.pcb32_user_pid_ro;
+		val = (void *)pcb->pcb_user_pid_ro;
 		error = copyout(&val, (void *)SCARG(uap, data), sizeof(val));
 		break;
 #endif



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

2017-01-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 15 11:46:21 UTC 2017

Modified Files:
src/sys/compat/linux/arch/arm: linux_systrace_args.c

Log Message:
Cast pointer to int via intptr_t


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/arm/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/arm/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.4 src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.5
--- src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.4	Fri Jan 13 06:18:31 2017
+++ src/sys/compat/linux/arch/arm/linux_systrace_args.c	Sun Jan 15 11:46:21 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_systrace_args.c,v 1.4 2017/01/13 06:18:31 christos Exp $ */
+/* $NetBSD: linux_systrace_args.c,v 1.5 2017/01/15 11:46:21 martin Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -302,7 +302,7 @@ systrace_args(register_t sysnum, const v
 	case 48: {
 		const struct linux_sys_signal_args *p = params;
 		iarg[0] = SCARG(p, signum); /* int */
-		iarg[1] = SCARG(p, handler); /* linux_handler_t */
+		iarg[1] = (intptr_t) SCARG(p, handler); /* linux_handler_t */
 		*n_args = 2;
 		break;
 	}



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

2017-01-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 15 15:19:33 UTC 2017

Modified Files:
src/sys/compat/linux/arch/arm: 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.72 -r1.73 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.5 -r1.6 src/sys/compat/linux/arch/arm/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/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.72 src/sys/compat/linux/arch/arm/linux_syscall.h:1.73
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.72	Fri Jan 13 01:18:31 2017
+++ src/sys/compat/linux/arch/arm/linux_syscall.h	Sun Jan 15 10:19:33 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.72 2017/01/13 06:18:31 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.73 2017/01/15 15:19:33 christos Exp $ */
 
 /*
  * System call numbers.
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.72 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.73
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.72	Fri Jan 13 01:18:31 2017
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h	Sun Jan 15 10:19:33 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.72 2017/01/13 06:18:31 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.73 2017/01/15 15:19:33 christos Exp $ */
 
 /*
  * System call argument lists.
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.72 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.73
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.72	Fri Jan 13 01:18:31 2017
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c	Sun Jan 15 10:19:33 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.72 2017/01/13 06:18:31 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.73 2017/01/15 15:19:33 christos Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.72 2017/01/13 06:18:31 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.73 2017/01/15 15:19:33 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
Index: src/sys/compat/linux/arch/arm/linux_sysent.c
diff -u src/sys/compat/linux/arch/arm/linux_sysent.c:1.72 src/sys/compat/linux/arch/arm/linux_sysent.c:1.73
--- src/sys/compat/linux/arch/arm/linux_sysent.c:1.72	Fri Jan 13 01:18:31 2017
+++ src/sys/compat/linux/arch/arm/linux_sysent.c	Sun Jan 15 10:19:33 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.72 2017/01/13 06:18:31 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.73 2017/01/15 15:19:33 christos Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.72 2017/01/13 06:18:31 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.73 2017/01/15 15:19:33 christos Exp $");
 
 #include 
 #include 

Index: src/sys/compat/linux/arch/arm/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.5 src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.6
--- src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.5	Sun Jan 15 06:46:21 2017
+++ src/sys/compat/linux/arch/arm/linux_systrace_args.c	Sun Jan 15 10:19:33 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_systrace_args.c,v 1.5 2017/01/15 11:46:21 martin Exp $ */
+/* $NetBSD: linux_systrace_args.c,v 1.6 2017/01/15 15:19:33 christos Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -302,7 +302,11 @@ systrace_args(register_t sysnum, const v
 	case 48: {
 		const struct linux_sys_signal_args *p = params;
 		iarg[0] = SCARG(p, signum); /* int */
+<<< linux_systrace_args.c
+		uarg[1] = (intptr_t) SCARG(p, handler).i32; /* linux_handler_t */
+===
 		iarg[1] = (intptr_t) SCARG(p, handler); /* linux_handler_t */
+>>> 1.5
 		*n_args = 2;
 		break;
 	}



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

2017-01-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 15 15:20:15 UTC 2017

Modified Files:
src/sys/compat/linux/arch/arm: 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.73 -r1.74 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.6 -r1.7 src/sys/compat/linux/arch/arm/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/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.73 src/sys/compat/linux/arch/arm/linux_syscall.h:1.74
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.73	Sun Jan 15 10:19:33 2017
+++ src/sys/compat/linux/arch/arm/linux_syscall.h	Sun Jan 15 10:20:15 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.73 2017/01/15 15:19:33 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.74 2017/01/15 15:20:15 christos Exp $ */
 
 /*
  * System call numbers.
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.73 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.74
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.73	Sun Jan 15 10:19:33 2017
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h	Sun Jan 15 10:20:15 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.73 2017/01/15 15:19:33 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.74 2017/01/15 15:20:15 christos Exp $ */
 
 /*
  * System call argument lists.
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.73 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.74
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.73	Sun Jan 15 10:19:33 2017
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c	Sun Jan 15 10:20:15 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.73 2017/01/15 15:19:33 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.74 2017/01/15 15:20:15 christos Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.73 2017/01/15 15:19:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.74 2017/01/15 15:20:15 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
Index: src/sys/compat/linux/arch/arm/linux_sysent.c
diff -u src/sys/compat/linux/arch/arm/linux_sysent.c:1.73 src/sys/compat/linux/arch/arm/linux_sysent.c:1.74
--- src/sys/compat/linux/arch/arm/linux_sysent.c:1.73	Sun Jan 15 10:19:33 2017
+++ src/sys/compat/linux/arch/arm/linux_sysent.c	Sun Jan 15 10:20:15 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.73 2017/01/15 15:19:33 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.74 2017/01/15 15:20:15 christos Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.73 2017/01/15 15:19:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.74 2017/01/15 15:20:15 christos Exp $");
 
 #include 
 #include 

Index: src/sys/compat/linux/arch/arm/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.6 src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.7
--- src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.6	Sun Jan 15 10:19:33 2017
+++ src/sys/compat/linux/arch/arm/linux_systrace_args.c	Sun Jan 15 10:20:15 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_systrace_args.c,v 1.6 2017/01/15 15:19:33 christos Exp $ */
+/* $NetBSD: linux_systrace_args.c,v 1.7 2017/01/15 15:20:15 christos Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -302,11 +302,7 @@ systrace_args(register_t sysnum, const v
 	case 48: {
 		const struct linux_sys_signal_args *p = params;
 		iarg[0] = SCARG(p, signum); /* int */
-<<< linux_systrace_args.c
 		uarg[1] = (intptr_t) SCARG(p, handler).i32; /* linux_handler_t */
-===
-		iarg[1] = (intptr_t) SCARG(p, handler); /* linux_handler_t */
->>> 1.5
 		*n_args = 2;
 		break;
 	}



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

2017-01-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 15 17:00:37 UTC 2017

Modified Files:
src/sys/compat/linux/arch/arm: 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.74 -r1.75 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.7 -r1.8 src/sys/compat/linux/arch/arm/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/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.74 src/sys/compat/linux/arch/arm/linux_syscall.h:1.75
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.74	Sun Jan 15 10:20:15 2017
+++ src/sys/compat/linux/arch/arm/linux_syscall.h	Sun Jan 15 12:00:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.74 2017/01/15 15:20:15 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.75 2017/01/15 17:00:37 christos Exp $ */
 
 /*
  * System call numbers.
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.74 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.75
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.74	Sun Jan 15 10:20:15 2017
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h	Sun Jan 15 12:00:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.74 2017/01/15 15:20:15 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.75 2017/01/15 17:00:37 christos Exp $ */
 
 /*
  * System call argument lists.
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.74 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.75
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.74	Sun Jan 15 10:20:15 2017
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c	Sun Jan 15 12:00:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.74 2017/01/15 15:20:15 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.75 2017/01/15 17:00:37 christos Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.74 2017/01/15 15:20:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.75 2017/01/15 17:00:37 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
Index: src/sys/compat/linux/arch/arm/linux_sysent.c
diff -u src/sys/compat/linux/arch/arm/linux_sysent.c:1.74 src/sys/compat/linux/arch/arm/linux_sysent.c:1.75
--- src/sys/compat/linux/arch/arm/linux_sysent.c:1.74	Sun Jan 15 10:20:15 2017
+++ src/sys/compat/linux/arch/arm/linux_sysent.c	Sun Jan 15 12:00:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.74 2017/01/15 15:20:15 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.75 2017/01/15 17:00:37 christos Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.74 2017/01/15 15:20:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.75 2017/01/15 17:00:37 christos Exp $");
 
 #include 
 #include 

Index: src/sys/compat/linux/arch/arm/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.7 src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.8
--- src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.7	Sun Jan 15 10:20:15 2017
+++ src/sys/compat/linux/arch/arm/linux_systrace_args.c	Sun Jan 15 12:00:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_systrace_args.c,v 1.7 2017/01/15 15:20:15 christos Exp $ */
+/* $NetBSD: linux_systrace_args.c,v 1.8 2017/01/15 17:00:37 christos Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -302,7 +302,7 @@ systrace_args(register_t sysnum, const v
 	case 48: {
 		const struct linux_sys_signal_args *p = params;
 		iarg[0] = SCARG(p, signum); /* int */
-		uarg[1] = (intptr_t) SCARG(p, handler).i32; /* linux_handler_t */
+		uarg[1] = (intptr_t) SCARG(p, handler); /* linux_handler_t */
 		*n_args = 2;
 		break;
 	}



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

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

Modified Files:
src/sys/compat/linux/arch/arm: 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/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.10 -r1.11 \
src/sys/compat/linux/arch/arm/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/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.77 src/sys/compat/linux/arch/arm/linux_syscall.h:1.78
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.77	Fri Feb  3 01:07:29 2017
+++ src/sys/compat/linux/arch/arm/linux_syscall.h	Fri Feb  3 11:28:42 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.77 2017/02/03 06:07:29 martin Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.78 2017/02/03 16:28:42 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.66 2017/02/03 06:06:09 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.67 2017/02/03 16:28:34 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -709,9 +709,15 @@
 /* syscall: "pipe2" ret: "int" args: "int *" "int" */
 #define	LINUX_SYS_pipe2	359
 
+/* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
+#define	LINUX_SYS_recvmmsg	365
+
 /* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
 #define	LINUX_SYS_accept4	366
 
+/* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
+#define	LINUX_SYS_sendmmsg	374
+
 /* syscall: "breakpoint" ret: "int" args: */
 #define	LINUX_SYS_breakpoint	385
 
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.77 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.78
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.77	Fri Feb  3 01:07:29 2017
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h	Fri Feb  3 11:28:42 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.77 2017/02/03 06:07:29 martin Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.78 2017/02/03 16:28:42 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.66 2017/02/03 06:06:09 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.67 2017/02/03 16:28:34 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1091,6 +1091,15 @@ struct linux_sys_pipe2_args {
 };
 check_syscall_args(linux_sys_pipe2)
 
+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_accept4_args {
 	syscallarg(int) s;
 	syscallarg(struct osockaddr *) name;
@@ -1099,6 +1108,14 @@ struct linux_sys_accept4_args {
 };
 check_syscall_args(linux_sys_accept4)
 
+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)
+
 struct linux_sys_cacheflush_args {
 	syscallarg(uintptr_t) from;
 	syscallarg(intptr_t) to;
@@ -1557,8 +1574,12 @@ int	linux_sys_dup3(struct lwp *, const s
 
 int	linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
 
+int	linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
+
 int	linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
 
+int	linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
+
 int	linux_sys_breakpoint(struct lwp *, const void *, register_t *);
 
 int	linux_sys_cacheflush(struct lwp *, const struct linux_sys_cacheflush_args *, register_t *);
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.77 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.78
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.77	Fri Feb  3 01:07:29 2017
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c	Fri Feb  3 11:28:42 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.77 2017/02/03 06:07:29 martin Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.78 2017/02/03 16:28:42 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: sys

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

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

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

Log Message:
add send recv mmsg and unimpl
XXX: fix base?


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux/arch/arm/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/arm/syscalls.master
diff -u src/sys/compat/linux/arch/arm/syscalls.master:1.66 src/sys/compat/linux/arch/arm/syscalls.master:1.67
--- src/sys/compat/linux/arch/arm/syscalls.master:1.66	Fri Feb  3 01:06:09 2017
+++ src/sys/compat/linux/arch/arm/syscalls.master	Fri Feb  3 11:28:34 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.66 2017/02/03 06:06:09 martin Exp $
+	$NetBSD: syscalls.master,v 1.67 2017/02/03 16:28:34 christos Exp $
 
 ; Derived from sys/compat/linux/arch/*/syscalls.master
 ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -569,27 +569,34 @@
 362	UNIMPL		pwritev
 363	UNIMPL		rt_tgsigqueueinfo
 364	UNIMPL		perf_counter_open
-365	UNIMPL		recvmmsg
+365	STD		{ int|linux_sys||recvmmsg(int s, \
+			struct linux_mmsghdr *msgvec, unsigned int vlen, \
+			unsigned int flags, struct timespec *timeout); }
 366	STD		{ int|linux_sys||accept4(int s, \
 			struct osockaddr *name, \
 			int *anamelen, int flags); }
-367	UNIMPL
-368	UNIMPL
-369	UNIMPL
-370	UNIMPL
-371	UNIMPL
-372	UNIMPL
-373	UNIMPL
-374	UNIMPL
-375	UNIMPL
-376	UNIMPL
-377	UNIMPL
-378	UNIMPL
-379	UNIMPL
-380	UNIMPL
-381	UNIMPL
-382	UNIMPL
-383	UNIMPL
+367	UNIMPL		fanotify_init
+368	UNIMPL		fanotify_mark
+369	UNIMPL		prlimit64
+370	UNIMPL		name_to_handle_at
+371	UNIMPL		open_by_handle_at
+372	UNIMPL		clock_adjtime
+373	UNIMPL		syncfs
+374	STD		{ int|linux_sys||sendmmsg(int s, \
+			struct linux_mmsghdr *msgvec, unsigned int vlen, \
+			unsigned int flags); }
+375	UNIMPL		setns
+376	UNIMPL		process_vm_readv
+377	UNIMPL		process_vm_writev
+378	UNIMPL		kcmp
+379	UNIMPL		finit_module
+380	UNIMPL		sched_setattr
+381	UNIMPL		sched_getattr
+382	UNIMPL		renameat2
+383	UNIMPL		seccomp
+; XXX FIX-me?
+; 384	UNIMPL		getrandom
+; 385	UNIMPL		memfd_create
 
 ; ARMLinux actually has two ranges of syscalls.  Normal syscalls use
 ; SWI numbers starting at 0x90 (__NR_SYSCALL_BASE).  Special



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

2013-03-21 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Mar 21 15:03:47 UTC 2013

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

Log Message:
Fix stat64 by making it match i386.  Other archs might still be broken,
but this is the one I could test.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux/arch/arm/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/arm/linux_types.h
diff -u src/sys/compat/linux/arch/arm/linux_types.h:1.8 src/sys/compat/linux/arch/arm/linux_types.h:1.9
--- src/sys/compat/linux/arch/arm/linux_types.h:1.8	Sun Jan 11 02:45:48 2009
+++ src/sys/compat/linux/arch/arm/linux_types.h	Thu Mar 21 15:03:47 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_types.h,v 1.8 2009/01/11 02:45:48 christos Exp $	*/
+/*	$NetBSD: linux_types.h,v 1.9 2013/03/21 15:03:47 pooka Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -76,34 +76,33 @@ struct linux_stat {
  * insane amounts of padding around dev_t's.
  */
 struct linux_stat64 {
-	unsigned short	lst_dev;
-	unsigned char	__pad0[10];
+	unsigned long long lst_dev;
+	unsigned int	__pad1;
 
 #define LINUX_STAT64_HAS_BROKEN_ST_INO	1
-	unsigned long	__lst_ino;
+	unsigned int	__lst_ino;
 	unsigned int	lst_mode;
 	unsigned int	lst_nlink;
 
-	unsigned long	lst_uid;
-	unsigned long	lst_gid;
+	unsigned int	lst_uid;
+	unsigned int	lst_gid;
 
-	unsigned short	lst_rdev;
-	unsigned char	__pad3[10];
+	unsigned long long	lst_rdev;
+	unsigned int	__pad2;
 
 	long long	lst_size;
-	unsigned long	lst_blksize;
+	unsigned int	lst_blksize;
 
-	unsigned long	lst_blocks;	/* Number 512-byte blocks allocated. */
-	unsigned long	__pad4;		/* future possible st_blocks high bits*/
+	unsigned long long lst_blocks;	/* Number 512-byte blocks allocated. */
 
-	unsigned long	lst_atime;
-	unsigned long	__pad5;
+	unsigned int	lst_atime;
+	unsigned int	lst_atime_nsec;
 
-	unsigned long	lst_mtime;
-	unsigned long	__pad6;
+	unsigned int	lst_mtime;
+	unsigned int	lst_mtime_nsec;
 
-	unsigned long	lst_ctime;
-	unsigned long	__pad7;		/* will be high 32 bits of ctime someday */
+	unsigned int	lst_ctime;
+	unsigned int	lst_ctime_nsec;
 
 	unsigned long long lst_ino;
 };



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

2012-09-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Sep  4 00:09:00 UTC 2012

Modified Files:
src/sys/compat/linux/arch/arm: linux_ptrace.c

Log Message:
Add missing  include


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/linux/arch/arm/linux_ptrace.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/arm/linux_ptrace.c
diff -u src/sys/compat/linux/arch/arm/linux_ptrace.c:1.16 src/sys/compat/linux/arch/arm/linux_ptrace.c:1.17
--- src/sys/compat/linux/arch/arm/linux_ptrace.c:1.16	Wed Jul  7 01:30:33 2010
+++ src/sys/compat/linux/arch/arm/linux_ptrace.c	Tue Sep  4 00:08:59 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_ptrace.c,v 1.16 2010/07/07 01:30:33 chs Exp $	*/
+/*	$NetBSD: linux_ptrace.c,v 1.17 2012/09/04 00:08:59 matt Exp $	*/
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.16 2010/07/07 01:30:33 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.17 2012/09/04 00:08:59 matt Exp $");
 
 #include 
 #include 
@@ -43,6 +43,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_ptrace
 #include 
 
 #include 
+#include 
 
 #include 
 #include 



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

2015-03-23 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Mar 23 07:50:03 UTC 2015

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

Log Message:
Fix inconsistent argument names


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/compat/linux/arch/arm/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/arm/syscalls.master
diff -u src/sys/compat/linux/arch/arm/syscalls.master:1.62 src/sys/compat/linux/arch/arm/syscalls.master:1.63
--- src/sys/compat/linux/arch/arm/syscalls.master:1.62	Sat Nov 22 13:18:45 2014
+++ src/sys/compat/linux/arch/arm/syscalls.master	Mon Mar 23 07:50:03 2015
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp $
+	$NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp $
 
 ; Derived from sys/compat/linux/arch/*/syscalls.master
 ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -161,10 +161,10 @@
 81	STD		{ int|linux_sys||setgroups16(int gidsetsize, \
 			linux_gid16_t *gidset); }
 82	STD		{ int|linux_sys||oldselect(struct linux_oldselect *lsp); }
-83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
+83	NOARGS		{ int|sys||symlink(const char *path, const char *link); }
 84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
-			struct stat43 *up); } oolstat
-85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
+			struct stat43 *ub); } oolstat
+85	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
 			int count); }
 #ifdef EXEC_AOUT
 86	STD		{ int|linux_sys||uselib(const char *path); }



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

2015-03-23 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Mar 23 07:51:45 UTC 2015

Modified Files:
src/sys/compat/linux/arch/arm: 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.66 -r1.67 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

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/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.66 src/sys/compat/linux/arch/arm/linux_syscall.h:1.67
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.66	Sat Mar  7 16:41:53 2015
+++ src/sys/compat/linux/arch/arm/linux_syscall.h	Mon Mar 23 07:51:45 2015
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.66 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.67
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.66	Sat Mar  7 16:41:53 2015
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h	Mon Mar 23 07:51:45 2015
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.66 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.67
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.66	Sat Mar  7 16:41:53 2015
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c	Mon Mar 23 07:51:45 2015
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.66 2015/03/07 16:41:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
Index: src/sys/compat/linux/arch/arm/linux_sysent.c
diff -u src/sys/compat/linux/arch/arm/linux_sysent.c:1.66 src/sys/compat/linux/arch/arm/linux_sysent.c:1.67
--- src/sys/compat/linux/arch/arm/linux_sysent.c:1.66	Sat Mar  7 16:41:53 2015
+++ src/sys/compat/linux/arch/arm/linux_sysent.c	Mon Mar 23 07:51:45 2015
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.66 2015/03/07 16:41:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
 
 #include 
 #include 
@@ -27,1037 +27,1912 @@ __KERNEL_RCSID(0, "$NetBSD: linux_sysent
 
 #define	s(type)	sizeof(type)
 #define	n(type)	(sizeof(type)/sizeof (register_t))
-#define	ns(type)	n(type), s(type)
+#define	ns(type)	.sy_narg = n(type), .sy_argsize = s(type)
 
 struct sysent linux_sysent[] = {
-	{ 0, 0, 0,
-	(sy_call_t *)linux_sys_nosys, 0, 0 },	/* 0 = nosys */
-	{ ns(struct linux_sys_exit_args), 0,
-	(sy_call_t *)linux_sys_exit, 0, 0 },	/* 1 = exit */
-	{ 0, 0, 0,
-	(sy_call_t *)sys_fork, 0, 0 },		/* 2 = fork */
-	{ ns(struct sys_read_args), SYCALL_ARG_PTR,
-	(sy_call_t *)sys_read, 0, 0 },		/* 3 = read */
-	{ ns(struct sys_write_args), SYCALL_ARG_PTR,
-	(sy_call_t *)sys_write, 0, 0 },		/* 4 = write */
-	{ ns(struct linux_sys_open_args), SYCALL_ARG_PTR,
-	(sy_call_t *)linux_sys_open, 0, 0 },	/* 5 = open */
-	{ ns(struct sys_close_

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

2015-03-23 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Mar 23 07:52:36 UTC 2015

Modified Files:
src/sys/compat/linux/arch/arm: syscalls.conf

Log Message:
Add linux_systrace_args.c for arm


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

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/arm/syscalls.conf
diff -u src/sys/compat/linux/arch/arm/syscalls.conf:1.2 src/sys/compat/linux/arch/arm/syscalls.conf:1.3
--- src/sys/compat/linux/arch/arm/syscalls.conf:1.2	Wed Jan 23 16:14:20 2002
+++ src/sys/compat/linux/arch/arm/syscalls.conf	Mon Mar 23 07:52:36 2015
@@ -1,9 +1,10 @@
-#	$NetBSD: syscalls.conf,v 1.2 2002/01/23 16:14:20 bjh21 Exp $
+#	$NetBSD: syscalls.conf,v 1.3 2015/03/23 07:52:36 ozaki-r Exp $
 
 sysnames="linux_syscalls.c"
 sysnumhdr="linux_syscall.h"
 syssw="linux_sysent.c"
 sysarghdr="linux_syscallargs.h"
+systrace="linux_systrace_args.c"
 compatopts=""
 libcompatopts=""
 



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

2015-03-23 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Mar 23 07:54:44 UTC 2015

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

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 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 -r0 -r1.1 src/sys/compat/linux/arch/arm/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/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.67 src/sys/compat/linux/arch/arm/linux_syscall.h:1.68
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.67	Mon Mar 23 07:51:45 2015
+++ src/sys/compat/linux/arch/arm/linux_syscall.h	Mon Mar 23 07:54:44 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
 
 /*
  * System call numbers.
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.67 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.68
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.67	Mon Mar 23 07:51:45 2015
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h	Mon Mar 23 07:54:44 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
 
 /*
  * System call argument lists.
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.67 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.68
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.67	Mon Mar 23 07:51:45 2015
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c	Mon Mar 23 07:54:44 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
Index: src/sys/compat/linux/arch/arm/linux_sysent.c
diff -u src/sys/compat/linux/arch/arm/linux_sysent.c:1.67 src/sys/compat/linux/arch/arm/linux_sysent.c:1.68
--- src/sys/compat/linux/arch/arm/linux_sysent.c:1.67	Mon Mar 23 07:51:45 2015
+++ src/sys/compat/linux/arch/arm/linux_sysent.c	Mon Mar 23 07:54:44 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $");
 
 #include 
 #include 

Added files:

Index: src/sys/compat/linux/arch/arm/linux_systrace_args.c
diff -u /dev/null src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.1
--- /dev/null	Mon Mar 23 07:54:44 2015
+++ src/sys/compat/linux/arch/arm/linux_systrace_args.c	Mon Mar 23 07:54:44 2015
@@ -0,0 +1,5999 @@
+/* $NetBSD: linux_systrace_args.c,v 1.1 2015/03/23 07:54:44 ozaki-r Exp $ */
+
+/*
+ * System call argument to DTrace register array converstion.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * This file is part of the DTrace syscall provider.
+ */
+
+static void
+systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
+{
+	intptr_t *iarg  = (intptr_t *)uarg;
+	switch (sysnum) {
+	/* linux_sys_nosys */
+	case 0: {
+		*n_args = 0;
+		break;
+	}
+	/* linux_sys_exit */
+	case 1: {
+		struct linux_sys_exit_args *p = params;
+		iarg[0] = SCARG(p, rval); /* int */
+		*n_args = 1;
+		break;
+	}
+	/* sys_fork */
+	case 2: {
+		*n_args = 0;
+		break;
+	}
+	/* sys_read */
+	case 3: {
+		struct sys_read_args *p = params;
+		iarg[0] = SCARG(p, fd); /* int */
+		uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
+		uarg[2] = SCARG(p, nbyte); /* size_t */
+		*n_args = 3;
+		break;
+	}
+	/* sys_write */
+	case 4: {
+		struct sys_write_args *p = params;
+		iarg[0] = SCARG(p, fd); /* int */
+		uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */
+		uarg[2] = SCARG(p, nbyte); /* size_t */
+		*n_args = 3;
+		break;
+	}
+	/* linux_sys_open */
+	case 5: {
+		struct linux_sys_open_args *p = params;
+		uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+		iarg[1] = SCARG(p, flags); /* int */
+		iarg