connect madvise(2) and mincore(2) - apparently the newer Linux libs
don't stub it anymore, so allow the application to take advantage
of them

the Linux calls appear to be compatible in the flag values and semantics,
so a wrapper is not necessary
This commit is contained in:
jdolecek 2004-08-01 10:38:38 +00:00
parent ae85fa27f7
commit 4b33174cf9
20 changed files with 816 additions and 90 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.48 2003/01/18 23:34:01 thorpej Exp $ */
/* $NetBSD: linux_syscall.h,v 1.49 2004/08/01 10:38:38 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.42 2003/01/18 08:02:46 thorpej Exp
* created from NetBSD: syscalls.master,v 1.43 2004/08/01 10:36:35 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -142,6 +142,9 @@
/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
#define LINUX_SYS_mprotect 74
/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
#define LINUX_SYS_madvise 75
/* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
#define LINUX_SYS_getgroups 79
@ -298,6 +301,7 @@
/* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */
#define LINUX_SYS_ugetrlimit 191
#ifdef SYSVMSG
/* syscall: "msgctl" ret: "int" args: "int" "int" "struct linux_msqid_ds *" */
#define LINUX_SYS_msgctl 200
@ -310,6 +314,9 @@
/* syscall: "msgsnd" ret: "int" args: "int" "void *" "size_t" "int" */
#define LINUX_SYS_msgsnd 203
#else
#endif
#ifdef SYSVSEM
/* syscall: "semctl" ret: "int" args: "int" "int" "int" "union linux_semun" */
#define LINUX_SYS_semctl 204
@ -319,12 +326,15 @@
/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */
#define LINUX_SYS_semop 206
#else
#endif
/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
#define LINUX_SYS_olduname 207
/* syscall: "__posix_lchown" ret: "int" args: "const char *" "int" "int" */
#define LINUX_SYS___posix_lchown 208
#ifdef SYSVSHM
/* syscall: "shmat" ret: "int" args: "int" "void *" "int" "u_long *" */
#define LINUX_SYS_shmat 209
@ -337,6 +347,8 @@
/* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
#define LINUX_SYS_shmget 212
#else
#endif
/* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */
#define LINUX_SYS_msync 217
@ -361,9 +373,12 @@
/* syscall: "clone" ret: "int" args: "int" "void *" */
#define LINUX_SYS_clone 312
#ifdef EXEC_AOUT
/* syscall: "uselib" ret: "int" args: "const char *" */
#define LINUX_SYS_uselib 313
#else
#endif
/* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
#define LINUX_SYS_mlock 314
@ -487,6 +502,9 @@
/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define LINUX_SYS___getcwd 367
/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
#define LINUX_SYS_mincore 375
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 377

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.47 2003/01/18 23:34:01 thorpej Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.48 2004/08/01 10:38:38 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.42 2003/01/18 08:02:46 thorpej Exp
* created from NetBSD: syscalls.master,v 1.43 2004/08/01 10:36:35 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -361,10 +361,19 @@ struct linux_sys_ugetrlimit_args {
syscallarg(int) which;
syscallarg(struct rlimit *) rlp;
};
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSEM
#else
#endif
struct linux_sys_olduname_args {
syscallarg(struct linux_old_utsname *) up;
};
#ifdef SYSVSHM
#else
#endif
struct linux_sys_msync_args {
syscallarg(caddr_t) addr;
@ -428,10 +437,13 @@ struct linux_sys_clone_args {
syscallarg(int) flags;
syscallarg(void *) stack;
};
#ifdef EXEC_AOUT
struct linux_sys_uselib_args {
syscallarg(const char *) path;
};
#else
#endif
struct linux_sys_sysinfo_args {
syscallarg(struct linux_sysinfo *) arg;
@ -592,191 +604,371 @@ struct linux_sys_getdents64_args {
*/
int linux_sys_nosys(struct lwp *, void *, register_t *);
int sys_exit(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int sys_read(struct lwp *, void *, register_t *);
int sys_write(struct lwp *, void *, register_t *);
int sys_close(struct lwp *, void *, register_t *);
int osf1_sys_wait4(struct lwp *, void *, register_t *);
int linux_sys_creat(struct lwp *, void *, register_t *);
int linux_sys_link(struct lwp *, void *, register_t *);
int linux_sys_unlink(struct lwp *, void *, register_t *);
int linux_sys_chdir(struct lwp *, void *, register_t *);
int sys_fchdir(struct lwp *, void *, register_t *);
int linux_sys_mknod(struct lwp *, void *, register_t *);
int linux_sys_chmod(struct lwp *, void *, register_t *);
int sys___posix_chown(struct lwp *, void *, register_t *);
int linux_sys_brk(struct lwp *, void *, register_t *);
int compat_43_sys_lseek(struct lwp *, void *, register_t *);
int sys_getpid_with_ppid(struct lwp *, void *, register_t *);
int osf1_sys_mount(struct lwp *, void *, register_t *);
int sys_setuid(struct lwp *, void *, register_t *);
int sys_getuid_with_euid(struct lwp *, void *, register_t *);
int linux_sys_ptrace(struct lwp *, void *, register_t *);
int linux_sys_access(struct lwp *, void *, register_t *);
int sys_sync(struct lwp *, void *, register_t *);
int linux_sys_kill(struct lwp *, void *, register_t *);
int sys_setpgid(struct lwp *, void *, register_t *);
int sys_dup(struct lwp *, void *, register_t *);
int linux_sys_pipe(struct lwp *, void *, register_t *);
int osf1_sys_set_program_attributes(struct lwp *, void *, register_t *);
int linux_sys_open(struct lwp *, void *, register_t *);
int sys_getgid_with_egid(struct lwp *, void *, register_t *);
int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
int sys_acct(struct lwp *, void *, register_t *);
int linux_sys_sigpending(struct lwp *, void *, register_t *);
int linux_sys_ioctl(struct lwp *, void *, register_t *);
int linux_sys_symlink(struct lwp *, void *, register_t *);
int linux_sys_readlink(struct lwp *, void *, register_t *);
int linux_sys_execve(struct lwp *, void *, register_t *);
int sys_umask(struct lwp *, void *, register_t *);
int sys_chroot(struct lwp *, void *, register_t *);
int sys_getpgrp(struct lwp *, void *, register_t *);
int compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
int sys___vfork14(struct lwp *, void *, register_t *);
int linux_sys_stat(struct lwp *, void *, register_t *);
int linux_sys_lstat(struct lwp *, void *, register_t *);
int linux_sys_mmap(struct lwp *, void *, register_t *);
int sys_munmap(struct lwp *, void *, register_t *);
int linux_sys_mprotect(struct lwp *, void *, register_t *);
int sys_madvise(struct lwp *, void *, register_t *);
int sys_getgroups(struct lwp *, void *, register_t *);
int sys_setgroups(struct lwp *, void *, register_t *);
int osf1_sys_setitimer(struct lwp *, void *, register_t *);
int compat_43_sys_gethostname(struct lwp *, void *, register_t *);
int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
int sys_dup2(struct lwp *, void *, register_t *);
int linux_sys_fstat(struct lwp *, void *, register_t *);
int linux_sys_fcntl(struct lwp *, void *, register_t *);
int osf1_sys_select(struct lwp *, void *, register_t *);
int sys_poll(struct lwp *, void *, register_t *);
int sys_fsync(struct lwp *, void *, register_t *);
int sys_setpriority(struct lwp *, void *, register_t *);
int linux_sys_socket(struct lwp *, void *, register_t *);
int linux_sys_connect(struct lwp *, void *, register_t *);
int linux_sys_accept(struct lwp *, void *, register_t *);
int sys_getpriority(struct lwp *, void *, register_t *);
int linux_sys_send(struct lwp *, void *, register_t *);
int linux_sys_recv(struct lwp *, void *, register_t *);
int linux_sys_sigreturn(struct lwp *, void *, register_t *);
int linux_sys_bind(struct lwp *, void *, register_t *);
int linux_sys_setsockopt(struct lwp *, void *, register_t *);
int sys_listen(struct lwp *, void *, register_t *);
int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
int compat_43_sys_sigstack(struct lwp *, void *, register_t *);
int linux_sys_recvmsg(struct lwp *, void *, register_t *);
int linux_sys_sendmsg(struct lwp *, void *, register_t *);
int osf1_sys_gettimeofday(struct lwp *, void *, register_t *);
int osf1_sys_getrusage(struct lwp *, void *, register_t *);
int linux_sys_getsockopt(struct lwp *, void *, register_t *);
int sys_readv(struct lwp *, void *, register_t *);
int sys_writev(struct lwp *, void *, register_t *);
int osf1_sys_settimeofday(struct lwp *, void *, register_t *);
int sys___posix_fchown(struct lwp *, void *, register_t *);
int sys_fchmod(struct lwp *, void *, register_t *);
int linux_sys_recvfrom(struct lwp *, void *, register_t *);
int sys_setreuid(struct lwp *, void *, register_t *);
int sys_setregid(struct lwp *, void *, register_t *);
int linux_sys_rename(struct lwp *, void *, register_t *);
int linux_sys_truncate(struct lwp *, void *, register_t *);
int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
int sys_flock(struct lwp *, void *, register_t *);
int sys_setgid(struct lwp *, void *, register_t *);
int linux_sys_sendto(struct lwp *, void *, register_t *);
int sys_shutdown(struct lwp *, void *, register_t *);
int linux_sys_socketpair(struct lwp *, void *, register_t *);
int linux_sys_mkdir(struct lwp *, void *, register_t *);
int linux_sys_rmdir(struct lwp *, void *, register_t *);
int osf1_sys_utimes(struct lwp *, void *, register_t *);
int linux_sys_getpeername(struct lwp *, void *, register_t *);
int linux_sys_getrlimit(struct lwp *, void *, register_t *);
int linux_sys_setrlimit(struct lwp *, void *, register_t *);
int sys_setsid(struct lwp *, void *, register_t *);
int linux_sys_getsockname(struct lwp *, void *, register_t *);
int linux_sys_sigaction(struct lwp *, void *, register_t *);
int compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
int osf1_sys_statfs(struct lwp *, void *, register_t *);
int osf1_sys_fstatfs(struct lwp *, void *, register_t *);
int compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
int linux_sys_setdomainname(struct lwp *, void *, register_t *);
int linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
#ifdef SYSVMSG
int linux_sys_msgctl(struct lwp *, void *, register_t *);
int sys_msgget(struct lwp *, void *, register_t *);
int sys_msgrcv(struct lwp *, void *, register_t *);
int sys_msgsnd(struct lwp *, void *, register_t *);
#else
#endif
#ifdef SYSVSEM
int linux_sys_semctl(struct lwp *, void *, register_t *);
int sys_semget(struct lwp *, void *, register_t *);
int sys_semop(struct lwp *, void *, register_t *);
#else
#endif
int linux_sys_olduname(struct lwp *, void *, register_t *);
int sys___posix_lchown(struct lwp *, void *, register_t *);
#ifdef SYSVSHM
int linux_sys_shmat(struct lwp *, void *, register_t *);
int linux_sys_shmctl(struct lwp *, void *, register_t *);
int sys_shmdt(struct lwp *, void *, register_t *);
int sys_shmget(struct lwp *, void *, register_t *);
#else
#endif
int linux_sys_msync(struct lwp *, void *, register_t *);
int linux_sys_getpgid(struct lwp *, void *, register_t *);
int sys_getsid(struct lwp *, void *, register_t *);
int osf1_sys_sysinfo(struct lwp *, void *, register_t *);
int osf1_sys_usleep_thread(struct lwp *, void *, register_t *);
int osf1_sys_getsysinfo(struct lwp *, void *, register_t *);
int osf1_sys_setsysinfo(struct lwp *, void *, register_t *);
int linux_sys_fdatasync(struct lwp *, void *, register_t *);
int linux_sys_swapoff(struct lwp *, void *, register_t *);
int linux_sys_getdents(struct lwp *, void *, register_t *);
int linux_sys_reboot(struct lwp *, void *, register_t *);
int linux_sys_clone(struct lwp *, void *, register_t *);
#ifdef EXEC_AOUT
int linux_sys_uselib(struct lwp *, void *, register_t *);
#else
#endif
int sys_mlock(struct lwp *, void *, register_t *);
int sys_munlock(struct lwp *, void *, register_t *);
int sys_mlockall(struct lwp *, void *, register_t *);
int sys_munlockall(struct lwp *, void *, register_t *);
int linux_sys_sysinfo(struct lwp *, void *, register_t *);
int linux_sys___sysctl(struct lwp *, void *, register_t *);
int linux_sys_swapon(struct lwp *, void *, register_t *);
int linux_sys_times(struct lwp *, void *, register_t *);
int linux_sys_personality(struct lwp *, void *, register_t *);
int linux_sys_setfsuid(struct lwp *, void *, register_t *);
int linux_sys_statfs(struct lwp *, void *, register_t *);
int linux_sys_fstatfs(struct lwp *, void *, register_t *);
int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_yield(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
int linux_sys_uname(struct lwp *, void *, register_t *);
int sys_nanosleep(struct lwp *, void *, register_t *);
int linux_sys_mremap(struct lwp *, void *, register_t *);
int linux_sys_setresuid(struct lwp *, void *, register_t *);
int linux_sys_getresuid(struct lwp *, void *, register_t *);
int linux_sys_pread(struct lwp *, void *, register_t *);
int linux_sys_pwrite(struct lwp *, void *, register_t *);
int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
int linux_sys_select(struct lwp *, void *, register_t *);
int sys_gettimeofday(struct lwp *, void *, register_t *);
int sys_settimeofday(struct lwp *, void *, register_t *);
int sys_getitimer(struct lwp *, void *, register_t *);
int sys_setitimer(struct lwp *, void *, register_t *);
int sys_utimes(struct lwp *, void *, register_t *);
int sys_getrusage(struct lwp *, void *, register_t *);
int linux_sys_wait4(struct lwp *, void *, register_t *);
int sys___getcwd(struct lwp *, void *, register_t *);
int sys_mincore(struct lwp *, void *, register_t *);
int linux_sys_getdents64(struct lwp *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.49 2003/01/18 23:34:01 thorpej Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.50 2004/08/01 10:38:38 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.42 2003/01/18 08:02:46 thorpej Exp
* created from NetBSD: syscalls.master,v 1.43 2004/08/01 10:36:35 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.49 2003/01/18 23:34:01 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.50 2004/08/01 10:38:38 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -110,7 +110,7 @@ const char *const linux_syscallnames[] = {
"#72 (unimplemented)", /* 72 = unimplemented */
"munmap", /* 73 = munmap */
"mprotect", /* 74 = mprotect */
"#75 (unimplemented madvise)", /* 75 = unimplemented madvise */
"madvise", /* 75 = madvise */
"#76 (unimplemented vhangup)", /* 76 = unimplemented vhangup */
"#77 (unimplemented)", /* 77 = unimplemented */
"#78 (unimplemented)", /* 78 = unimplemented */
@ -434,7 +434,7 @@ const char *const linux_syscallnames[] = {
"#372 (unimplemented getresgid)", /* 372 = unimplemented getresgid */
"#373 (unimplemented sys_dipc)", /* 373 = unimplemented sys_dipc */
"#374 (unimplemented pivot_root)", /* 374 = unimplemented pivot_root */
"#375 (unimplemented mincore)", /* 375 = unimplemented mincore */
"mincore", /* 375 = mincore */
"#376 (unimplemented pciconfig_iobase)", /* 376 = unimplemented pciconfig_iobase */
"getdents64", /* 377 = getdents64 */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.48 2003/01/18 23:34:01 thorpej Exp $ */
/* $NetBSD: linux_sysent.c,v 1.49 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.42 2003/01/18 08:02:46 thorpej Exp
* created from NetBSD: syscalls.master,v 1.43 2004/08/01 10:36:35 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.48 2003/01/18 23:34:01 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.49 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@ -185,8 +185,8 @@ struct sysent linux_sysent[] = {
sys_munmap }, /* 73 = munmap */
{ 3, s(struct linux_sys_mprotect_args), 0,
linux_sys_mprotect }, /* 74 = mprotect */
{ 0, 0, 0,
linux_sys_nosys }, /* 75 = unimplemented madvise */
{ 3, s(struct sys_madvise_args), 0,
sys_madvise }, /* 75 = madvise */
{ 0, 0, 0,
linux_sys_nosys }, /* 76 = unimplemented vhangup */
{ 0, 0, 0,
@ -821,8 +821,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 373 = unimplemented sys_dipc */
{ 0, 0, 0,
linux_sys_nosys }, /* 374 = unimplemented pivot_root */
{ 0, 0, 0,
linux_sys_nosys }, /* 375 = unimplemented mincore */
{ 3, s(struct sys_mincore_args), 0,
sys_mincore }, /* 375 = mincore */
{ 0, 0, 0,
linux_sys_nosys }, /* 376 = unimplemented pciconfig_iobase */
{ 3, s(struct linux_sys_getdents64_args), 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.16 2003/08/10 20:17:21 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.17 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.15 2003/08/10 20:16:20 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.16 2004/08/01 10:32:40 jdolecek Exp
*/
/* syscall: "nosys" ret: "int" args: */
@ -234,10 +234,13 @@
/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
#define LINUX_SYS_readlink 85
#ifdef EXEC_AOUT
/* syscall: "uselib" ret: "int" args: "const char *" */
#define LINUX_SYS_uselib 86
#else
/* 86 is excluded uselib */
#endif
/* syscall: "swapon" ret: "int" args: "char *" */
#define LINUX_SYS_swapon 87
@ -547,6 +550,12 @@
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 217
/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
#define LINUX_SYS_mincore 219
/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
#define LINUX_SYS_madvise 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.16 2003/08/10 20:17:21 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.17 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.15 2003/08/10 20:16:20 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.16 2004/08/01 10:32:40 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -219,10 +219,13 @@ struct linux_sys_readlink_args {
syscallarg(char *) buf;
syscallarg(int) count;
};
#ifdef EXEC_AOUT
struct linux_sys_uselib_args {
syscallarg(const char *) path;
};
#else
#endif
struct linux_sys_swapon_args {
syscallarg(char *) name;
@ -569,185 +572,336 @@ struct linux_sys_cacheflush_args {
*/
int linux_sys_nosys(struct lwp *, void *, register_t *);
int sys_exit(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int sys_read(struct lwp *, void *, register_t *);
int sys_write(struct lwp *, void *, register_t *);
int linux_sys_open(struct lwp *, void *, register_t *);
int sys_close(struct lwp *, void *, register_t *);
int linux_sys_waitpid(struct lwp *, void *, register_t *);
int linux_sys_creat(struct lwp *, void *, register_t *);
int linux_sys_link(struct lwp *, void *, register_t *);
int linux_sys_unlink(struct lwp *, void *, register_t *);
int linux_sys_execve(struct lwp *, void *, register_t *);
int linux_sys_chdir(struct lwp *, void *, register_t *);
int linux_sys_time(struct lwp *, void *, register_t *);
int linux_sys_mknod(struct lwp *, void *, register_t *);
int linux_sys_chmod(struct lwp *, void *, register_t *);
int linux_sys_lchown16(struct lwp *, void *, register_t *);
int compat_43_sys_lseek(struct lwp *, void *, register_t *);
int sys_getpid(struct lwp *, void *, register_t *);
int sys_setuid(struct lwp *, void *, register_t *);
int sys_getuid(struct lwp *, void *, register_t *);
int linux_sys_stime(struct lwp *, void *, register_t *);
int linux_sys_ptrace(struct lwp *, void *, register_t *);
int linux_sys_alarm(struct lwp *, void *, register_t *);
int linux_sys_pause(struct lwp *, void *, register_t *);
int linux_sys_utime(struct lwp *, void *, register_t *);
int linux_sys_access(struct lwp *, void *, register_t *);
int linux_sys_nice(struct lwp *, void *, register_t *);
int sys_sync(struct lwp *, void *, register_t *);
int linux_sys_kill(struct lwp *, void *, register_t *);
int linux_sys_rename(struct lwp *, void *, register_t *);
int linux_sys_mkdir(struct lwp *, void *, register_t *);
int linux_sys_rmdir(struct lwp *, void *, register_t *);
int sys_dup(struct lwp *, void *, register_t *);
int linux_sys_pipe(struct lwp *, void *, register_t *);
int linux_sys_times(struct lwp *, void *, register_t *);
int linux_sys_brk(struct lwp *, void *, register_t *);
int sys_setgid(struct lwp *, void *, register_t *);
int sys_getgid(struct lwp *, void *, register_t *);
int linux_sys_signal(struct lwp *, void *, register_t *);
int sys_geteuid(struct lwp *, void *, register_t *);
int sys_getegid(struct lwp *, void *, register_t *);
int sys_acct(struct lwp *, void *, register_t *);
int linux_sys_ioctl(struct lwp *, void *, register_t *);
int linux_sys_fcntl(struct lwp *, void *, register_t *);
int sys_setpgid(struct lwp *, void *, register_t *);
int linux_sys_oldolduname(struct lwp *, void *, register_t *);
int sys_umask(struct lwp *, void *, register_t *);
int sys_chroot(struct lwp *, void *, register_t *);
int sys_dup2(struct lwp *, void *, register_t *);
int sys_getppid(struct lwp *, void *, register_t *);
int sys_getpgrp(struct lwp *, void *, register_t *);
int sys_setsid(struct lwp *, void *, register_t *);
int linux_sys_sigaction(struct lwp *, void *, register_t *);
int linux_sys_siggetmask(struct lwp *, void *, register_t *);
int linux_sys_sigsetmask(struct lwp *, void *, register_t *);
int sys_setreuid(struct lwp *, void *, register_t *);
int sys_setregid(struct lwp *, void *, register_t *);
int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
int linux_sys_sigpending(struct lwp *, void *, register_t *);
int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
int linux_sys_setrlimit(struct lwp *, void *, register_t *);
int linux_sys_getrlimit(struct lwp *, void *, register_t *);
int sys_getrusage(struct lwp *, void *, register_t *);
int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
int linux_sys_settimeofday(struct lwp *, void *, register_t *);
int sys_getgroups(struct lwp *, void *, register_t *);
int sys_setgroups(struct lwp *, void *, register_t *);
int linux_sys_oldselect(struct lwp *, void *, register_t *);
int linux_sys_symlink(struct lwp *, void *, register_t *);
int compat_43_sys_lstat(struct lwp *, void *, register_t *);
int linux_sys_readlink(struct lwp *, void *, register_t *);
#ifdef EXEC_AOUT
int linux_sys_uselib(struct lwp *, void *, register_t *);
#else
#endif
int linux_sys_swapon(struct lwp *, void *, register_t *);
int linux_sys_reboot(struct lwp *, void *, register_t *);
int linux_sys_readdir(struct lwp *, void *, register_t *);
int linux_sys_old_mmap(struct lwp *, void *, register_t *);
int sys_munmap(struct lwp *, void *, register_t *);
int linux_sys_truncate(struct lwp *, void *, register_t *);
int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
int sys_fchmod(struct lwp *, void *, register_t *);
int linux_sys_fchown16(struct lwp *, void *, register_t *);
int sys_getpriority(struct lwp *, void *, register_t *);
int sys_setpriority(struct lwp *, void *, register_t *);
int sys_profil(struct lwp *, void *, register_t *);
int linux_sys_statfs(struct lwp *, void *, register_t *);
int linux_sys_fstatfs(struct lwp *, void *, register_t *);
int linux_sys_socketcall(struct lwp *, void *, register_t *);
int sys_setitimer(struct lwp *, void *, register_t *);
int sys_getitimer(struct lwp *, void *, register_t *);
int linux_sys_stat(struct lwp *, void *, register_t *);
int linux_sys_lstat(struct lwp *, void *, register_t *);
int linux_sys_fstat(struct lwp *, void *, register_t *);
int linux_sys_olduname(struct lwp *, void *, register_t *);
int linux_sys_wait4(struct lwp *, void *, register_t *);
int linux_sys_swapoff(struct lwp *, void *, register_t *);
int linux_sys_sysinfo(struct lwp *, void *, register_t *);
int linux_sys_ipc(struct lwp *, void *, register_t *);
int sys_fsync(struct lwp *, void *, register_t *);
int linux_sys_sigreturn(struct lwp *, void *, register_t *);
int linux_sys_clone(struct lwp *, void *, register_t *);
int linux_sys_setdomainname(struct lwp *, void *, register_t *);
int linux_sys_uname(struct lwp *, void *, register_t *);
int linux_sys_mprotect(struct lwp *, void *, register_t *);
int linux_sys_sigprocmask(struct lwp *, void *, register_t *);
int linux_sys_getpgid(struct lwp *, void *, register_t *);
int sys_fchdir(struct lwp *, void *, register_t *);
int linux_sys_personality(struct lwp *, void *, register_t *);
int linux_sys_setfsuid(struct lwp *, void *, register_t *);
int linux_sys_getfsuid(struct lwp *, void *, register_t *);
int linux_sys_llseek(struct lwp *, void *, register_t *);
int linux_sys_getdents(struct lwp *, void *, register_t *);
int linux_sys_select(struct lwp *, void *, register_t *);
int sys_flock(struct lwp *, void *, register_t *);
int linux_sys_msync(struct lwp *, void *, register_t *);
int sys_readv(struct lwp *, void *, register_t *);
int sys_writev(struct lwp *, void *, register_t *);
int sys_getsid(struct lwp *, void *, register_t *);
int linux_sys_fdatasync(struct lwp *, void *, register_t *);
int linux_sys___sysctl(struct lwp *, void *, register_t *);
int sys_mlock(struct lwp *, void *, register_t *);
int sys_munlock(struct lwp *, void *, register_t *);
int sys_mlockall(struct lwp *, void *, register_t *);
int sys_munlockall(struct lwp *, void *, register_t *);
int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_yield(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
int sys_nanosleep(struct lwp *, void *, register_t *);
int linux_sys_mremap(struct lwp *, void *, register_t *);
int linux_sys_setresuid(struct lwp *, void *, register_t *);
int linux_sys_getresuid(struct lwp *, void *, register_t *);
int sys_poll(struct lwp *, void *, register_t *);
int linux_sys_setresgid(struct lwp *, void *, register_t *);
int linux_sys_getresgid(struct lwp *, void *, register_t *);
int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
int linux_sys_pread(struct lwp *, void *, register_t *);
int linux_sys_pwrite(struct lwp *, void *, register_t *);
int linux_sys_chown16(struct lwp *, void *, register_t *);
int sys___getcwd(struct lwp *, void *, register_t *);
int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
int sys___vfork14(struct lwp *, void *, register_t *);
int linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
int linux_sys_mmap2(struct lwp *, void *, register_t *);
int linux_sys_truncate64(struct lwp *, void *, register_t *);
int linux_sys_ftruncate64(struct lwp *, void *, register_t *);
int linux_sys_stat64(struct lwp *, void *, register_t *);
int linux_sys_lstat64(struct lwp *, void *, register_t *);
int linux_sys_fstat64(struct lwp *, void *, register_t *);
int linux_sys_lchown(struct lwp *, void *, register_t *);
int sys_getuid(struct lwp *, void *, register_t *);
int sys_getgid(struct lwp *, void *, register_t *);
int sys_geteuid(struct lwp *, void *, register_t *);
int sys_getegid(struct lwp *, void *, register_t *);
int sys_setreuid(struct lwp *, void *, register_t *);
int sys_setregid(struct lwp *, void *, register_t *);
int sys_getgroups(struct lwp *, void *, register_t *);
int sys_setgroups(struct lwp *, void *, register_t *);
int sys___posix_fchown(struct lwp *, void *, register_t *);
int linux_sys_setresuid(struct lwp *, void *, register_t *);
int linux_sys_getresuid(struct lwp *, void *, register_t *);
int linux_sys_setresgid(struct lwp *, void *, register_t *);
int linux_sys_getresgid(struct lwp *, void *, register_t *);
int linux_sys_chown(struct lwp *, void *, register_t *);
int sys_setuid(struct lwp *, void *, register_t *);
int sys_setgid(struct lwp *, void *, register_t *);
int linux_sys_setfsuid(struct lwp *, void *, register_t *);
int linux_sys_getfsuid(struct lwp *, void *, register_t *);
int linux_sys_getdents64(struct lwp *, void *, register_t *);
int sys_mincore(struct lwp *, void *, register_t *);
int sys_madvise(struct lwp *, void *, register_t *);
int linux_sys_fcntl64(struct lwp *, void *, register_t *);
int linux_sys_breakpoint(struct lwp *, void *, register_t *);
int linux_sys_cacheflush(struct lwp *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.16 2003/08/10 20:17:22 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.17 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.15 2003/08/10 20:16:20 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.16 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.16 2003/08/10 20:17:22 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.17 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -253,8 +253,8 @@ const char *const linux_syscallnames[] = {
"getfsuid32", /* 216 = getfsuid32 */
"getdents64", /* 217 = getdents64 */
"#218 (unimplemented pivot_root)", /* 218 = unimplemented pivot_root */
"#219 (unimplemented mincore)", /* 219 = unimplemented mincore */
"#220 (unimplemented madvise)", /* 220 = unimplemented madvise */
"mincore", /* 219 = mincore */
"madvise", /* 220 = madvise */
"fcntl64", /* 221 = fcntl64 */
"#222 (unimplemented)", /* 222 = unimplemented */
"#223 (unimplemented)", /* 223 = unimplemented */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.16 2003/08/10 20:17:22 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.17 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.15 2003/08/10 20:16:20 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.16 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.16 2003/08/10 20:17:22 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.17 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -473,10 +473,10 @@ struct sysent linux_sysent[] = {
linux_sys_getdents64 }, /* 217 = getdents64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 218 = unimplemented pivot_root */
{ 0, 0, 0,
linux_sys_nosys }, /* 219 = unimplemented mincore */
{ 0, 0, 0,
linux_sys_nosys }, /* 220 = unimplemented madvise */
{ 3, s(struct sys_mincore_args), 0,
sys_mincore }, /* 219 = mincore */
{ 3, s(struct sys_madvise_args), 0,
sys_madvise }, /* 220 = madvise */
{ 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.50 2004/08/01 10:32:40 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.51 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2003/08/10 20:16:22 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2004/08/01 10:32:40 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.50 2004/08/01 10:32:40 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.51 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2003/08/10 20:16:22 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2004/08/01 10:32:40 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.51 2004/08/01 10:32:40 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.52 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2003/08/10 20:16:22 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.51 2004/08/01 10:32:40 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.52 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.50 2004/08/01 10:32:40 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.51 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2003/08/10 20:16:22 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.50 2004/08/01 10:32:40 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.51 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.16 2003/08/10 20:17:29 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.17 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 2003/08/10 20:16:25 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.13 2004/08/01 10:32:40 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -524,6 +524,12 @@
/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
#define LINUX_SYS_fstat64 215
/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
#define LINUX_SYS_mincore 217
/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
#define LINUX_SYS_madvise 218
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 219

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.15 2003/08/10 20:17:30 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.16 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 2003/08/10 20:16:25 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.13 2004/08/01 10:32:40 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -552,176 +552,353 @@ struct linux_sys_fcntl64_args {
*/
int linux_sys_nosys(struct lwp *, void *, register_t *);
int sys_exit(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int sys_read(struct lwp *, void *, register_t *);
int sys_write(struct lwp *, void *, register_t *);
int linux_sys_open(struct lwp *, void *, register_t *);
int sys_close(struct lwp *, void *, register_t *);
int linux_sys_waitpid(struct lwp *, void *, register_t *);
int linux_sys_creat(struct lwp *, void *, register_t *);
int linux_sys_link(struct lwp *, void *, register_t *);
int linux_sys_unlink(struct lwp *, void *, register_t *);
int linux_sys_execve(struct lwp *, void *, register_t *);
int linux_sys_chdir(struct lwp *, void *, register_t *);
int linux_sys_time(struct lwp *, void *, register_t *);
int linux_sys_mknod(struct lwp *, void *, register_t *);
int linux_sys_chmod(struct lwp *, void *, register_t *);
int linux_sys_lchown(struct lwp *, void *, register_t *);
int compat_43_sys_lseek(struct lwp *, void *, register_t *);
int sys_getpid(struct lwp *, void *, register_t *);
int sys_setuid(struct lwp *, void *, register_t *);
int sys_getuid(struct lwp *, void *, register_t *);
int linux_sys_stime(struct lwp *, void *, register_t *);
int linux_sys_ptrace(struct lwp *, void *, register_t *);
int linux_sys_alarm(struct lwp *, void *, register_t *);
int linux_sys_pause(struct lwp *, void *, register_t *);
int linux_sys_utime(struct lwp *, void *, register_t *);
int linux_sys_access(struct lwp *, void *, register_t *);
int linux_sys_nice(struct lwp *, void *, register_t *);
int sys_sync(struct lwp *, void *, register_t *);
int linux_sys_kill(struct lwp *, void *, register_t *);
int linux_sys_rename(struct lwp *, void *, register_t *);
int linux_sys_mkdir(struct lwp *, void *, register_t *);
int linux_sys_rmdir(struct lwp *, void *, register_t *);
int sys_dup(struct lwp *, void *, register_t *);
int linux_sys_pipe(struct lwp *, void *, register_t *);
int linux_sys_times(struct lwp *, void *, register_t *);
int linux_sys_brk(struct lwp *, void *, register_t *);
int sys_setgid(struct lwp *, void *, register_t *);
int sys_getgid(struct lwp *, void *, register_t *);
int linux_sys_signal(struct lwp *, void *, register_t *);
int sys_geteuid(struct lwp *, void *, register_t *);
int sys_getegid(struct lwp *, void *, register_t *);
int sys_acct(struct lwp *, void *, register_t *);
int linux_sys_ioctl(struct lwp *, void *, register_t *);
int linux_sys_fcntl(struct lwp *, void *, register_t *);
int sys_setpgid(struct lwp *, void *, register_t *);
int linux_sys_olduname(struct lwp *, void *, register_t *);
int sys_umask(struct lwp *, void *, register_t *);
int sys_chroot(struct lwp *, void *, register_t *);
int sys_dup2(struct lwp *, void *, register_t *);
int sys_getppid(struct lwp *, void *, register_t *);
int sys_getpgrp(struct lwp *, void *, register_t *);
int sys_setsid(struct lwp *, void *, register_t *);
int linux_sys_sigaction(struct lwp *, void *, register_t *);
int linux_sys_siggetmask(struct lwp *, void *, register_t *);
int linux_sys_sigsetmask(struct lwp *, void *, register_t *);
int sys_setreuid(struct lwp *, void *, register_t *);
int sys_setregid(struct lwp *, void *, register_t *);
int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
int linux_sys_sigpending(struct lwp *, void *, register_t *);
int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
int linux_sys_setrlimit(struct lwp *, void *, register_t *);
int linux_sys_getrlimit(struct lwp *, void *, register_t *);
int sys_getrusage(struct lwp *, void *, register_t *);
int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
int linux_sys_settimeofday(struct lwp *, void *, register_t *);
int sys_getgroups(struct lwp *, void *, register_t *);
int sys_setgroups(struct lwp *, void *, register_t *);
int linux_sys_symlink(struct lwp *, void *, register_t *);
int compat_43_sys_lstat(struct lwp *, void *, register_t *);
int linux_sys_readlink(struct lwp *, void *, register_t *);
int linux_sys_swapon(struct lwp *, void *, register_t *);
int linux_sys_reboot(struct lwp *, void *, register_t *);
int linux_sys_readdir(struct lwp *, void *, register_t *);
int linux_sys_mmap(struct lwp *, void *, register_t *);
int sys_munmap(struct lwp *, void *, register_t *);
int linux_sys_truncate(struct lwp *, void *, register_t *);
int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
int sys_fchmod(struct lwp *, void *, register_t *);
int sys___posix_fchown(struct lwp *, void *, register_t *);
int sys_getpriority(struct lwp *, void *, register_t *);
int sys_setpriority(struct lwp *, void *, register_t *);
int linux_sys_statfs(struct lwp *, void *, register_t *);
int linux_sys_fstatfs(struct lwp *, void *, register_t *);
int linux_sys_ioperm(struct lwp *, void *, register_t *);
int linux_sys_socketcall(struct lwp *, void *, register_t *);
int sys_setitimer(struct lwp *, void *, register_t *);
int sys_getitimer(struct lwp *, void *, register_t *);
int linux_sys_stat(struct lwp *, void *, register_t *);
int linux_sys_lstat(struct lwp *, void *, register_t *);
int linux_sys_fstat(struct lwp *, void *, register_t *);
int linux_sys_uname(struct lwp *, void *, register_t *);
int linux_sys_wait4(struct lwp *, void *, register_t *);
int linux_sys_swapoff(struct lwp *, void *, register_t *);
int linux_sys_sysinfo(struct lwp *, void *, register_t *);
int linux_sys_ipc(struct lwp *, void *, register_t *);
int sys_fsync(struct lwp *, void *, register_t *);
int linux_sys_sigreturn(struct lwp *, void *, register_t *);
int linux_sys_clone(struct lwp *, void *, register_t *);
int linux_sys_setdomainname(struct lwp *, void *, register_t *);
int linux_sys_new_uname(struct lwp *, void *, register_t *);
int linux_sys_mprotect(struct lwp *, void *, register_t *);
int linux_sys_sigprocmask(struct lwp *, void *, register_t *);
int linux_sys_getpgid(struct lwp *, void *, register_t *);
int sys_fchdir(struct lwp *, void *, register_t *);
int linux_sys_personality(struct lwp *, void *, register_t *);
int linux_sys_setfsuid(struct lwp *, void *, register_t *);
int linux_sys_getfsuid(struct lwp *, void *, register_t *);
int linux_sys_llseek(struct lwp *, void *, register_t *);
int linux_sys_getdents(struct lwp *, void *, register_t *);
int linux_sys_select(struct lwp *, void *, register_t *);
int sys_flock(struct lwp *, void *, register_t *);
int linux_sys_msync(struct lwp *, void *, register_t *);
int sys_readv(struct lwp *, void *, register_t *);
int sys_writev(struct lwp *, void *, register_t *);
int linux_sys_cacheflush(struct lwp *, void *, register_t *);
int linux_sys_sysmips(struct lwp *, void *, register_t *);
int sys_getsid(struct lwp *, void *, register_t *);
int linux_sys_fdatasync(struct lwp *, void *, register_t *);
int linux_sys___sysctl(struct lwp *, void *, register_t *);
int sys_mlock(struct lwp *, void *, register_t *);
int sys_munlock(struct lwp *, void *, register_t *);
int sys_mlockall(struct lwp *, void *, register_t *);
int sys_munlockall(struct lwp *, void *, register_t *);
int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_yield(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
int sys_nanosleep(struct lwp *, void *, register_t *);
int linux_sys_mremap(struct lwp *, void *, register_t *);
int linux_sys_accept(struct lwp *, void *, register_t *);
int linux_sys_bind(struct lwp *, void *, register_t *);
int linux_sys_connect(struct lwp *, void *, register_t *);
int linux_sys_getpeername(struct lwp *, void *, register_t *);
int linux_sys_getsockname(struct lwp *, void *, register_t *);
int linux_sys_getsockopt(struct lwp *, void *, register_t *);
int sys_listen(struct lwp *, void *, register_t *);
int linux_sys_recv(struct lwp *, void *, register_t *);
int linux_sys_recvfrom(struct lwp *, void *, register_t *);
int linux_sys_recvmsg(struct lwp *, void *, register_t *);
int linux_sys_send(struct lwp *, void *, register_t *);
int linux_sys_sendmsg(struct lwp *, void *, register_t *);
int linux_sys_sendto(struct lwp *, void *, register_t *);
int linux_sys_setsockopt(struct lwp *, void *, register_t *);
int linux_sys_socket(struct lwp *, void *, register_t *);
int linux_sys_socketpair(struct lwp *, void *, register_t *);
int linux_sys_setresuid(struct lwp *, void *, register_t *);
int linux_sys_getresuid(struct lwp *, void *, register_t *);
int sys_poll(struct lwp *, void *, register_t *);
int linux_sys_setresgid(struct lwp *, void *, register_t *);
int linux_sys_getresgid(struct lwp *, void *, register_t *);
int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
int linux_sys_pread(struct lwp *, void *, register_t *);
int linux_sys_pwrite(struct lwp *, void *, register_t *);
int linux_sys_chown(struct lwp *, void *, register_t *);
int sys___getcwd(struct lwp *, void *, register_t *);
int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
int linux_sys_mmap2(struct lwp *, void *, register_t *);
int linux_sys_truncate64(struct lwp *, void *, register_t *);
int linux_sys_ftruncate64(struct lwp *, void *, register_t *);
int linux_sys_stat64(struct lwp *, void *, register_t *);
int linux_sys_lstat64(struct lwp *, void *, register_t *);
int linux_sys_fstat64(struct lwp *, void *, register_t *);
int sys_mincore(struct lwp *, void *, register_t *);
int sys_madvise(struct lwp *, void *, register_t *);
int linux_sys_getdents64(struct lwp *, void *, register_t *);
int linux_sys_fcntl64(struct lwp *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.15 2003/08/10 20:17:30 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.16 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 2003/08/10 20:16:25 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.13 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.15 2003/08/10 20:17:30 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.16 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -249,8 +249,8 @@ const char *const linux_syscallnames[] = {
"lstat64", /* 214 = lstat64 */
"fstat64", /* 215 = fstat64 */
"#216 (unimplemented pivot_root)", /* 216 = unimplemented pivot_root */
"#217 (unimplemented mincore)", /* 217 = unimplemented mincore */
"#218 (unimplemented modvise)", /* 218 = unimplemented modvise */
"mincore", /* 217 = mincore */
"madvise", /* 218 = madvise */
"getdents64", /* 219 = getdents64 */
"fcntl64", /* 220 = fcntl64 */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.15 2003/08/10 20:17:30 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.16 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 2003/08/10 20:16:25 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.13 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.15 2003/08/10 20:17:30 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.16 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -466,10 +466,10 @@ struct sysent linux_sysent[] = {
linux_sys_fstat64 }, /* 215 = fstat64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 216 = unimplemented pivot_root */
{ 0, 0, 0,
linux_sys_nosys }, /* 217 = unimplemented mincore */
{ 0, 0, 0,
linux_sys_nosys }, /* 218 = unimplemented modvise */
{ 3, s(struct sys_mincore_args), 0,
sys_mincore }, /* 217 = mincore */
{ 3, s(struct sys_madvise_args), 0,
sys_madvise }, /* 218 = madvise */
{ 3, s(struct linux_sys_getdents64_args), 0,
linux_sys_getdents64 }, /* 219 = getdents64 */
{ 3, s(struct linux_sys_fcntl64_args), 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.22 2003/08/10 20:17:30 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.23 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2003/08/10 20:16:26 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.17 2004/08/01 10:32:40 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -498,5 +498,11 @@
/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
#define LINUX_SYS_fcntl64 204
/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
#define LINUX_SYS_mincore 205
/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
#define LINUX_SYS_madvise 206
#define LINUX_SYS_MAXSYSCALL 207
#define LINUX_SYS_NSYSENT 256

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.21 2003/08/10 20:17:31 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.22 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2003/08/10 20:16:26 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.17 2004/08/01 10:32:40 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -556,163 +556,327 @@ struct linux_sys_fcntl64_args {
*/
int linux_sys_nosys(struct lwp *, void *, register_t *);
int sys_exit(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int sys_read(struct lwp *, void *, register_t *);
int sys_write(struct lwp *, void *, register_t *);
int linux_sys_open(struct lwp *, void *, register_t *);
int sys_close(struct lwp *, void *, register_t *);
int linux_sys_waitpid(struct lwp *, void *, register_t *);
int linux_sys_creat(struct lwp *, void *, register_t *);
int linux_sys_link(struct lwp *, void *, register_t *);
int linux_sys_unlink(struct lwp *, void *, register_t *);
int linux_sys_execve(struct lwp *, void *, register_t *);
int linux_sys_chdir(struct lwp *, void *, register_t *);
int linux_sys_time(struct lwp *, void *, register_t *);
int linux_sys_mknod(struct lwp *, void *, register_t *);
int linux_sys_chmod(struct lwp *, void *, register_t *);
int linux_sys_lchown(struct lwp *, void *, register_t *);
int compat_43_sys_lseek(struct lwp *, void *, register_t *);
int sys_getpid(struct lwp *, void *, register_t *);
int sys_setuid(struct lwp *, void *, register_t *);
int sys_getuid(struct lwp *, void *, register_t *);
int linux_sys_stime(struct lwp *, void *, register_t *);
int linux_sys_ptrace(struct lwp *, void *, register_t *);
int linux_sys_alarm(struct lwp *, void *, register_t *);
int linux_sys_pause(struct lwp *, void *, register_t *);
int linux_sys_utime(struct lwp *, void *, register_t *);
int linux_sys_access(struct lwp *, void *, register_t *);
int linux_sys_nice(struct lwp *, void *, register_t *);
int sys_sync(struct lwp *, void *, register_t *);
int linux_sys_kill(struct lwp *, void *, register_t *);
int linux_sys_rename(struct lwp *, void *, register_t *);
int linux_sys_mkdir(struct lwp *, void *, register_t *);
int linux_sys_rmdir(struct lwp *, void *, register_t *);
int sys_dup(struct lwp *, void *, register_t *);
int linux_sys_pipe(struct lwp *, void *, register_t *);
int linux_sys_times(struct lwp *, void *, register_t *);
int linux_sys_brk(struct lwp *, void *, register_t *);
int sys_setgid(struct lwp *, void *, register_t *);
int sys_getgid(struct lwp *, void *, register_t *);
int linux_sys_signal(struct lwp *, void *, register_t *);
int sys_geteuid(struct lwp *, void *, register_t *);
int sys_getegid(struct lwp *, void *, register_t *);
int sys_acct(struct lwp *, void *, register_t *);
int linux_sys_ioctl(struct lwp *, void *, register_t *);
int linux_sys_fcntl(struct lwp *, void *, register_t *);
int sys_setpgid(struct lwp *, void *, register_t *);
int linux_sys_olduname(struct lwp *, void *, register_t *);
int sys_umask(struct lwp *, void *, register_t *);
int sys_chroot(struct lwp *, void *, register_t *);
int sys_dup2(struct lwp *, void *, register_t *);
int sys_getppid(struct lwp *, void *, register_t *);
int sys_getpgrp(struct lwp *, void *, register_t *);
int sys_setsid(struct lwp *, void *, register_t *);
int linux_sys_sigaction(struct lwp *, void *, register_t *);
int linux_sys_siggetmask(struct lwp *, void *, register_t *);
int linux_sys_sigsetmask(struct lwp *, void *, register_t *);
int sys_setreuid(struct lwp *, void *, register_t *);
int sys_setregid(struct lwp *, void *, register_t *);
int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
int linux_sys_sigpending(struct lwp *, void *, register_t *);
int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
int linux_sys_setrlimit(struct lwp *, void *, register_t *);
int linux_sys_getrlimit(struct lwp *, void *, register_t *);
int sys_getrusage(struct lwp *, void *, register_t *);
int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
int linux_sys_settimeofday(struct lwp *, void *, register_t *);
int sys_getgroups(struct lwp *, void *, register_t *);
int sys_setgroups(struct lwp *, void *, register_t *);
int linux_sys_select(struct lwp *, void *, register_t *);
int linux_sys_symlink(struct lwp *, void *, register_t *);
int compat_43_sys_lstat(struct lwp *, void *, register_t *);
int linux_sys_readlink(struct lwp *, void *, register_t *);
int linux_sys_uselib(struct lwp *, void *, register_t *);
int linux_sys_swapon(struct lwp *, void *, register_t *);
int linux_sys_reboot(struct lwp *, void *, register_t *);
int linux_sys_readdir(struct lwp *, void *, register_t *);
int linux_sys_mmap(struct lwp *, void *, register_t *);
int sys_munmap(struct lwp *, void *, register_t *);
int linux_sys_truncate(struct lwp *, void *, register_t *);
int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
int sys_fchmod(struct lwp *, void *, register_t *);
int sys___posix_fchown(struct lwp *, void *, register_t *);
int sys_getpriority(struct lwp *, void *, register_t *);
int sys_setpriority(struct lwp *, void *, register_t *);
int sys_profil(struct lwp *, void *, register_t *);
int linux_sys_statfs(struct lwp *, void *, register_t *);
int linux_sys_fstatfs(struct lwp *, void *, register_t *);
int linux_sys_ioperm(struct lwp *, void *, register_t *);
int linux_sys_socketcall(struct lwp *, void *, register_t *);
int sys_setitimer(struct lwp *, void *, register_t *);
int sys_getitimer(struct lwp *, void *, register_t *);
int linux_sys_stat(struct lwp *, void *, register_t *);
int linux_sys_lstat(struct lwp *, void *, register_t *);
int linux_sys_fstat(struct lwp *, void *, register_t *);
int linux_sys_uname(struct lwp *, void *, register_t *);
int linux_sys_wait4(struct lwp *, void *, register_t *);
int linux_sys_swapoff(struct lwp *, void *, register_t *);
int linux_sys_sysinfo(struct lwp *, void *, register_t *);
int linux_sys_ipc(struct lwp *, void *, register_t *);
int sys_fsync(struct lwp *, void *, register_t *);
int linux_sys_sigreturn(struct lwp *, void *, register_t *);
int linux_sys_clone(struct lwp *, void *, register_t *);
int linux_sys_setdomainname(struct lwp *, void *, register_t *);
int linux_sys_new_uname(struct lwp *, void *, register_t *);
int linux_sys_mprotect(struct lwp *, void *, register_t *);
int linux_sys_sigprocmask(struct lwp *, void *, register_t *);
int linux_sys_getpgid(struct lwp *, void *, register_t *);
int sys_fchdir(struct lwp *, void *, register_t *);
int linux_sys_personality(struct lwp *, void *, register_t *);
int linux_sys_setfsuid(struct lwp *, void *, register_t *);
int linux_sys_getfsuid(struct lwp *, void *, register_t *);
int linux_sys_llseek(struct lwp *, void *, register_t *);
int linux_sys_getdents(struct lwp *, void *, register_t *);
int linux_sys_new_select(struct lwp *, void *, register_t *);
int sys_flock(struct lwp *, void *, register_t *);
int linux_sys_msync(struct lwp *, void *, register_t *);
int sys_readv(struct lwp *, void *, register_t *);
int sys_writev(struct lwp *, void *, register_t *);
int sys_getsid(struct lwp *, void *, register_t *);
int linux_sys_fdatasync(struct lwp *, void *, register_t *);
int linux_sys___sysctl(struct lwp *, void *, register_t *);
int sys_mlock(struct lwp *, void *, register_t *);
int sys_munlock(struct lwp *, void *, register_t *);
int sys_mlockall(struct lwp *, void *, register_t *);
int sys_munlockall(struct lwp *, void *, register_t *);
int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
int linux_sys_sched_yield(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
int sys_nanosleep(struct lwp *, void *, register_t *);
int linux_sys_mremap(struct lwp *, void *, register_t *);
int linux_sys_setresuid(struct lwp *, void *, register_t *);
int linux_sys_getresuid(struct lwp *, void *, register_t *);
int sys_poll(struct lwp *, void *, register_t *);
int linux_sys_setresgid(struct lwp *, void *, register_t *);
int linux_sys_getresgid(struct lwp *, void *, register_t *);
int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
int linux_sys_pread(struct lwp *, void *, register_t *);
int linux_sys_pwrite(struct lwp *, void *, register_t *);
int linux_sys_chown(struct lwp *, void *, register_t *);
int sys___getcwd(struct lwp *, void *, register_t *);
int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
int sys___vfork14(struct lwp *, void *, register_t *);
int linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
int linux_sys_mmap2(struct lwp *, void *, register_t *);
int linux_sys_truncate64(struct lwp *, void *, register_t *);
int linux_sys_ftruncate64(struct lwp *, void *, register_t *);
int linux_sys_stat64(struct lwp *, void *, register_t *);
int linux_sys_lstat64(struct lwp *, void *, register_t *);
int linux_sys_fstat64(struct lwp *, void *, register_t *);
int linux_sys_getdents64(struct lwp *, void *, register_t *);
int linux_sys_fcntl64(struct lwp *, void *, register_t *);
int sys_mincore(struct lwp *, void *, register_t *);
int sys_madvise(struct lwp *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.21 2003/08/10 20:17:31 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.22 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2003/08/10 20:16:26 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.17 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.21 2003/08/10 20:17:31 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.22 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -236,6 +236,6 @@ const char *const linux_syscallnames[] = {
"getdents64", /* 202 = getdents64 */
"#203 (unimplemented pivot_root)", /* 203 = unimplemented pivot_root */
"fcntl64", /* 204 = fcntl64 */
"#205 (unimplemented madvise)", /* 205 = unimplemented madvise */
"#206 (unimplemented mincore)", /* 206 = unimplemented mincore */
"mincore", /* 205 = mincore */
"madvise", /* 206 = madvise */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.22 2003/08/10 20:17:31 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.23 2004/08/01 10:38:39 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2003/08/10 20:16:26 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.17 2004/08/01 10:32:40 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.22 2003/08/10 20:17:31 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.23 2004/08/01 10:38:39 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -441,10 +441,10 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 203 = unimplemented pivot_root */
{ 3, s(struct linux_sys_fcntl64_args), 0,
linux_sys_fcntl64 }, /* 204 = fcntl64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 205 = unimplemented madvise */
{ 0, 0, 0,
linux_sys_nosys }, /* 206 = unimplemented mincore */
{ 3, s(struct sys_mincore_args), 0,
sys_mincore }, /* 205 = mincore */
{ 3, s(struct sys_madvise_args), 0,
sys_madvise }, /* 206 = madvise */
{ 0, 0, 0,
linux_sys_nosys }, /* 207 = filler */
{ 0, 0, 0,