Module Name:    src
Committed By:   martin
Date:           Fri Feb  3 07:57:22 UTC 2017

Modified Files:
        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.80 -r1.81 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
    src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.79 -r1.80 \
    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/powerpc/linux_syscall.h
diff -u src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.80 src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.81
--- src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.80	Mon Jan 16 00:11:09 2017
+++ src/sys/compat/linux/arch/powerpc/linux_syscall.h	Fri Feb  3 07:57:22 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.80 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.81 2017/02/03 07:57:22 martin Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp  
+ * created from	NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -657,6 +657,9 @@
 /* syscall: "pipe2" ret: "int" args: "int *" "int" */
 #define	LINUX_SYS_pipe2	317
 
-#define	LINUX_SYS_MAXSYSCALL	323
+/* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
+#define	LINUX_SYS_accept4	344
+
+#define	LINUX_SYS_MAXSYSCALL	345
 #define	LINUX_SYS_NSYSENT	512
 #endif /* _LINUX_SYS_SYSCALL_H_ */
Index: src/sys/compat/linux/arch/powerpc/linux_sysent.c
diff -u src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.80 src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.81
--- src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.80	Mon Jan 16 00:11:09 2017
+++ src/sys/compat/linux/arch/powerpc/linux_sysent.c	Fri Feb  3 07:57:22 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.80 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.81 2017/02/03 07:57:22 martin Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp  
+ * created from	NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.80 2017/01/16 00:11:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.81 2017/02/03 07:57:22 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>
@@ -1411,8 +1411,10 @@ struct sysent linux_sysent[] = {
 		.sy_call = linux_sys_nosys,
 	},		/* 343 = filler */
 	{
-		.sy_call = linux_sys_nosys,
-	},		/* 344 = filler */
+		ns(struct linux_sys_accept4_args),
+		.sy_flags = SYCALL_ARG_PTR,
+		.sy_call = (sy_call_t *)linux_sys_accept4
+	},		/* 344 = accept4 */
 	{
 		.sy_call = linux_sys_nosys,
 	},		/* 345 = filler */

Index: src/sys/compat/linux/arch/powerpc/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.79 src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.80
--- src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.79	Mon Jan 16 00:11:09 2017
+++ src/sys/compat/linux/arch/powerpc/linux_syscallargs.h	Fri Feb  3 07:57:22 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.79 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.80 2017/02/03 07:57:22 martin Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp  
+ * created from	NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1024,6 +1024,14 @@ struct linux_sys_pipe2_args {
 };
 check_syscall_args(linux_sys_pipe2)
 
+struct linux_sys_accept4_args {
+	syscallarg(int) s;
+	syscallarg(struct osockaddr *) name;
+	syscallarg(int *) anamelen;
+	syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_accept4)
+
 /*
  * System call prototypes.
  */
@@ -1452,4 +1460,6 @@ 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_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
+
 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
Index: src/sys/compat/linux/arch/powerpc/linux_syscalls.c
diff -u src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.79 src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.80
--- src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.79	Mon Jan 16 00:11:09 2017
+++ src/sys/compat/linux/arch/powerpc/linux_syscalls.c	Fri Feb  3 07:57:22 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.79 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.80 2017/02/03 07:57:22 martin Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp  
+ * created from	NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.79 2017/01/16 00:11:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.80 2017/02/03 07:57:22 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -356,28 +356,28 @@ const char *const linux_syscallnames[] =
 	/* 320 */	"#320 (unimplemented preadv)",
 	/* 321 */	"#321 (unimplemented pwritev)",
 	/* 322 */	"#322 (unimplemented rt_tgsigqueueinfo)",
-	/* 323 */	"# filler",
-	/* 324 */	"# filler",
-	/* 325 */	"# filler",
-	/* 326 */	"# filler",
-	/* 327 */	"# filler",
-	/* 328 */	"# filler",
-	/* 329 */	"# filler",
-	/* 330 */	"# filler",
-	/* 331 */	"# filler",
-	/* 332 */	"# filler",
-	/* 333 */	"# filler",
-	/* 334 */	"# filler",
-	/* 335 */	"# filler",
-	/* 336 */	"# filler",
-	/* 337 */	"# filler",
-	/* 338 */	"# filler",
-	/* 339 */	"# filler",
-	/* 340 */	"# filler",
-	/* 341 */	"# filler",
-	/* 342 */	"# filler",
-	/* 343 */	"# filler",
-	/* 344 */	"# filler",
+	/* 323 */	"#323 (unimplemented)",
+	/* 324 */	"#324 (unimplemented)",
+	/* 325 */	"#325 (unimplemented)",
+	/* 326 */	"#326 (unimplemented)",
+	/* 327 */	"#327 (unimplemented)",
+	/* 328 */	"#328 (unimplemented)",
+	/* 329 */	"#329 (unimplemented)",
+	/* 330 */	"#330 (unimplemented)",
+	/* 331 */	"#331 (unimplemented)",
+	/* 332 */	"#332 (unimplemented)",
+	/* 333 */	"#333 (unimplemented)",
+	/* 334 */	"#334 (unimplemented)",
+	/* 335 */	"#335 (unimplemented)",
+	/* 336 */	"#336 (unimplemented)",
+	/* 337 */	"#337 (unimplemented)",
+	/* 338 */	"#338 (unimplemented)",
+	/* 339 */	"#339 (unimplemented)",
+	/* 340 */	"#340 (unimplemented)",
+	/* 341 */	"#341 (unimplemented)",
+	/* 342 */	"#342 (unimplemented)",
+	/* 343 */	"#343 (unimplemented)",
+	/* 344 */	"accept4",
 	/* 345 */	"# filler",
 	/* 346 */	"# filler",
 	/* 347 */	"# filler",
@@ -878,28 +878,28 @@ const char *const altlinux_syscallnames[
 	/* 320 */	NULL, /* unimplemented preadv */
 	/* 321 */	NULL, /* unimplemented pwritev */
 	/* 322 */	NULL, /* unimplemented rt_tgsigqueueinfo */
-	/* 323 */	NULL, /* filler */
-	/* 324 */	NULL, /* filler */
-	/* 325 */	NULL, /* filler */
-	/* 326 */	NULL, /* filler */
-	/* 327 */	NULL, /* filler */
-	/* 328 */	NULL, /* filler */
-	/* 329 */	NULL, /* filler */
-	/* 330 */	NULL, /* filler */
-	/* 331 */	NULL, /* filler */
-	/* 332 */	NULL, /* filler */
-	/* 333 */	NULL, /* filler */
-	/* 334 */	NULL, /* filler */
-	/* 335 */	NULL, /* filler */
-	/* 336 */	NULL, /* filler */
-	/* 337 */	NULL, /* filler */
-	/* 338 */	NULL, /* filler */
-	/* 339 */	NULL, /* filler */
-	/* 340 */	NULL, /* filler */
-	/* 341 */	NULL, /* filler */
-	/* 342 */	NULL, /* filler */
-	/* 343 */	NULL, /* filler */
-	/* 344 */	NULL, /* filler */
+	/* 323 */	NULL, /* unimplemented */
+	/* 324 */	NULL, /* unimplemented */
+	/* 325 */	NULL, /* unimplemented */
+	/* 326 */	NULL, /* unimplemented */
+	/* 327 */	NULL, /* unimplemented */
+	/* 328 */	NULL, /* unimplemented */
+	/* 329 */	NULL, /* unimplemented */
+	/* 330 */	NULL, /* unimplemented */
+	/* 331 */	NULL, /* unimplemented */
+	/* 332 */	NULL, /* unimplemented */
+	/* 333 */	NULL, /* unimplemented */
+	/* 334 */	NULL, /* unimplemented */
+	/* 335 */	NULL, /* unimplemented */
+	/* 336 */	NULL, /* unimplemented */
+	/* 337 */	NULL, /* unimplemented */
+	/* 338 */	NULL, /* unimplemented */
+	/* 339 */	NULL, /* unimplemented */
+	/* 340 */	NULL, /* unimplemented */
+	/* 341 */	NULL, /* unimplemented */
+	/* 342 */	NULL, /* unimplemented */
+	/* 343 */	NULL, /* unimplemented */
+	/* 344 */	NULL, /* accept4 */
 	/* 345 */	NULL, /* filler */
 	/* 346 */	NULL, /* filler */
 	/* 347 */	NULL, /* filler */

Reply via email to