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: linux_syscallargs.h,v 1.84 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.85 2013/12/24 13:41:55 njoly Exp $ */
/*
* System call argument lists.
*
* 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_SYSCALLARGS_H_
@@ -881,6 +881,13 @@ struct linux_sys_futex_args {
};
check_syscall_args(linux_sys_futex)
+struct linux_sys_fcntl64_args {
+ syscallarg(int) fd;
+ syscallarg(int) cmd;
+ syscallarg(void *) arg;
+};
+check_syscall_args(linux_sys_fcntl64)
+
struct linux_sys_fadvise64_args {
syscallarg(int) fd;
syscallarg(linux_off_t) offset;
@@ -1470,6 +1477,8 @@ int linux_sys_fremovexattr(struct lwp *,
int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
+int linux_sys_fcntl64(struct lwp *, const struct linux_sys_fcntl64_args *, register_t *);
+
int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);
int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);