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

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

Modified Files:
src/sys/compat/linux/arch/m68k: 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.103 -r1.104 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.102 -r1.103 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.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/m68k/linux_syscall.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscall.h:1.103 src/sys/compat/linux/arch/m68k/linux_syscall.h:1.104
--- src/sys/compat/linux/arch/m68k/linux_syscall.h:1.103	Fri Feb  3 02:54:39 2017
+++ src/sys/compat/linux/arch/m68k/linux_syscall.h	Fri Feb  3 11:44:21 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.103 2017/02/03 07:54:39 martin Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.104 2017/02/03 16:44:21 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.93 2017/02/03 16:44:12 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -723,6 +723,12 @@
 /* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
 #define	LINUX_SYS_accept4	361
 
-#define	LINUX_SYS_MAXSYSCALL	362
+/* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
+#define	LINUX_SYS_recvmmsg	371
+
+/* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
+#define	LINUX_SYS_sendmmsg	372
+
+#define	LINUX_SYS_MAXSYSCALL	379
 #define	LINUX_SYS_NSYSENT	512
 #endif /* _LINUX_SYS_SYSCALL_H_ */
Index: src/sys/compat/linux/arch/m68k/linux_syscalls.c
diff -u src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.103 src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.104
--- src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.103	Fri Feb  3 02:54:39 2017
+++ src/sys/compat/linux/arch/m68k/linux_syscalls.c	Fri Feb  3 11:44:21 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.103 2017/02/03 07:54:39 martin Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.104 2017/02/03 16:44:21 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
+ * created from	NetBSD: syscalls.master,v 1.93 2017/02/03 16:44:12 christos Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.103 2017/02/03 07:54:39 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.104 2017/02/03 16:44:21 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -391,48 +391,48 @@ const char *const linux_syscallnames[] =
 	/* 334 */	"#334 (unimplemented get_thread_area)",
 	/* 335 */	"#335 (unimplemented atomic_cmpxchg_32)",
 	/* 336 */	"#336 (unimplemented atomic_barrier)",
-	/* 337 */	"#337 (unimplemented)",
-	/* 338 */	"#338 (unimplemented)",
-	/* 339 */	"#339 (unimplemented)",
-	/* 340 */	"#340 (unimplemented)",
-	/* 341 */	"#341 (unimplemented)",
-	/* 342 */	"#342 (unimplemented)",
-	/* 343 */	"#343 (unimplemented)",
-	/* 344 */	"#344 (unimplemented)",
-	/* 345 */	"#345 (unimplemented)",
-	/* 346 */	"#346 (unimplemented)",
-	/* 347 */	"#347 (unimplemented)",
-	/* 348 */	"#348 (unimplemented)",
-	/* 349 */	"#349 (unimplemented)",
-	/* 350 */	"#350 (unimplemented)",
-	/* 351 */	"#351 (unimplemented)",
-	/* 352 */	"#352 (unimplemented)",
-	/* 353 */	"#353 (unimplemented)",
-	/* 354 */	"#354 (unimplemented)",
-	/* 355 */	"#355 (unimplemented)",
-	/* 356 */	"#356 (unimplemented)",
-	/* 357 */	"#357 (unimplemented)",
-	/* 358 */	"#358 (unimplemented)",
-	/* 359 */	"#359 (unimplemented)",
-	/* 360 */	"#360 (unimplemented)",
+	/* 337 */	"#337 (unimplemented fanotify_init)",
+	/* 338 */	"#338 (unimplemented fanotify_mark)",
+	/* 339 */	"#339 (unimplemented prlimit64)",
+	/* 340 */	"#340 (unimplemented name_to_handle_at)",
+	/* 341 */	"#341 (unimplemented open_by_handle_at)",
+	/* 342 */	"#342 (unimplemented clock_adjtime)",
+	/* 343 */	"#343 (unimplemented syncfs)",
+	/* 344 */	"#344 (unimplemented setns)",
+	/* 345 */	"#345 (unimplemented process_vm_readv)",
+	/* 346 */	"#346 (unimplemented process_vm_writev)",
+	/* 347 */	"#347 (unimplemented kcmp)",
+	/* 348 */	"#348 (unimplemented finit_module)",
+	/* 349 */	"#349 (unimplemented sched_setattr)",
+	/* 350 */	"#350 (unimplemented sched_getattr)",
+	/* 351 */	"#351 (unimplemented renameat2)",
+	/* 352 */	"#352 (unimplemented getrandom)",
+	/* 353 */	"#353 (unimplemented memfd_create)",
+	/* 354 */	"#354 (unimplemented bpf)",
+	/* 355 */	

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

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

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

Log Message:
and send and recv mmsg and unimpl


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/linux/arch/m68k/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/m68k/syscalls.master
diff -u src/sys/compat/linux/arch/m68k/syscalls.master:1.92 src/sys/compat/linux/arch/m68k/syscalls.master:1.93
--- src/sys/compat/linux/arch/m68k/syscalls.master:1.92	Fri Feb  3 02:54:26 2017
+++ src/sys/compat/linux/arch/m68k/syscalls.master	Fri Feb  3 11:44:12 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp $
+	$NetBSD: syscalls.master,v 1.93 2017/02/03 16:44:12 christos Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -558,31 +558,51 @@
 334	UNIMPL		get_thread_area
 335	UNIMPL		atomic_cmpxchg_32
 336	UNIMPL		atomic_barrier
-337	UNIMPL
-338	UNIMPL
-339	UNIMPL
-340	UNIMPL
-341	UNIMPL
-342	UNIMPL
-343	UNIMPL
-344	UNIMPL
-345	UNIMPL
-346	UNIMPL
-347	UNIMPL
-348	UNIMPL
-349	UNIMPL
-350	UNIMPL
-351	UNIMPL
-352	UNIMPL
-353	UNIMPL
-354	UNIMPL
-355	UNIMPL
-356	UNIMPL
-357	UNIMPL
-358	UNIMPL
-359	UNIMPL
-360	UNIMPL
+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	UNIMPL		setns
+345	UNIMPL		process_vm_readv
+346	UNIMPL		process_vm_writev
+347	UNIMPL		kcmp
+348	UNIMPL		finit_module
+349	UNIMPL		sched_setattr
+350	UNIMPL		sched_getattr
+351	UNIMPL		renameat2
+352	UNIMPL		getrandom
+353	UNIMPL		memfd_create
+354	UNIMPL		bpf
+355	UNIMPL		execveat
+356	UNIMPL		socket
+357	UNIMPL		socketpair
+358	UNIMPL		bind
+359	UNIMPL		connect
+360	UNIMPL		listen
 361	STD		{ int|linux_sys||accept4(int s, \
 			struct osockaddr *name, \
 			int *anamelen, int flags); }
-
+362	UNIMPL		getsockopt
+363	UNIMPL		setsockopt
+364	UNIMPL		getsockname
+365	UNIMPL		getpeername
+366	UNIMPL		sendto
+367	UNIMPL		sendmsg
+368	UNIMPL		recvfrom
+369	UNIMPL		recvmsg
+370	UNIMPL		shutdown
+371	STD		{ int|linux_sys||recvmmsg(int s, \
+			struct linux_mmsghdr *msgvec, unsigned int vlen, \
+			unsigned int flags, struct timespec *timeout); }
+372	STD		{ int|linux_sys||sendmmsg(int s, \
+			struct linux_mmsghdr *msgvec, unsigned int vlen, \
+			unsigned int flags); }
+373	UNIMPL		userfaultfd
+374	UNIMPL		membarrier
+375	UNIMPL		mlock2
+376	UNIMPL		copy_file_range
+377	UNIMPL		preadv2
+378	UNIMPL		pwritev2



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

2017-02-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Feb  3 07:54:39 UTC 2017

Modified Files:
src/sys/compat/linux/arch/m68k: 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.102 -r1.103 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.101 -r1.102 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.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/m68k/linux_syscall.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscall.h:1.102 src/sys/compat/linux/arch/m68k/linux_syscall.h:1.103
--- src/sys/compat/linux/arch/m68k/linux_syscall.h:1.102	Mon Jan 16 00:11:09 2017
+++ src/sys/compat/linux/arch/m68k/linux_syscall.h	Fri Feb  3 07:54:39 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.102 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.103 2017/02/03 07:54:39 martin Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp
+ * created from	NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -720,6 +720,9 @@
 /* syscall: "pipe2" ret: "int" args: "int *" "int" */
 #define	LINUX_SYS_pipe2	327
 
-#define	LINUX_SYS_MAXSYSCALL	337
+/* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
+#define	LINUX_SYS_accept4	361
+
+#define	LINUX_SYS_MAXSYSCALL	362
 #define	LINUX_SYS_NSYSENT	512
 #endif /* _LINUX_SYS_SYSCALL_H_ */
Index: src/sys/compat/linux/arch/m68k/linux_syscalls.c
diff -u src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.102 src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.103
--- src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.102	Mon Jan 16 00:11:09 2017
+++ src/sys/compat/linux/arch/m68k/linux_syscalls.c	Fri Feb  3 07:54:39 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.102 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.103 2017/02/03 07:54:39 martin Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp
+ * created from	NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.102 2017/01/16 00:11:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.103 2017/02/03 07:54:39 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -391,31 +391,31 @@ const char *const linux_syscallnames[] =
 	/* 334 */	"#334 (unimplemented get_thread_area)",
 	/* 335 */	"#335 (unimplemented atomic_cmpxchg_32)",
 	/* 336 */	"#336 (unimplemented atomic_barrier)",
-	/* 337 */	"# filler",
-	/* 338 */	"# filler",
-	/* 339 */	"# filler",
-	/* 340 */	"# filler",
-	/* 341 */	"# filler",
-	/* 342 */	"# filler",
-	/* 343 */	"# filler",
-	/* 344 */	"# filler",
-	/* 345 */	"# filler",
-	/* 346 */	"# filler",
-	/* 347 */	"# filler",
-	/* 348 */	"# filler",
-	/* 349 */	"# filler",
-	/* 350 */	"# filler",
-	/* 351 */	"# filler",
-	/* 352 */	"# filler",
-	/* 353 */	"# filler",
-	/* 354 */	"# filler",
-	/* 355 */	"# filler",
-	/* 356 */	"# filler",
-	/* 357 */	"# filler",
-	/* 358 */	"# filler",
-	/* 359 */	"# filler",
-	/* 360 */	"# filler",
-	/* 361 */	"# filler",
+	/* 337 */	"#337 (unimplemented)",
+	/* 338 */	"#338 (unimplemented)",
+	/* 339 */	"#339 (unimplemented)",
+	/* 340 */	"#340 (unimplemented)",
+	/* 341 */	"#341 (unimplemented)",
+	/* 342 */	"#342 (unimplemented)",
+	/* 343 */	"#343 (unimplemented)",
+	/* 344 */	"#344 (unimplemented)",
+	/* 345 */	"#345 (unimplemented)",
+	/* 346 */	"#346 (unimplemented)",
+	/* 347 */	"#347 (unimplemented)",
+	/* 348 */	"#348 (unimplemented)",
+	/* 349 */	"#349 (unimplemented)",
+	/* 350 */	"#350 (unimplemented)",
+	/* 351 */	"#351 (unimplemented)",
+	/* 352 */	"#352 (unimplemented)",
+	/* 353 */	"#353 (unimplemented)",
+	/* 354 */	"#354 (unimplemented)",
+	/* 355 */	"#355 (unimplemented)",
+	/* 356 */	"#356 (unimplemented)",
+	/* 357 */	"#357 (unimplemented)",
+	/* 358 */	"#358 (unimplemented)",
+	/* 359 */	"#359 (unimplemented)",
+	/* 360 */	"#360 (unimplemented)",
+	/* 361 */	"accept4",
 	/* 362 */	"# filler",
 	/* 363 */	"# filler",
 	/* 364 */	"# filler",
@@ -929,31 +929,31 @@ const char *const altlinux_syscallnames[
 	/* 334 */	NULL, /* unimplemented get_thread_area */
 	/* 335 */	NULL, /* unimplemented atomic_cmpxchg_32 */
 	/* 336 */	NULL, /* unimplemented atomic_barrier */
-	/* 337 */	NULL, /* filler */
-	/* 338 */	NULL, /* filler */
-	/* 339 */	NULL, /* filler */
-	/* 340 */	NULL, /* filler */
-	/* 341 */	NULL, /* filler */
-	/* 342 */	NULL, /* 

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

2017-02-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Feb  3 07:54:26 UTC 2017

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

Log Message:
Add accept4


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/linux/arch/m68k/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/m68k/syscalls.master
diff -u src/sys/compat/linux/arch/m68k/syscalls.master:1.91 src/sys/compat/linux/arch/m68k/syscalls.master:1.92
--- src/sys/compat/linux/arch/m68k/syscalls.master:1.91	Mon Jan  2 16:32:09 2017
+++ src/sys/compat/linux/arch/m68k/syscalls.master	Fri Feb  3 07:54:26 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp $
+	$NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -558,3 +558,31 @@
 334	UNIMPL		get_thread_area
 335	UNIMPL		atomic_cmpxchg_32
 336	UNIMPL		atomic_barrier
+337	UNIMPL
+338	UNIMPL
+339	UNIMPL
+340	UNIMPL
+341	UNIMPL
+342	UNIMPL
+343	UNIMPL
+344	UNIMPL
+345	UNIMPL
+346	UNIMPL
+347	UNIMPL
+348	UNIMPL
+349	UNIMPL
+350	UNIMPL
+351	UNIMPL
+352	UNIMPL
+353	UNIMPL
+354	UNIMPL
+355	UNIMPL
+356	UNIMPL
+357	UNIMPL
+358	UNIMPL
+359	UNIMPL
+360	UNIMPL
+361	STD		{ int|linux_sys||accept4(int s, \
+			struct osockaddr *name, \
+			int *anamelen, int flags); }
+



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

2014-02-15 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Feb 15 22:36:27 UTC 2014

Modified Files:
src/sys/compat/linux/arch/m68k: 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.86 -r1.87 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/linux/arch/m68k/linux_syscallargs.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/m68k/linux_syscall.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscall.h:1.86 src/sys/compat/linux/arch/m68k/linux_syscall.h:1.87
--- src/sys/compat/linux/arch/m68k/linux_syscall.h:1.86	Tue Dec 24 13:41:55 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscall.h	Sat Feb 15 22:36:26 2014
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.87 2014/02/15 22:36:26 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -615,6 +615,12 @@
 /* syscall: futex ret: int args: int * int int const struct linux_timespec * int * int */
 #define	LINUX_SYS_futex	235
 
+/* syscall: mincore ret: int args: void * size_t char * */
+#define	LINUX_SYS_mincore	237
+
+/* syscall: madvise ret: int args: void * size_t int */
+#define	LINUX_SYS_madvise	238
+
 /* syscall: fcntl64 ret: int args: int int void * */
 #define	LINUX_SYS_fcntl64	239
 
Index: src/sys/compat/linux/arch/m68k/linux_syscalls.c
diff -u src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.86 src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.87
--- src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.86	Tue Dec 24 13:41:55 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscalls.c	Sat Feb 15 22:36:26 2014
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.87 2014/02/15 22:36:26 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: linux_syscalls.c,v 1.87 2014/02/15 22:36:26 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -289,8 +289,8 @@ const char *const linux_syscallnames[] =
 	/* 234 */	fremovexattr,
 	/* 235 */	futex,
 	/* 236 */	#236 (unimplemented sendfile64),
-	/* 237 */	#237 (unimplemented mincore),
-	/* 238 */	#238 (unimplemented madvise),
+	/* 237 */	mincore,
+	/* 238 */	madvise,
 	/* 239 */	fcntl64,
 	/* 240 */	#240 (unimplemented readahead),
 	/* 241 */	#241 (unimplemented io_setup),
Index: src/sys/compat/linux/arch/m68k/linux_sysent.c
diff -u src/sys/compat/linux/arch/m68k/linux_sysent.c:1.86 src/sys/compat/linux/arch/m68k/linux_sysent.c:1.87
--- src/sys/compat/linux/arch/m68k/linux_sysent.c:1.86	Tue Dec 24 13:41:55 2013
+++ src/sys/compat/linux/arch/m68k/linux_sysent.c	Sat Feb 15 22:36:26 2014
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.87 2014/02/15 22:36:26 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: linux_sysent.c,v 1.87 2014/02/15 22:36:26 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_compat_netbsd.h
@@ -533,10 +533,10 @@ struct sysent linux_sysent[] = {
 	(sy_call_t *)linux_sys_futex },	/* 235 = futex */
 	{ 0, 0, 0,
 	linux_sys_nosys },			/* 236 = unimplemented sendfile64 */
-	{ 0, 0, 0,
-	linux_sys_nosys },			/* 237 = unimplemented mincore */
-	{ 0, 0, 0,
-	linux_sys_nosys },			/* 238 = unimplemented madvise */
+	{ ns(struct sys_mincore_args), SYCALL_ARG_PTR,
+	(sy_call_t *)sys_mincore },		/* 237 = mincore */
+	{ ns(struct sys_madvise_args), SYCALL_ARG_PTR,
+	(sy_call_t *)sys_madvise },		/* 238 = madvise */
 	{ ns(struct linux_sys_fcntl64_args), SYCALL_ARG_PTR,
 	(sy_call_t *)linux_sys_fcntl64 },	/* 239 = fcntl64 */
 	{ 0, 0, 0,

Index: src/sys/compat/linux/arch/m68k/linux_syscallargs.h
diff -u 

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

2014-02-15 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Feb 15 22:35:08 UTC 2014

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

Log Message:
Reduce diffs between archs, add mincore/madvise to m68k.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/compat/linux/arch/m68k/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/m68k/syscalls.master
diff -u src/sys/compat/linux/arch/m68k/syscalls.master:1.80 src/sys/compat/linux/arch/m68k/syscalls.master:1.81
--- src/sys/compat/linux/arch/m68k/syscalls.master:1.80	Tue Dec 24 13:41:25 2013
+++ src/sys/compat/linux/arch/m68k/syscalls.master	Sat Feb 15 22:35:08 2014
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp $
+	$NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -424,8 +424,8 @@
 			const struct linux_timespec *timeout, int *uaddr2, \
 			int val3); }
 236	UNIMPL		sendfile64
-237	UNIMPL		mincore
-238	UNIMPL		madvise
+237	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
+238	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
 239	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
 240	UNIMPL		readahead
 241	UNIMPL		io_setup



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

2013-12-24 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Dec 24 13:41:25 UTC 2013

Modified Files:
src/sys/compat/linux/arch/m68k: files.linux_m68k syscalls.master

Log Message:
Reduce diffs between arches, add fcntl64() to m68k.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux/arch/m68k/files.linux_m68k
cvs rdiff -u -r1.79 -r1.80 src/sys/compat/linux/arch/m68k/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/m68k/files.linux_m68k
diff -u src/sys/compat/linux/arch/m68k/files.linux_m68k:1.6 src/sys/compat/linux/arch/m68k/files.linux_m68k:1.7
--- src/sys/compat/linux/arch/m68k/files.linux_m68k:1.6	Mon May 30 17:50:31 2011
+++ src/sys/compat/linux/arch/m68k/files.linux_m68k	Tue Dec 24 13:41:25 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: files.linux_m68k,v 1.6 2011/05/30 17:50:31 alnsn Exp $
+#	$NetBSD: files.linux_m68k,v 1.7 2013/12/24 13:41:25 njoly Exp $
 #
 # Config file description for m68k-dependent Linux compat code.
 
@@ -21,3 +21,4 @@ file	compat/linux/common/linux_uid16.c		
 file	compat/linux/common/linux_futex.c		compat_linux
 file	compat/linux/common/linux_fadvise64.c		compat_linux
 file	compat/linux/common/linux_fadvise64_64.c	compat_linux
+file	compat/linux/common/linux_fcntl64.c		compat_linux

Index: src/sys/compat/linux/arch/m68k/syscalls.master
diff -u src/sys/compat/linux/arch/m68k/syscalls.master:1.79 src/sys/compat/linux/arch/m68k/syscalls.master:1.80
--- src/sys/compat/linux/arch/m68k/syscalls.master:1.79	Sun Dec  8 15:55:10 2013
+++ src/sys/compat/linux/arch/m68k/syscalls.master	Tue Dec 24 13:41:25 2013
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.79 2013/12/08 15:55:10 njoly Exp $
+	$NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -426,7 +426,7 @@
 236	UNIMPL		sendfile64
 237	UNIMPL		mincore
 238	UNIMPL		madvise
-239	UNIMPL		fcntl64
+239	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
 240	UNIMPL		readahead
 241	UNIMPL		io_setup
 242	UNIMPL		io_destroy



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

2013-12-24 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Tue Dec 24 13:41:55 UTC 2013

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

Log Message:
Regen for fcntl64().


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/linux/arch/m68k/linux_syscallargs.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/m68k/linux_syscall.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscall.h:1.85 src/sys/compat/linux/arch/m68k/linux_syscall.h:1.86
--- src/sys/compat/linux/arch/m68k/linux_syscall.h:1.85	Sun Dec  8 15:56:13 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscall.h	Tue Dec 24 13:41:55 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.85 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.79 2013/12/08 15:55:10 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -615,6 +615,9 @@
 /* syscall: futex ret: int args: int * int int const struct linux_timespec * int * int */
 #define	LINUX_SYS_futex	235
 
+/* syscall: fcntl64 ret: int args: int int void * */
+#define	LINUX_SYS_fcntl64	239
+
 /* syscall: fadvise64 ret: int args: int linux_off_t size_t int */
 #define	LINUX_SYS_fadvise64	246
 
Index: src/sys/compat/linux/arch/m68k/linux_syscalls.c
diff -u src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.85 src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.86
--- src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.85	Sun Dec  8 15:56:13 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscalls.c	Tue Dec 24 13:41:55 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.85 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.79 2013/12/08 15:55:10 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: linux_syscalls.c,v 1.85 2013/12/08 15:56:13 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -291,7 +291,7 @@ const char *const linux_syscallnames[] =
 	/* 236 */	#236 (unimplemented sendfile64),
 	/* 237 */	#237 (unimplemented mincore),
 	/* 238 */	#238 (unimplemented madvise),
-	/* 239 */	#239 (unimplemented fcntl64),
+	/* 239 */	fcntl64,
 	/* 240 */	#240 (unimplemented readahead),
 	/* 241 */	#241 (unimplemented io_setup),
 	/* 242 */	#242 (unimplemented io_destroy),
Index: src/sys/compat/linux/arch/m68k/linux_sysent.c
diff -u src/sys/compat/linux/arch/m68k/linux_sysent.c:1.85 src/sys/compat/linux/arch/m68k/linux_sysent.c:1.86
--- src/sys/compat/linux/arch/m68k/linux_sysent.c:1.85	Sun Dec  8 15:56:13 2013
+++ src/sys/compat/linux/arch/m68k/linux_sysent.c	Tue Dec 24 13:41:55 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.85 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.79 2013/12/08 15:55:10 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: linux_sysent.c,v 1.85 2013/12/08 15:56:13 njoly Exp $);
+__KERNEL_RCSID(0, $NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $);
 
 #if defined(_KERNEL_OPT)
 #include opt_compat_netbsd.h
@@ -537,8 +537,8 @@ struct sysent linux_sysent[] = {
 	linux_sys_nosys },			/* 237 = unimplemented mincore */
 	{ 0, 0, 0,
 	linux_sys_nosys },			/* 238 = unimplemented madvise */
-	{ 0, 0, 0,
-	linux_sys_nosys },			/* 239 = unimplemented fcntl64 */
+	{ ns(struct linux_sys_fcntl64_args), SYCALL_ARG_PTR,
+	(sy_call_t *)linux_sys_fcntl64 },	/* 239 = fcntl64 */
 	{ 0, 0, 0,
 	linux_sys_nosys },			/* 240 = unimplemented readahead */
 	{ 0, 0, 0,

Index: src/sys/compat/linux/arch/m68k/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.84 src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.85
--- src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.84	Sun Dec  8 15:56:13 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscallargs.h	Tue Dec 24 13:41:55 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: