This commit is contained in:
itohy 2000-12-26 01:57:57 +00:00
parent 4aee4579ba
commit 811fede455
4 changed files with 19 additions and 15 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.26 2000/12/18 14:37:36 fvdl Exp $ */
/* $NetBSD: linux_syscall.h,v 1.27 2000/12/26 01:57:57 itohy Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp
* created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -453,8 +453,8 @@
/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define LINUX_SYS_pwrite 181
/* syscall: "lchown" ret: "int" args: "const char *" "int" "int" */
#define LINUX_SYS_lchown 182
/* syscall: "lchown16" ret: "int" args: "const char *" "int" "int" */
#define LINUX_SYS_lchown16 182
/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define LINUX_SYS___getcwd 183

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.26 2000/12/18 14:37:36 fvdl Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.27 2000/12/26 01:57:57 itohy Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp
* created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -142,6 +142,10 @@ struct linux_sys_brk_args {
syscallarg(char *) nsize;
};
struct linux_sys_setgid16_args {
syscallarg(gid_t) gid;
};
struct linux_sys_signal_args {
syscallarg(int) signum;
syscallarg(linux_handler_t) handler;
@ -471,7 +475,7 @@ struct linux_sys_pwrite_args {
syscallarg(linux_off_t) offset;
};
struct linux_sys_lchown_args {
struct linux_sys_lchown16_args {
syscallarg(const char *) path;
syscallarg(int) uid;
syscallarg(int) gid;
@ -663,7 +667,7 @@ int linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
int linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
int linux_sys_pread(struct proc *, void *, register_t *);
int linux_sys_pwrite(struct proc *, void *, register_t *);
int linux_sys_lchown(struct proc *, void *, register_t *);
int linux_sys_lchown16(struct proc *, void *, register_t *);
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 *);

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.27 2000/12/18 14:37:36 fvdl Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.28 2000/12/26 01:57:57 itohy Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp
* created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -226,7 +226,7 @@ const char *const linux_syscallnames[] = {
"rt_sigsuspend", /* 179 = rt_sigsuspend */
"pread", /* 180 = pread */
"pwrite", /* 181 = pwrite */
"lchown", /* 182 = lchown */
"lchown16", /* 182 = lchown16 */
"__getcwd", /* 183 = __getcwd */
"#184 (unimplemented capget)", /* 184 = unimplemented capget */
"#185 (unimplemented capset)", /* 185 = unimplemented capset */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.26 2000/12/18 14:37:36 fvdl Exp $ */
/* $NetBSD: linux_sysent.c,v 1.27 2000/12/26 01:57:57 itohy Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp
* created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -414,8 +414,8 @@ struct sysent linux_sysent[] = {
linux_sys_pread }, /* 180 = pread */
{ 4, s(struct linux_sys_pwrite_args),
linux_sys_pwrite }, /* 181 = pwrite */
{ 3, s(struct linux_sys_lchown_args),
linux_sys_lchown }, /* 182 = lchown */
{ 3, s(struct linux_sys_lchown16_args),
linux_sys_lchown16 }, /* 182 = lchown16 */
{ 2, s(struct sys___getcwd_args),
sys___getcwd }, /* 183 = __getcwd */
{ 0, 0,