regen
This commit is contained in:
parent
22111899d0
commit
92945f57fe
|
@ -1,10 +1,10 @@
|
||||||
/* $NetBSD: linux_syscall.h,v 1.42 2002/02/15 16:50:58 christos Exp $ */
|
/* $NetBSD: linux_syscall.h,v 1.43 2002/03/22 15:11:23 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call numbers.
|
* System call numbers.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.61 2002/02/15 16:48:00 christos Exp
|
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* syscall: "syscall" ret: "int" args: */
|
/* syscall: "syscall" ret: "int" args: */
|
||||||
|
@ -338,7 +338,7 @@
|
||||||
/* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
|
/* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
|
||||||
#define LINUX_SYS_modify_ldt 123
|
#define LINUX_SYS_modify_ldt 123
|
||||||
|
|
||||||
/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
|
/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
|
||||||
#define LINUX_SYS_mprotect 125
|
#define LINUX_SYS_mprotect 125
|
||||||
|
|
||||||
/* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
|
/* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
|
||||||
|
@ -482,8 +482,8 @@
|
||||||
/* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
|
/* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
|
||||||
#define LINUX_SYS_ugetrlimit 191
|
#define LINUX_SYS_ugetrlimit 191
|
||||||
|
|
||||||
/* syscall: "mmap2" ret: "off_t" args: "void *" "size_t" "int" "int" "int" "off_t" */
|
/* syscall: "mmap" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
|
||||||
#define LINUX_SYS_mmap2 192
|
#define LINUX_SYS_mmap 192
|
||||||
|
|
||||||
/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
|
/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
|
||||||
#define LINUX_SYS_truncate64 193
|
#define LINUX_SYS_truncate64 193
|
||||||
|
@ -557,5 +557,8 @@
|
||||||
/* syscall: "getfsuid" ret: "int" args: */
|
/* syscall: "getfsuid" ret: "int" args: */
|
||||||
#define LINUX_SYS_getfsuid 216
|
#define LINUX_SYS_getfsuid 216
|
||||||
|
|
||||||
|
/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
|
||||||
|
#define LINUX_SYS_fcntl64 221
|
||||||
|
|
||||||
#define LINUX_SYS_MAXSYSCALL 222
|
#define LINUX_SYS_MAXSYSCALL 222
|
||||||
#define LINUX_SYS_NSYSENT 256
|
#define LINUX_SYS_NSYSENT 256
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
/* $NetBSD: linux_syscallargs.h,v 1.42 2002/02/15 16:50:58 christos Exp $ */
|
/* $NetBSD: linux_syscallargs.h,v 1.43 2002/03/22 15:11:23 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call argument lists.
|
* System call argument lists.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.61 2002/02/15 16:48:00 christos Exp
|
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _LINUX_SYS__SYSCALLARGS_H_
|
#ifndef _LINUX_SYS__SYSCALLARGS_H_
|
||||||
|
@ -371,6 +371,12 @@ struct linux_sys_modify_ldt_args {
|
||||||
syscallarg(size_t) bytecount;
|
syscallarg(size_t) bytecount;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct linux_sys_mprotect_args {
|
||||||
|
syscallarg(const void *) start;
|
||||||
|
syscallarg(unsigned long) len;
|
||||||
|
syscallarg(int) prot;
|
||||||
|
};
|
||||||
|
|
||||||
struct linux_sys_sigprocmask_args {
|
struct linux_sys_sigprocmask_args {
|
||||||
syscallarg(int) how;
|
syscallarg(int) how;
|
||||||
syscallarg(const linux_old_sigset_t *) set;
|
syscallarg(const linux_old_sigset_t *) set;
|
||||||
|
@ -532,15 +538,6 @@ struct linux_sys_ugetrlimit_args {
|
||||||
syscallarg(struct orlimit *) rlp;
|
syscallarg(struct orlimit *) rlp;
|
||||||
};
|
};
|
||||||
|
|
||||||
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 {
|
struct linux_sys_truncate64_args {
|
||||||
syscallarg(const char *) path;
|
syscallarg(const char *) path;
|
||||||
syscallarg(off_t) length;
|
syscallarg(off_t) length;
|
||||||
|
@ -601,6 +598,12 @@ struct linux_sys_setfsuid_args {
|
||||||
syscallarg(uid_t) uid;
|
syscallarg(uid_t) uid;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct linux_sys_fcntl64_args {
|
||||||
|
syscallarg(int) fd;
|
||||||
|
syscallarg(int) cmd;
|
||||||
|
syscallarg(void *) arg;
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call prototypes.
|
* System call prototypes.
|
||||||
*/
|
*/
|
||||||
|
@ -712,7 +715,7 @@ int linux_sys_clone(struct proc *, void *, register_t *);
|
||||||
int linux_sys_setdomainname(struct proc *, void *, register_t *);
|
int linux_sys_setdomainname(struct proc *, void *, register_t *);
|
||||||
int linux_sys_uname(struct proc *, void *, register_t *);
|
int linux_sys_uname(struct proc *, void *, register_t *);
|
||||||
int linux_sys_modify_ldt(struct proc *, void *, register_t *);
|
int linux_sys_modify_ldt(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_sigprocmask(struct proc *, void *, register_t *);
|
||||||
int linux_sys_getpgid(struct proc *, void *, register_t *);
|
int linux_sys_getpgid(struct proc *, void *, register_t *);
|
||||||
int sys_fchdir(struct proc *, void *, register_t *);
|
int sys_fchdir(struct proc *, void *, register_t *);
|
||||||
|
@ -760,7 +763,7 @@ int sys___getcwd(struct proc *, void *, register_t *);
|
||||||
int linux_sys_sigaltstack(struct proc *, void *, register_t *);
|
int linux_sys_sigaltstack(struct proc *, void *, register_t *);
|
||||||
int sys___vfork14(struct proc *, void *, register_t *);
|
int sys___vfork14(struct proc *, void *, register_t *);
|
||||||
int linux_sys_ugetrlimit(struct proc *, void *, register_t *);
|
int linux_sys_ugetrlimit(struct proc *, void *, register_t *);
|
||||||
int linux_sys_mmap2(struct proc *, void *, register_t *);
|
int linux_sys_mmap(struct proc *, void *, register_t *);
|
||||||
int linux_sys_truncate64(struct proc *, void *, register_t *);
|
int linux_sys_truncate64(struct proc *, void *, register_t *);
|
||||||
int sys_ftruncate(struct proc *, void *, register_t *);
|
int sys_ftruncate(struct proc *, void *, register_t *);
|
||||||
int linux_sys_stat64(struct proc *, void *, register_t *);
|
int linux_sys_stat64(struct proc *, void *, register_t *);
|
||||||
|
@ -785,4 +788,5 @@ int sys_setuid(struct proc *, void *, register_t *);
|
||||||
int sys_setgid(struct proc *, void *, register_t *);
|
int sys_setgid(struct proc *, void *, register_t *);
|
||||||
int linux_sys_setfsuid(struct proc *, void *, register_t *);
|
int linux_sys_setfsuid(struct proc *, void *, register_t *);
|
||||||
int linux_sys_getfsuid(struct proc *, void *, register_t *);
|
int linux_sys_getfsuid(struct proc *, void *, register_t *);
|
||||||
|
int linux_sys_fcntl64(struct proc *, void *, register_t *);
|
||||||
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */
|
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/* $NetBSD: linux_syscalls.c,v 1.43 2002/02/15 16:50:58 christos Exp $ */
|
/* $NetBSD: linux_syscalls.c,v 1.44 2002/03/22 15:11:23 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call names.
|
* System call names.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.61 2002/02/15 16:48:00 christos Exp
|
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.43 2002/02/15 16:50:58 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.44 2002/03/22 15:11:23 christos Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
|
@ -21,6 +21,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.43 2002/02/15 16:50:58 christos
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <sys/syscallargs.h>
|
#include <sys/syscallargs.h>
|
||||||
#include <compat/linux/common/linux_types.h>
|
#include <compat/linux/common/linux_types.h>
|
||||||
|
#include <compat/linux/common/linux_mmap.h>
|
||||||
#include <compat/linux/common/linux_signal.h>
|
#include <compat/linux/common/linux_signal.h>
|
||||||
#include <compat/linux/common/linux_siginfo.h>
|
#include <compat/linux/common/linux_siginfo.h>
|
||||||
#include <compat/linux/common/linux_machdep.h>
|
#include <compat/linux/common/linux_machdep.h>
|
||||||
|
@ -220,7 +221,7 @@ const char *const linux_syscallnames[] = {
|
||||||
"#189 (unimplemented putpmsg)", /* 189 = unimplemented putpmsg */
|
"#189 (unimplemented putpmsg)", /* 189 = unimplemented putpmsg */
|
||||||
"__vfork14", /* 190 = __vfork14 */
|
"__vfork14", /* 190 = __vfork14 */
|
||||||
"ugetrlimit", /* 191 = ugetrlimit */
|
"ugetrlimit", /* 191 = ugetrlimit */
|
||||||
"mmap2", /* 192 = mmap2 */
|
"mmap", /* 192 = mmap */
|
||||||
"truncate64", /* 193 = truncate64 */
|
"truncate64", /* 193 = truncate64 */
|
||||||
"linux_ftruncate64", /* 194 = linux_ftruncate64 */
|
"linux_ftruncate64", /* 194 = linux_ftruncate64 */
|
||||||
"stat64", /* 195 = stat64 */
|
"stat64", /* 195 = stat64 */
|
||||||
|
@ -249,5 +250,5 @@ const char *const linux_syscallnames[] = {
|
||||||
"#218 (unimplemented mincore)", /* 218 = unimplemented mincore */
|
"#218 (unimplemented mincore)", /* 218 = unimplemented mincore */
|
||||||
"#219 (unimplemented madvise)", /* 219 = unimplemented madvise */
|
"#219 (unimplemented madvise)", /* 219 = unimplemented madvise */
|
||||||
"#220 (unimplemented getdents64)", /* 220 = unimplemented getdents64 */
|
"#220 (unimplemented getdents64)", /* 220 = unimplemented getdents64 */
|
||||||
"#221 (unimplemented fcntl64)", /* 221 = unimplemented fcntl64 */
|
"fcntl64", /* 221 = fcntl64 */
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/* $NetBSD: linux_sysent.c,v 1.42 2002/02/15 16:50:58 christos Exp $ */
|
/* $NetBSD: linux_sysent.c,v 1.43 2002/03/22 15:11:23 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call switch table.
|
* System call switch table.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.61 2002/02/15 16:48:00 christos Exp
|
* created from NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.42 2002/02/15 16:50:58 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.43 2002/03/22 15:11:23 christos Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_compat_43.h"
|
#include "opt_compat_43.h"
|
||||||
|
@ -20,6 +20,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.42 2002/02/15 16:50:58 christos E
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <sys/syscallargs.h>
|
#include <sys/syscallargs.h>
|
||||||
#include <compat/linux/common/linux_types.h>
|
#include <compat/linux/common/linux_types.h>
|
||||||
|
#include <compat/linux/common/linux_mmap.h>
|
||||||
#include <compat/linux/common/linux_signal.h>
|
#include <compat/linux/common/linux_signal.h>
|
||||||
#include <compat/linux/common/linux_siginfo.h>
|
#include <compat/linux/common/linux_siginfo.h>
|
||||||
#include <compat/linux/common/linux_machdep.h>
|
#include <compat/linux/common/linux_machdep.h>
|
||||||
|
@ -278,8 +279,8 @@ struct sysent linux_sysent[] = {
|
||||||
linux_sys_modify_ldt }, /* 123 = modify_ldt */
|
linux_sys_modify_ldt }, /* 123 = modify_ldt */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
linux_sys_nosys }, /* 124 = unimplemented adjtimex */
|
linux_sys_nosys }, /* 124 = unimplemented adjtimex */
|
||||||
{ 3, s(struct sys_mprotect_args), 0,
|
{ 3, s(struct linux_sys_mprotect_args), 0,
|
||||||
sys_mprotect }, /* 125 = mprotect */
|
linux_sys_mprotect }, /* 125 = mprotect */
|
||||||
{ 3, s(struct linux_sys_sigprocmask_args), 0,
|
{ 3, s(struct linux_sys_sigprocmask_args), 0,
|
||||||
linux_sys_sigprocmask }, /* 126 = sigprocmask */
|
linux_sys_sigprocmask }, /* 126 = sigprocmask */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
|
@ -412,8 +413,8 @@ struct sysent linux_sysent[] = {
|
||||||
sys___vfork14 }, /* 190 = __vfork14 */
|
sys___vfork14 }, /* 190 = __vfork14 */
|
||||||
{ 2, s(struct linux_sys_ugetrlimit_args), 0,
|
{ 2, s(struct linux_sys_ugetrlimit_args), 0,
|
||||||
linux_sys_ugetrlimit }, /* 191 = ugetrlimit */
|
linux_sys_ugetrlimit }, /* 191 = ugetrlimit */
|
||||||
{ 6, s(struct linux_sys_mmap2_args), 0,
|
{ 6, s(struct linux_sys_mmap_args), 0,
|
||||||
linux_sys_mmap2 }, /* 192 = mmap2 */
|
linux_sys_mmap }, /* 192 = mmap */
|
||||||
{ 2, s(struct linux_sys_truncate64_args), 0,
|
{ 2, s(struct linux_sys_truncate64_args), 0,
|
||||||
linux_sys_truncate64 }, /* 193 = truncate64 */
|
linux_sys_truncate64 }, /* 193 = truncate64 */
|
||||||
{ 2, s(struct sys_ftruncate_args), 0,
|
{ 2, s(struct sys_ftruncate_args), 0,
|
||||||
|
@ -470,8 +471,8 @@ struct sysent linux_sysent[] = {
|
||||||
linux_sys_nosys }, /* 219 = unimplemented madvise */
|
linux_sys_nosys }, /* 219 = unimplemented madvise */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
linux_sys_nosys }, /* 220 = unimplemented getdents64 */
|
linux_sys_nosys }, /* 220 = unimplemented getdents64 */
|
||||||
{ 0, 0, 0,
|
{ 3, s(struct linux_sys_fcntl64_args), 0,
|
||||||
linux_sys_nosys }, /* 221 = unimplemented fcntl64 */
|
linux_sys_fcntl64 }, /* 221 = fcntl64 */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
linux_sys_nosys }, /* 222 = filler */
|
linux_sys_nosys }, /* 222 = filler */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
|
|
Loading…
Reference in New Issue