This commit is contained in:
tron 1999-12-05 21:26:36 +00:00
parent c65011886d
commit d5ed9dc998
12 changed files with 90 additions and 48 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.12 1999/10/04 16:57:10 tron Exp $ */
/* $NetBSD: linux_syscall.h,v 1.13 1999/12/05 21:26:36 tron Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/10/04 16:55:54 tron Exp
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -397,10 +397,10 @@
/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
#define LINUX_SYS_getresuid 344
/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define LINUX_SYS_pread 349
/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define LINUX_SYS_pwrite 350
/* syscall: "rt_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.12 1999/10/04 16:57:11 tron Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.13 1999/12/05 21:26:36 tron Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/10/04 16:55:54 tron Exp
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -329,6 +329,20 @@ struct linux_sys_getresuid_args {
syscallarg(uid_t *) suid;
};
struct linux_sys_pread_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(size_t) nbyte;
syscallarg(linux_off_t) offset;
};
struct linux_sys_pwrite_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(size_t) nbyte;
syscallarg(linux_off_t) offset;
};
struct linux_sys_rt_sigreturn_args {
syscallarg(struct linux_rt_sigframe *) sfp;
};
@ -524,8 +538,8 @@ int sys_nanosleep __P((struct proc *, void *, register_t *));
int linux_sys_mremap __P((struct proc *, void *, register_t *));
int linux_sys_setresuid __P((struct proc *, void *, register_t *));
int linux_sys_getresuid __P((struct proc *, void *, register_t *));
int sys_pread __P((struct proc *, void *, register_t *));
int sys_pwrite __P((struct proc *, void *, register_t *));
int linux_sys_pread __P((struct proc *, void *, register_t *));
int linux_sys_pwrite __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigreturn __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigaction __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigprocmask __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.12 1999/10/04 16:57:11 tron Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.13 1999/12/05 21:26:36 tron Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/10/04 16:55:54 tron Exp
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.13 1999/10/04 16:57:11 tron Exp $ */
/* $NetBSD: linux_sysent.c,v 1.14 1999/12/05 21:26:36 tron Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/10/04 16:55:54 tron Exp
* created from NetBSD: syscalls.master,v 1.14 1999/12/05 21:25:36 tron Exp
*/
#include "opt_sysv.h"
@ -762,10 +762,10 @@ struct sysent linux_sysent[] = {
sys_nosys }, /* 347 = unimplemented query_module */
{ 0, 0,
sys_nosys }, /* 348 = unimplemented prctl */
{ 4, s(struct sys_pread_args),
sys_pread }, /* 349 = pread */
{ 4, s(struct sys_pwrite_args),
sys_pwrite }, /* 350 = pwrite */
{ 4, s(struct linux_sys_pread_args),
linux_sys_pread }, /* 349 = pread */
{ 4, s(struct linux_sys_pwrite_args),
linux_sys_pwrite }, /* 350 = pwrite */
{ 1, s(struct linux_sys_rt_sigreturn_args),
linux_sys_rt_sigreturn }, /* 351 = rt_sigreturn */
{ 4, s(struct linux_sys_rt_sigaction_args),

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.13 1999/12/04 22:14:52 tron Exp $ */
/* $NetBSD: linux_syscall.h,v 1.14 1999/12/05 21:26:37 tron Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 1999/12/04 22:14:14 tron Exp
* created from NetBSD: syscalls.master,v 1.38 1999/12/05 21:24:30 tron Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -440,10 +440,10 @@
/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
#define LINUX_SYS_rt_sigsuspend 179
/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define LINUX_SYS_pread 180
/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define LINUX_SYS_pwrite 181
/* syscall: "chown" ret: "int" args: "const char *" "int" "int" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.13 1999/12/04 22:14:53 tron Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.14 1999/12/05 21:26:37 tron Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 1999/12/04 22:14:14 tron Exp
* created from NetBSD: syscalls.master,v 1.38 1999/12/05 21:24:30 tron Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -447,6 +447,20 @@ struct linux_sys_rt_sigsuspend_args {
syscallarg(size_t) sigsetsize;
};
struct linux_sys_pread_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(size_t) nbyte;
syscallarg(linux_off_t) offset;
};
struct linux_sys_pwrite_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(size_t) nbyte;
syscallarg(linux_off_t) offset;
};
struct linux_sys_chown_args {
syscallarg(const char *) path;
syscallarg(int) uid;
@ -598,8 +612,8 @@ int linux_sys_rt_sigprocmask __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigpending __P((struct proc *, void *, register_t *));
int linux_sys_rt_queueinfo __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigsuspend __P((struct proc *, void *, register_t *));
int sys_pread __P((struct proc *, void *, register_t *));
int sys_pwrite __P((struct proc *, void *, register_t *));
int linux_sys_pread __P((struct proc *, void *, register_t *));
int linux_sys_pwrite __P((struct proc *, void *, register_t *));
int linux_sys_chown __P((struct proc *, void *, register_t *));
int sys___getcwd __P((struct proc *, void *, register_t *));
int sys___vfork14 __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.13 1999/12/04 22:14:53 tron Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.14 1999/12/05 21:26:37 tron Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 1999/12/04 22:14:14 tron Exp
* created from NetBSD: syscalls.master,v 1.38 1999/12/05 21:24:30 tron Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.13 1999/12/04 22:14:53 tron Exp $ */
/* $NetBSD: linux_sysent.c,v 1.14 1999/12/05 21:26:37 tron Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 1999/12/04 22:14:14 tron Exp
* created from NetBSD: syscalls.master,v 1.38 1999/12/05 21:24:30 tron Exp
*/
#include "opt_compat_43.h"
@ -383,10 +383,10 @@ struct sysent linux_sysent[] = {
linux_sys_rt_queueinfo }, /* 178 = rt_queueinfo */
{ 2, s(struct linux_sys_rt_sigsuspend_args),
linux_sys_rt_sigsuspend }, /* 179 = rt_sigsuspend */
{ 4, s(struct sys_pread_args),
sys_pread }, /* 180 = pread */
{ 4, s(struct sys_pwrite_args),
sys_pwrite }, /* 181 = pwrite */
{ 4, s(struct linux_sys_pread_args),
linux_sys_pread }, /* 180 = pread */
{ 4, s(struct linux_sys_pwrite_args),
linux_sys_pwrite }, /* 181 = pwrite */
{ 3, s(struct linux_sys_chown_args),
linux_sys_chown }, /* 182 = chown */
{ 2, s(struct sys___getcwd_args),

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.10 1999/12/04 22:14:54 tron Exp $ */
/* $NetBSD: linux_syscall.h,v 1.11 1999/12/05 21:26:39 tron Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 1999/12/04 22:14:15 tron Exp
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -426,10 +426,10 @@
/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
#define LINUX_SYS_rt_sigsuspend 179
/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define LINUX_SYS_pread 180
/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
/* 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" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.10 1999/12/04 22:14:54 tron Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.11 1999/12/05 21:26:40 tron Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 1999/12/04 22:14:15 tron Exp
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -418,6 +418,20 @@ struct linux_sys_rt_sigsuspend_args {
syscallarg(size_t) sigsetsize;
};
struct linux_sys_pread_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(size_t) nbyte;
syscallarg(linux_off_t) offset;
};
struct linux_sys_pwrite_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(size_t) nbyte;
syscallarg(linux_off_t) offset;
};
struct linux_sys_lchown_args {
syscallarg(const char *) path;
syscallarg(int) uid;
@ -582,8 +596,8 @@ int linux_sys_rt_sigprocmask __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigpending __P((struct proc *, void *, register_t *));
int linux_sys_rt_queueinfo __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigsuspend __P((struct proc *, void *, register_t *));
int sys_pread __P((struct proc *, void *, register_t *));
int sys_pwrite __P((struct proc *, void *, register_t *));
int linux_sys_pread __P((struct proc *, void *, register_t *));
int linux_sys_pwrite __P((struct proc *, void *, register_t *));
int linux_sys_lchown __P((struct proc *, void *, register_t *));
int sys___getcwd __P((struct proc *, void *, register_t *));
int sys___vfork14 __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.10 1999/12/04 22:14:55 tron Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.11 1999/12/05 21:26:40 tron Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 1999/12/04 22:14:15 tron Exp
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.10 1999/12/04 22:14:55 tron Exp $ */
/* $NetBSD: linux_sysent.c,v 1.11 1999/12/05 21:26:40 tron Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.10 1999/12/04 22:14:15 tron Exp
* created from NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp
*/
#include "opt_compat_netbsd.h"
@ -418,10 +418,10 @@ struct sysent linux_sysent[] = {
linux_sys_rt_queueinfo }, /* 178 = rt_queueinfo */
{ 2, s(struct linux_sys_rt_sigsuspend_args),
linux_sys_rt_sigsuspend }, /* 179 = rt_sigsuspend */
{ 4, s(struct sys_pread_args),
sys_pread }, /* 180 = pread */
{ 4, s(struct sys_pwrite_args),
sys_pwrite }, /* 181 = pwrite */
{ 4, s(struct linux_sys_pread_args),
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 */
{ 2, s(struct sys___getcwd_args),