regen
This commit is contained in:
parent
45af46eb53
commit
99ff14c9f3
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: linux_syscall.h,v 1.9 2002/02/18 00:10:26 rafal Exp $ */
|
||||
/* $NetBSD: linux_syscall.h,v 1.10 2002/03/22 15:18:48 christos Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.7 2002/02/17 23:55:23 rafal Exp
|
||||
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
|
||||
*/
|
||||
|
||||
/* syscall: "syscall" ret: "int" args: */
|
||||
|
@ -314,7 +314,7 @@
|
|||
/* syscall: "new_uname" ret: "int" args: "struct linux_utsname *" */
|
||||
#define LINUX_SYS_new_uname 122
|
||||
|
||||
/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
|
||||
/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
|
||||
#define LINUX_SYS_mprotect 125
|
||||
|
||||
/* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
|
||||
|
@ -506,9 +506,6 @@
|
|||
/* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
|
||||
#define LINUX_SYS_sigaltstack 206
|
||||
|
||||
/* syscall: "mmap2" ret: "off_t" args: "void *" "size_t" "int" "int" "int" "off_t" */
|
||||
#define LINUX_SYS_mmap2 210
|
||||
|
||||
/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
|
||||
#define LINUX_SYS_truncate64 211
|
||||
|
||||
|
@ -521,7 +518,7 @@
|
|||
/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
|
||||
#define LINUX_SYS_fstat64 215
|
||||
|
||||
/* syscall: "fcntl64" ret: "int" args: "unsigned int" "unsigned int" "unsigned long" */
|
||||
/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
|
||||
#define LINUX_SYS_fcntl64 220
|
||||
|
||||
#define LINUX_SYS_MAXSYSCALL 221
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: linux_syscallargs.h,v 1.9 2002/02/18 00:10:26 rafal Exp $ */
|
||||
/* $NetBSD: linux_syscallargs.h,v 1.10 2002/03/22 15:18:49 christos Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.7 2002/02/17 23:55:23 rafal Exp
|
||||
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
|
||||
*/
|
||||
|
||||
#ifndef _LINUX_SYS__SYSCALLARGS_H_
|
||||
|
@ -319,6 +319,12 @@ struct linux_sys_new_uname_args {
|
|||
syscallarg(struct linux_utsname *) up;
|
||||
};
|
||||
|
||||
struct linux_sys_mprotect_args {
|
||||
syscallarg(const void *) start;
|
||||
syscallarg(unsigned long) len;
|
||||
syscallarg(int) prot;
|
||||
};
|
||||
|
||||
struct linux_sys_sigprocmask_args {
|
||||
syscallarg(int) how;
|
||||
syscallarg(const linux_old_sigset_t *) set;
|
||||
|
@ -504,15 +510,6 @@ struct linux_sys_sigaltstack_args {
|
|||
syscallarg(struct linux_sigaltstack *) oss;
|
||||
};
|
||||
|
||||
struct linux_sys_mmap2_args {
|
||||
syscallarg(void *) addr;
|
||||
syscallarg(size_t) len;
|
||||
syscallarg(int) prot;
|
||||
syscallarg(int) flags;
|
||||
syscallarg(int) fd;
|
||||
syscallarg(off_t) offset;
|
||||
};
|
||||
|
||||
struct linux_sys_truncate64_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(off_t) length;
|
||||
|
@ -534,9 +531,9 @@ struct linux_sys_fstat64_args {
|
|||
};
|
||||
|
||||
struct linux_sys_fcntl64_args {
|
||||
syscallarg(unsigned int) fd;
|
||||
syscallarg(unsigned int) cmd;
|
||||
syscallarg(unsigned long) arg;
|
||||
syscallarg(int) fd;
|
||||
syscallarg(int) cmd;
|
||||
syscallarg(void *) arg;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -644,7 +641,7 @@ 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_new_uname(struct proc *, void *, register_t *);
|
||||
int sys_mprotect(struct proc *, void *, register_t *);
|
||||
int linux_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 *);
|
||||
int sys_fchdir(struct proc *, void *, register_t *);
|
||||
|
@ -708,7 +705,6 @@ int linux_sys_pwrite(struct proc *, void *, register_t *);
|
|||
int linux_sys_chown(struct proc *, void *, register_t *);
|
||||
int sys___getcwd(struct proc *, void *, register_t *);
|
||||
int linux_sys_sigaltstack(struct proc *, void *, register_t *);
|
||||
int linux_sys_mmap2(struct proc *, void *, register_t *);
|
||||
int linux_sys_truncate64(struct proc *, void *, register_t *);
|
||||
int linux_sys_stat64(struct proc *, void *, register_t *);
|
||||
int linux_sys_lstat64(struct proc *, void *, register_t *);
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: linux_syscalls.c,v 1.9 2002/02/18 00:10:27 rafal Exp $ */
|
||||
/* $NetBSD: linux_syscalls.c,v 1.10 2002/03/22 15:18:49 christos Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.7 2002/02/17 23:55:23 rafal Exp
|
||||
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.9 2002/02/18 00:10:27 rafal Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.10 2002/03/22 15:18:49 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
|
@ -241,7 +241,7 @@ const char *const linux_syscallnames[] = {
|
|||
"#207 (unimplemented sendfile)", /* 207 = unimplemented sendfile */
|
||||
"#208 (unimplemented)", /* 208 = unimplemented */
|
||||
"#209 (unimplemented)", /* 209 = unimplemented */
|
||||
"mmap2", /* 210 = mmap2 */
|
||||
"#210 (unimplemented mmap2)", /* 210 = unimplemented mmap2 */
|
||||
"truncate64", /* 211 = truncate64 */
|
||||
"#212 (unimplemented ftruncate64)", /* 212 = unimplemented ftruncate64 */
|
||||
"stat64", /* 213 = stat64 */
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: linux_sysent.c,v 1.8 2002/02/18 00:10:27 rafal Exp $ */
|
||||
/* $NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:18:49 christos Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.7 2002/02/17 23:55:23 rafal Exp
|
||||
* created from NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.8 2002/02/18 00:10:27 rafal Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:18:49 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -281,8 +281,8 @@ struct sysent linux_sysent[] = {
|
|||
sys_nosys }, /* 123 = unimplemented modify_ldt */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 124 = unimplemented adjtimex */
|
||||
{ 3, s(struct sys_mprotect_args), 0,
|
||||
sys_mprotect }, /* 125 = mprotect */
|
||||
{ 3, s(struct linux_sys_mprotect_args), 0,
|
||||
linux_sys_mprotect }, /* 125 = mprotect */
|
||||
{ 3, s(struct linux_sys_sigprocmask_args), 0,
|
||||
linux_sys_sigprocmask }, /* 126 = sigprocmask */
|
||||
{ 0, 0, 0,
|
||||
|
@ -451,8 +451,8 @@ struct sysent linux_sysent[] = {
|
|||
sys_nosys }, /* 208 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 209 = unimplemented */
|
||||
{ 6, s(struct linux_sys_mmap2_args), 0,
|
||||
linux_sys_mmap2 }, /* 210 = mmap2 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 210 = unimplemented mmap2 */
|
||||
{ 2, s(struct linux_sys_truncate64_args), 0,
|
||||
linux_sys_truncate64 }, /* 211 = truncate64 */
|
||||
{ 0, 0, 0,
|
||||
|
|
Loading…
Reference in New Issue