This commit is contained in:
fvdl 2000-12-29 20:11:52 +00:00
parent 17f991c744
commit 1b9256990d
4 changed files with 16 additions and 11 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.32 2000/12/21 20:42:42 thorpej Exp $ */
/* $NetBSD: linux_syscall.h,v 1.33 2000/12/29 20:11:52 fvdl Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2000/12/21 20:42:15 thorpej Exp
* created from NetBSD: syscalls.master,v 1.31 2000/12/29 20:11:32 fvdl Exp
*/
/* syscall: "syscall" ret: "int" args: */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.32 2000/12/21 20:42:42 thorpej Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.33 2000/12/29 20:11:52 fvdl Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2000/12/21 20:42:15 thorpej Exp
* created from NetBSD: syscalls.master,v 1.31 2000/12/29 20:11:32 fvdl Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -38,6 +38,11 @@ struct linux_sys_creat_args {
syscallarg(mode_t) mode;
};
struct linux_sys_link_args {
syscallarg(const char *) path;
syscallarg(const char *) link;
};
struct linux_sys_unlink_args {
syscallarg(const char *) path;
};
@ -516,7 +521,7 @@ int sys_write(struct proc *, void *, register_t *);
int sys_close(struct proc *, void *, register_t *);
int osf1_sys_wait4(struct proc *, void *, register_t *);
int linux_sys_creat(struct proc *, void *, register_t *);
int sys_link(struct proc *, void *, register_t *);
int linux_sys_link(struct proc *, void *, register_t *);
int linux_sys_unlink(struct proc *, void *, register_t *);
int linux_sys_chdir(struct proc *, void *, register_t *);
int sys_fchdir(struct proc *, void *, register_t *);

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.33 2000/12/21 20:42:42 thorpej Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.34 2000/12/29 20:11:52 fvdl Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2000/12/21 20:42:15 thorpej Exp
* created from NetBSD: syscalls.master,v 1.31 2000/12/29 20:11:32 fvdl Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.33 2000/12/21 20:42:42 thorpej Exp $ */
/* $NetBSD: linux_sysent.c,v 1.34 2000/12/29 20:11:52 fvdl Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2000/12/21 20:42:15 thorpej Exp
* created from NetBSD: syscalls.master,v 1.31 2000/12/29 20:11:32 fvdl Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -49,8 +49,8 @@ struct sysent linux_sysent[] = {
osf1_sys_wait4 }, /* 7 = wait4 */
{ 2, s(struct linux_sys_creat_args),
linux_sys_creat }, /* 8 = creat */
{ 2, s(struct sys_link_args),
sys_link }, /* 9 = link */
{ 2, s(struct linux_sys_link_args),
linux_sys_link }, /* 9 = link */
{ 1, s(struct linux_sys_unlink_args),
linux_sys_unlink }, /* 10 = unlink */
{ 0, 0,