This commit is contained in:
fvdl 2000-12-29 20:10:46 +00:00
parent cc449a70ed
commit 1575b3e35a
4 changed files with 16 additions and 11 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.28 2000/12/27 22:04:35 fvdl Exp $ */
/* $NetBSD: linux_syscall.h,v 1.29 2000/12/29 20:10:46 fvdl Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.27 2000/12/27 22:04:05 fvdl Exp
* created from NetBSD: syscalls.master,v 1.28 2000/12/29 20:10:17 fvdl Exp
*/
/* syscall: "syscall" ret: "int" args: */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.28 2000/12/27 22:04:36 fvdl Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.29 2000/12/29 20:10:46 fvdl Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.27 2000/12/27 22:04:05 fvdl Exp
* created from NetBSD: syscalls.master,v 1.28 2000/12/29 20:10:17 fvdl Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -43,6 +43,11 @@ struct linux_sys_creat_args {
syscallarg(int) mode;
};
struct linux_sys_link_args {
syscallarg(const char *) path;
syscallarg(const char *) link;
};
struct linux_sys_unlink_args {
syscallarg(const char *) path;
};
@ -545,7 +550,7 @@ int linux_sys_open(struct proc *, void *, register_t *);
int sys_close(struct proc *, void *, register_t *);
int linux_sys_waitpid(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_execve(struct proc *, void *, register_t *);
int linux_sys_chdir(struct proc *, void *, register_t *);

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.29 2000/12/27 22:04:36 fvdl Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.30 2000/12/29 20:10:46 fvdl Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.27 2000/12/27 22:04:05 fvdl Exp
* created from NetBSD: syscalls.master,v 1.28 2000/12/29 20:10:17 fvdl Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.28 2000/12/27 22:04:36 fvdl Exp $ */
/* $NetBSD: linux_sysent.c,v 1.29 2000/12/29 20:10:46 fvdl Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.27 2000/12/27 22:04:05 fvdl Exp
* created from NetBSD: syscalls.master,v 1.28 2000/12/29 20:10:17 fvdl Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -44,8 +44,8 @@ struct sysent linux_sysent[] = {
linux_sys_waitpid }, /* 7 = waitpid */
{ 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 */
{ 3, s(struct linux_sys_execve_args),