Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/m68k Regen for fcntl64().
details: https://anonhg.NetBSD.org/src/rev/79b2adab75e7
branches: trunk
changeset: 325423:79b2adab75e7
user: njoly <njoly%NetBSD.org@localhost>
date: Tue Dec 24 13:41:55 2013 +0000
description:
Regen for fcntl64().
diffstat:
sys/compat/linux/arch/m68k/linux_syscall.h | 7 +++++--
sys/compat/linux/arch/m68k/linux_syscallargs.h | 13 +++++++++++--
sys/compat/linux/arch/m68k/linux_syscalls.c | 8 ++++----
sys/compat/linux/arch/m68k/linux_sysent.c | 10 +++++-----
4 files changed, 25 insertions(+), 13 deletions(-)
diffs (127 lines):
diff -r 647a10479fa5 -r 79b2adab75e7 sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h Tue Dec 24 13:41:25 2013 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h Tue Dec 24 13:41:55 2013 +0000
@@ -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
diff -r 647a10479fa5 -r 79b2adab75e7 sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h Tue Dec 24 13:41:25 2013 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h Tue Dec 24 13:41:55 2013 +0000
@@ -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 @@
};
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_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 *);
diff -r 647a10479fa5 -r 79b2adab75e7 sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c Tue Dec 24 13:41:25 2013 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c Tue Dec 24 13:41:55 2013 +0000
@@ -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 @@
/* 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)",
diff -r 647a10479fa5 -r 79b2adab75e7 sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Tue Dec 24 13:41:25 2013 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Tue Dec 24 13:41:55 2013 +0000
@@ -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 @@
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,
Home |
Main Index |
Thread Index |
Old Index