This commit is contained in:
bjh21 2002-01-15 10:23:35 +00:00
parent 9f08648c7d
commit 4a4d63e6c0
4 changed files with 37 additions and 29 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.1 2002/01/14 23:17:16 bjh21 Exp $ */
/* $NetBSD: linux_syscall.h,v 1.2 2002/01/15 10:23:35 bjh21 Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.1 2002/01/14 23:14:41 bjh21 Exp
* created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -156,8 +156,8 @@
#define LINUX_SYS_setpgid 57
/* 58 is obsolete ulimit */
/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
#define LINUX_SYS_olduname 59
/* syscall: "oldolduname" ret: "int" args: "struct linux_oldold_utsname *" */
#define LINUX_SYS_oldolduname 59
/* syscall: "umask" ret: "int" args: "int" */
#define LINUX_SYS_umask 60
@ -298,8 +298,8 @@
/* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
#define LINUX_SYS_fstat 108
/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
#define LINUX_SYS_uname 109
/* syscall: "olduname" ret: "int" args: "struct linux_oldutsname *" */
#define LINUX_SYS_olduname 109
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
#define LINUX_SYS_wait4 114
@ -325,6 +325,9 @@
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define LINUX_SYS_setdomainname 121
/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
#define LINUX_SYS_uname 122
/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
#define LINUX_SYS_mprotect 125

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.1 2002/01/14 23:17:16 bjh21 Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.2 2002/01/15 10:23:35 bjh21 Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.1 2002/01/14 23:14:41 bjh21 Exp
* created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -161,8 +161,8 @@ struct linux_sys_fcntl_args {
syscallarg(void *) arg;
};
struct linux_sys_olduname_args {
syscallarg(struct linux_old_utsname *) up;
struct linux_sys_oldolduname_args {
syscallarg(struct linux_oldold_utsname *) up;
};
struct linux_sys_sigaction_args {
@ -276,8 +276,8 @@ struct linux_sys_fstat_args {
syscallarg(struct linux_stat *) sp;
};
struct linux_sys_uname_args {
syscallarg(struct linux_utsname *) up;
struct linux_sys_olduname_args {
syscallarg(struct linux_oldutsname *) up;
};
struct linux_sys_wait4_args {
@ -317,6 +317,10 @@ struct linux_sys_setdomainname_args {
syscallarg(int) len;
};
struct linux_sys_uname_args {
syscallarg(struct linux_utsname *) up;
};
struct linux_sys_sigprocmask_args {
syscallarg(int) how;
syscallarg(const linux_old_sigset_t *) set;
@ -567,7 +571,7 @@ int sys_acct(struct proc *, void *, register_t *);
int linux_sys_ioctl(struct proc *, void *, register_t *);
int linux_sys_fcntl(struct proc *, void *, register_t *);
int sys_setpgid(struct proc *, void *, register_t *);
int linux_sys_olduname(struct proc *, void *, register_t *);
int linux_sys_oldolduname(struct proc *, void *, register_t *);
int sys_umask(struct proc *, void *, register_t *);
int sys_chroot(struct proc *, void *, register_t *);
int sys_dup2(struct proc *, void *, register_t *);
@ -617,7 +621,7 @@ int sys_getitimer(struct proc *, void *, register_t *);
int linux_sys_stat(struct proc *, void *, register_t *);
int linux_sys_lstat(struct proc *, void *, register_t *);
int linux_sys_fstat(struct proc *, void *, register_t *);
int linux_sys_uname(struct proc *, void *, register_t *);
int linux_sys_olduname(struct proc *, void *, register_t *);
int linux_sys_wait4(struct proc *, void *, register_t *);
int linux_sys_swapoff(struct proc *, void *, register_t *);
int linux_sys_sysinfo(struct proc *, void *, register_t *);
@ -626,6 +630,7 @@ int sys_fsync(struct proc *, void *, register_t *);
int linux_sys_sigreturn(struct proc *, void *, register_t *);
int linux_sys_clone(struct proc *, void *, register_t *);
int linux_sys_setdomainname(struct proc *, void *, register_t *);
int linux_sys_uname(struct proc *, void *, register_t *);
int sys_mprotect(struct proc *, void *, register_t *);
int linux_sys_sigprocmask(struct proc *, void *, register_t *);
int linux_sys_getpgid(struct proc *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.1 2002/01/14 23:17:17 bjh21 Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.1 2002/01/14 23:14:41 bjh21 Exp
* created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.1 2002/01/14 23:17:17 bjh21 Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -87,7 +87,7 @@ const char *const linux_syscallnames[] = {
"#56 (obsolete mpx)", /* 56 = obsolete mpx */
"setpgid", /* 57 = setpgid */
"#58 (obsolete ulimit)", /* 58 = obsolete ulimit */
"olduname", /* 59 = olduname */
"oldolduname", /* 59 = oldolduname */
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
"#62 (unimplemented ustat)", /* 62 = unimplemented ustat */
@ -141,7 +141,7 @@ const char *const linux_syscallnames[] = {
"stat", /* 106 = stat */
"lstat", /* 107 = lstat */
"fstat", /* 108 = fstat */
"uname", /* 109 = uname */
"olduname", /* 109 = olduname */
"#110 (unimplemented)", /* 110 = unimplemented */
"#111 (unimplemented vhangup)", /* 111 = unimplemented vhangup */
"#112 (unimplemented idle)", /* 112 = unimplemented idle */
@ -154,7 +154,7 @@ const char *const linux_syscallnames[] = {
"sigreturn", /* 119 = sigreturn */
"clone", /* 120 = clone */
"setdomainname", /* 121 = setdomainname */
"#122 (unimplemented new_uname)", /* 122 = unimplemented new_uname */
"uname", /* 122 = uname */
"#123 (unimplemented modify_ldt)", /* 123 = unimplemented modify_ldt */
"#124 (unimplemented adjtimex)", /* 124 = unimplemented adjtimex */
"mprotect", /* 125 = mprotect */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.1 2002/01/14 23:17:17 bjh21 Exp $ */
/* $NetBSD: linux_sysent.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.1 2002/01/14 23:14:41 bjh21 Exp
* created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.1 2002/01/14 23:17:17 bjh21 Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -146,8 +146,8 @@ struct sysent linux_sysent[] = {
sys_setpgid }, /* 57 = setpgid */
{ 0, 0, 0,
sys_nosys }, /* 58 = obsolete ulimit */
{ 1, s(struct linux_sys_olduname_args), 0,
linux_sys_olduname }, /* 59 = olduname */
{ 1, s(struct linux_sys_oldolduname_args), 0,
linux_sys_oldolduname }, /* 59 = oldolduname */
{ 1, s(struct sys_umask_args), 0,
sys_umask }, /* 60 = umask */
{ 1, s(struct sys_chroot_args), 0,
@ -251,8 +251,8 @@ struct sysent linux_sysent[] = {
linux_sys_lstat }, /* 107 = lstat */
{ 2, s(struct linux_sys_fstat_args), 0,
linux_sys_fstat }, /* 108 = fstat */
{ 1, s(struct linux_sys_uname_args), 0,
linux_sys_uname }, /* 109 = uname */
{ 1, s(struct linux_sys_olduname_args), 0,
linux_sys_olduname }, /* 109 = olduname */
{ 0, 0, 0,
sys_nosys }, /* 110 = unimplemented */
{ 0, 0, 0,
@ -277,8 +277,8 @@ struct sysent linux_sysent[] = {
linux_sys_clone }, /* 120 = clone */
{ 2, s(struct linux_sys_setdomainname_args), 0,
linux_sys_setdomainname }, /* 121 = setdomainname */
{ 0, 0, 0,
sys_nosys }, /* 122 = unimplemented new_uname */
{ 1, s(struct linux_sys_uname_args), 0,
linux_sys_uname }, /* 122 = uname */
{ 0, 0, 0,
sys_nosys }, /* 123 = unimplemented modify_ldt */
{ 0, 0, 0,