This commit is contained in:
christos 2002-04-10 18:19:04 +00:00
parent db952e86f3
commit 7e9e73a53c
24 changed files with 138 additions and 78 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.45 2002/03/22 15:15:08 christos Exp $ */
/* $NetBSD: linux_syscall.h,v 1.46 2002/04/10 18:19:04 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp
* created from NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -487,5 +487,8 @@
/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define LINUX_SYS___getcwd 367
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 377
#define LINUX_SYS_MAXSYSCALL 378
#define LINUX_SYS_NSYSENT 512

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.44 2002/03/22 15:15:08 christos Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.45 2002/04/10 18:19:04 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp
* created from NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -581,6 +581,12 @@ struct linux_sys_wait4_args {
syscallarg(struct rusage *) rusage;
};
struct linux_sys_getdents64_args {
syscallarg(int) fd;
syscallarg(struct linux_dirent64 *) dent;
syscallarg(unsigned int) count;
};
/*
* System call prototypes.
*/
@ -772,4 +778,5 @@ int sys_utimes(struct proc *, void *, register_t *);
int sys_getrusage(struct proc *, void *, register_t *);
int linux_sys_wait4(struct proc *, void *, register_t *);
int sys___getcwd(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.46 2002/03/22 15:15:09 christos Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.47 2002/04/10 18:19:04 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp
* created from NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.46 2002/03/22 15:15:09 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.47 2002/04/10 18:19:04 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -435,5 +435,5 @@ const char *const linux_syscallnames[] = {
"#374 (unimplemented pivot_root)", /* 374 = unimplemented pivot_root */
"#375 (unimplemented mincore)", /* 375 = unimplemented mincore */
"#376 (unimplemented pciconfig_iobase)", /* 376 = unimplemented pciconfig_iobase */
"#377 (unimplemented getdents64)", /* 377 = unimplemented getdents64 */
"getdents64", /* 377 = getdents64 */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.45 2002/03/22 15:15:09 christos Exp $ */
/* $NetBSD: linux_sysent.c,v 1.46 2002/04/10 18:19:04 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp
* created from NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.45 2002/03/22 15:15:09 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.46 2002/04/10 18:19:04 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@ -824,8 +824,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 375 = unimplemented mincore */
{ 0, 0, 0,
linux_sys_nosys }, /* 376 = unimplemented pciconfig_iobase */
{ 0, 0, 0,
linux_sys_nosys }, /* 377 = unimplemented getdents64 */
{ 3, s(struct linux_sys_getdents64_args), 0,
linux_sys_getdents64 }, /* 377 = getdents64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 378 = filler */
{ 0, 0, 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.9 2002/03/22 15:16:14 christos Exp $ */
/* $NetBSD: linux_syscall.h,v 1.10 2002/04/10 18:19:05 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp
* created from NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp
*/
/* syscall: "nosys" ret: "int" args: */
@ -541,6 +541,9 @@
/* syscall: "getfsuid32" ret: "int" args: */
#define LINUX_SYS_getfsuid32 216
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 217
/* syscall: "breakpoint" ret: "int" args: */
#define LINUX_SYS_breakpoint 257

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.9 2002/03/22 15:16:14 christos Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.10 2002/04/10 18:19:05 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp
* created from NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -542,6 +542,12 @@ struct linux_sys_chown_args {
syscallarg(gid_t) gid;
};
struct linux_sys_getdents64_args {
syscallarg(int) fd;
syscallarg(struct linux_dirent64 *) dent;
syscallarg(unsigned int) count;
};
struct linux_sys_cacheflush_args {
syscallarg(uintptr_t) from;
syscallarg(intptr_t) to;
@ -728,6 +734,7 @@ int sys_setuid(struct proc *, void *, register_t *);
int sys_setgid(struct proc *, void *, register_t *);
int linux_sys_setfsuid(struct proc *, void *, register_t *);
int linux_sys_getfsuid(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
int linux_sys_breakpoint(struct proc *, void *, register_t *);
int linux_sys_cacheflush(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.9 2002/03/22 15:16:15 christos Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.10 2002/04/10 18:19:05 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp
* created from NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.9 2002/03/22 15:16:15 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.10 2002/04/10 18:19:05 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -249,7 +249,7 @@ const char *const linux_syscallnames[] = {
"setgid32", /* 214 = setgid32 */
"setfsuid32", /* 215 = setfsuid32 */
"getfsuid32", /* 216 = getfsuid32 */
"#217 (unimplemented getdents64)", /* 217 = unimplemented getdents64 */
"getdents64", /* 217 = getdents64 */
"#218 (unimplemented pivot_root)", /* 218 = unimplemented pivot_root */
"#219 (unimplemented mincore)", /* 219 = unimplemented mincore */
"#220 (unimplemented madvise)", /* 220 = unimplemented madvise */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:16:15 christos Exp $ */
/* $NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:06 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp
* created from NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:16:15 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:06 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -467,8 +467,8 @@ struct sysent linux_sysent[] = {
linux_sys_setfsuid }, /* 215 = setfsuid32 */
{ 0, 0, 0,
linux_sys_getfsuid }, /* 216 = getfsuid32 */
{ 0, 0, 0,
linux_sys_nosys }, /* 217 = unimplemented getdents64 */
{ 3, s(struct linux_sys_getdents64_args), 0,
linux_sys_getdents64 }, /* 217 = getdents64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 218 = unimplemented pivot_root */
{ 0, 0, 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.43 2002/03/22 15:11:23 christos Exp $ */
/* $NetBSD: linux_syscall.h,v 1.44 2002/04/10 18:19:07 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
* created from NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -557,6 +557,9 @@
/* syscall: "getfsuid" ret: "int" args: */
#define LINUX_SYS_getfsuid 216
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 220
/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
#define LINUX_SYS_fcntl64 221

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.43 2002/03/22 15:11:23 christos Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.44 2002/04/10 18:19:07 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
* created from NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -598,6 +598,12 @@ struct linux_sys_setfsuid_args {
syscallarg(uid_t) uid;
};
struct linux_sys_getdents64_args {
syscallarg(int) fd;
syscallarg(struct linux_dirent64 *) dent;
syscallarg(unsigned int) count;
};
struct linux_sys_fcntl64_args {
syscallarg(int) fd;
syscallarg(int) cmd;
@ -788,5 +794,6 @@ int sys_setuid(struct proc *, void *, register_t *);
int sys_setgid(struct proc *, void *, register_t *);
int linux_sys_setfsuid(struct proc *, void *, register_t *);
int linux_sys_getfsuid(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
int linux_sys_fcntl64(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.44 2002/03/22 15:11:23 christos Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.45 2002/04/10 18:19:07 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
* created from NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.44 2002/03/22 15:11:23 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.45 2002/04/10 18:19:07 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -249,6 +249,6 @@ const char *const linux_syscallnames[] = {
"#217 (unimplemented pivot_root)", /* 217 = unimplemented pivot_root */
"#218 (unimplemented mincore)", /* 218 = unimplemented mincore */
"#219 (unimplemented madvise)", /* 219 = unimplemented madvise */
"#220 (unimplemented getdents64)", /* 220 = unimplemented getdents64 */
"getdents64", /* 220 = getdents64 */
"fcntl64", /* 221 = fcntl64 */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.43 2002/03/22 15:11:23 christos Exp $ */
/* $NetBSD: linux_sysent.c,v 1.44 2002/04/10 18:19:08 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
* created from NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.43 2002/03/22 15:11:23 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.44 2002/04/10 18:19:08 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -469,8 +469,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 218 = unimplemented mincore */
{ 0, 0, 0,
linux_sys_nosys }, /* 219 = unimplemented madvise */
{ 0, 0, 0,
linux_sys_nosys }, /* 220 = unimplemented getdents64 */
{ 3, s(struct linux_sys_getdents64_args), 0,
linux_sys_getdents64 }, /* 220 = getdents64 */
{ 3, s(struct linux_sys_fcntl64_args), 0,
linux_sys_fcntl64 }, /* 221 = fcntl64 */
{ 0, 0, 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.40 2002/03/22 15:17:17 christos Exp $ */
/* $NetBSD: linux_syscall.h,v 1.41 2002/04/10 18:19:08 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 2002/03/22 15:17:04 christos Exp
* created from NetBSD: syscalls.master,v 1.38 2002/04/10 18:18:28 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -540,4 +540,7 @@
/* syscall: "getfsuid" ret: "int" args: */
#define LINUX_SYS_getfsuid 216
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 220
#define LINUX_SYS_MAXSYSCALL 221

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.40 2002/03/22 15:17:17 christos Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.41 2002/04/10 18:19:08 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 2002/03/22 15:17:04 christos Exp
* created from NetBSD: syscalls.master,v 1.38 2002/04/10 18:18:28 christos Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -569,6 +569,12 @@ struct linux_sys_setfsuid_args {
syscallarg(uid_t) uid;
};
struct linux_sys_getdents64_args {
syscallarg(int) fd;
syscallarg(struct linux_dirent64 *) dent;
syscallarg(unsigned int) count;
};
/*
* System call prototypes.
*/
@ -759,4 +765,5 @@ int sys_setuid(struct proc *, void *, register_t *);
int sys_setgid(struct proc *, void *, register_t *);
int linux_sys_setfsuid(struct proc *, void *, register_t *);
int linux_sys_getfsuid(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.41 2002/03/22 15:17:17 christos Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.42 2002/04/10 18:19:08 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 2002/03/22 15:17:04 christos Exp
* created from NetBSD: syscalls.master,v 1.38 2002/04/10 18:18:28 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.41 2002/03/22 15:17:17 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.42 2002/04/10 18:19:08 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -265,5 +265,5 @@ const char *const linux_syscallnames[] = {
"#217 (unimplemented pivot_root)", /* 217 = unimplemented pivot_root */
"#218 (unimplemented / * unused ? * /)", /* 218 = unimplemented / * unused ? * / */
"#219 (unimplemented / * unused ? * /)", /* 219 = unimplemented / * unused ? * / */
"#220 (unimplemented getdents64)", /* 220 = unimplemented getdents64 */
"getdents64", /* 220 = getdents64 */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.40 2002/03/22 15:17:18 christos Exp $ */
/* $NetBSD: linux_sysent.c,v 1.41 2002/04/10 18:19:09 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 2002/03/22 15:17:04 christos Exp
* created from NetBSD: syscalls.master,v 1.38 2002/04/10 18:18:28 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.40 2002/03/22 15:17:18 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.41 2002/04/10 18:19:09 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -489,7 +489,7 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 218 = unimplemented / * unused ? * / */
{ 0, 0, 0,
linux_sys_nosys }, /* 219 = unimplemented / * unused ? * / */
{ 0, 0, 0,
linux_sys_nosys }, /* 220 = unimplemented getdents64 */
{ 3, s(struct linux_sys_getdents64_args), 0,
linux_sys_getdents64 }, /* 220 = getdents64 */
};

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.10 2002/03/22 15:18:48 christos Exp $ */
/* $NetBSD: linux_syscall.h,v 1.11 2002/04/10 18:19:09 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
* created from NetBSD: syscalls.master,v 1.9 2002/04/10 18:18:28 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -518,6 +518,9 @@
/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
#define LINUX_SYS_fstat64 215
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 219
/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
#define LINUX_SYS_fcntl64 220

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.10 2002/03/22 15:18:49 christos Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.11 2002/04/10 18:19:09 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
* created from NetBSD: syscalls.master,v 1.9 2002/04/10 18:18:28 christos Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -530,6 +530,12 @@ struct linux_sys_fstat64_args {
syscallarg(struct linux_stat64 *) sp;
};
struct linux_sys_getdents64_args {
syscallarg(int) fd;
syscallarg(struct linux_dirent64 *) dent;
syscallarg(unsigned int) count;
};
struct linux_sys_fcntl64_args {
syscallarg(int) fd;
syscallarg(int) cmd;
@ -709,5 +715,6 @@ int linux_sys_truncate64(struct proc *, void *, register_t *);
int linux_sys_stat64(struct proc *, void *, register_t *);
int linux_sys_lstat64(struct proc *, void *, register_t *);
int linux_sys_fstat64(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
int linux_sys_fcntl64(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.10 2002/03/22 15:18:49 christos Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.11 2002/04/10 18:19:09 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
* created from NetBSD: syscalls.master,v 1.9 2002/04/10 18:18:28 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.10 2002/03/22 15:18:49 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.11 2002/04/10 18:19:09 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -250,6 +250,6 @@ const char *const linux_syscallnames[] = {
"#216 (unimplemented pivot_root)", /* 216 = unimplemented pivot_root */
"#217 (unimplemented mincore)", /* 217 = unimplemented mincore */
"#218 (unimplemented modvise)", /* 218 = unimplemented modvise */
"#219 (unimplemented getdents64)", /* 219 = unimplemented getdents64 */
"getdents64", /* 219 = getdents64 */
"fcntl64", /* 220 = fcntl64 */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:18:49 christos Exp $ */
/* $NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:09 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
* created from NetBSD: syscalls.master,v 1.9 2002/04/10 18:18:28 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:18:49 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:09 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -469,8 +469,8 @@ struct sysent linux_sysent[] = {
sys_nosys }, /* 217 = unimplemented mincore */
{ 0, 0, 0,
sys_nosys }, /* 218 = unimplemented modvise */
{ 0, 0, 0,
sys_nosys }, /* 219 = unimplemented getdents64 */
{ 3, s(struct linux_sys_getdents64_args), 0,
linux_sys_getdents64 }, /* 219 = getdents64 */
{ 3, s(struct linux_sys_fcntl64_args), 0,
linux_sys_fcntl64 }, /* 220 = fcntl64 */
};

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.14 2002/03/22 15:19:53 christos Exp $ */
/* $NetBSD: linux_syscall.h,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -474,4 +474,7 @@
/* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */
#define LINUX_SYS_ugetrlimit 190
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 202
#define LINUX_SYS_MAXSYSCALL 207

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.14 2002/03/22 15:19:53 christos Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -514,6 +514,12 @@ struct linux_sys_ugetrlimit_args {
syscallarg(struct rlimit *) rlp;
};
struct linux_sys_getdents64_args {
syscallarg(int) fd;
syscallarg(struct linux_dirent64 *) dent;
syscallarg(unsigned int) count;
};
/*
* System call prototypes.
*/
@ -670,4 +676,5 @@ int sys___getcwd(struct proc *, void *, register_t *);
int linux_sys_sigaltstack(struct proc *, void *, register_t *);
int sys___vfork14(struct proc *, void *, register_t *);
int linux_sys_ugetrlimit(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.14 2002/03/22 15:19:54 christos Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.14 2002/03/22 15:19:54 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.15 2002/04/10 18:19:10 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -232,7 +232,7 @@ const char *const linux_syscallnames[] = {
"#199 (unimplemented sys_pciconfig_write)", /* 199 = unimplemented sys_pciconfig_write */
"#200 (unimplemented sys_pciconfig_iobase)", /* 200 = unimplemented sys_pciconfig_iobase */
"#201 (unimplemented / * Unused ( MacOnLinux project ) * /)", /* 201 = unimplemented / * Unused ( MacOnLinux project ) * / */
"#202 (unimplemented sys_getdents64)", /* 202 = unimplemented sys_getdents64 */
"getdents64", /* 202 = getdents64 */
"#203 (unimplemented pivot_root)", /* 203 = unimplemented pivot_root */
"#204 (unimplemented fcntl64)", /* 204 = unimplemented fcntl64 */
"#205 (unimplemented madvise)", /* 205 = unimplemented madvise */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.14 2002/03/22 15:19:54 christos Exp $ */
/* $NetBSD: linux_sysent.c,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.14 2002/03/22 15:19:54 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.15 2002/04/10 18:19:10 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -434,8 +434,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 200 = unimplemented sys_pciconfig_iobase */
{ 0, 0, 0,
linux_sys_nosys }, /* 201 = unimplemented / * Unused ( MacOnLinux project ) * / */
{ 0, 0, 0,
linux_sys_nosys }, /* 202 = unimplemented sys_getdents64 */
{ 3, s(struct linux_sys_getdents64_args), 0,
linux_sys_getdents64 }, /* 202 = getdents64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 203 = unimplemented pivot_root */
{ 0, 0, 0,