summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-03-22 15:19:53 +0000
committerchristos <christos@NetBSD.org>2002-03-22 15:19:53 +0000
commit56814112063c700e995af35cdbafcede1a751d8f (patch)
tree8722c19b5947815a04c177668d6a8d1c03d98705 /sys/compat/linux
parentb3c32e7e6da043b254db2d135bbca3d841696888 (diff)
regen
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/powerpc/linux_syscall.h9
-rw-r--r--sys/compat/linux/arch/powerpc/linux_syscallargs.h22
-rw-r--r--sys/compat/linux/arch/powerpc/linux_syscalls.c8
-rw-r--r--sys/compat/linux/arch/powerpc/linux_sysent.c14
4 files changed, 23 insertions, 30 deletions
diff --git a/sys/compat/linux/arch/powerpc/linux_syscall.h b/sys/compat/linux/arch/powerpc/linux_syscall.h
index 3190189bf18..c5bb054060e 100644
--- a/sys/compat/linux/arch/powerpc/linux_syscall.h
+++ b/sys/compat/linux/arch/powerpc/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.13 2002/02/19 16:46:12 nathanw Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.14 2002/03/22 15:19:53 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.9 2002/02/19 16:44:09 nathanw Exp
+ * created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -330,7 +330,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 *" */
@@ -474,7 +474,4 @@
/* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */
#define LINUX_SYS_ugetrlimit 190
-/* syscall: "mmap2" ret: "off_t" args: "void *" "size_t" "int" "int" "int" "off_t" */
-#define LINUX_SYS_mmap2 192
-
#define LINUX_SYS_MAXSYSCALL 207
diff --git a/sys/compat/linux/arch/powerpc/linux_syscallargs.h b/sys/compat/linux/arch/powerpc/linux_syscallargs.h
index c56d6c773ba..feab055c411 100644
--- a/sys/compat/linux/arch/powerpc/linux_syscallargs.h
+++ b/sys/compat/linux/arch/powerpc/linux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.13 2002/02/19 16:46:13 nathanw Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.14 2002/03/22 15:19:53 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.9 2002/02/19 16:44:09 nathanw Exp
+ * created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -331,6 +331,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;
@@ -508,15 +514,6 @@ struct linux_sys_ugetrlimit_args {
syscallarg(struct rlimit *) 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;
-};
-
/*
* System call prototypes.
*/
@@ -625,7 +622,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 *);
@@ -673,5 +670,4 @@ 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 *);
int linux_sys_ugetrlimit(struct proc *, void *, register_t *);
-int linux_sys_mmap2(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff --git a/sys/compat/linux/arch/powerpc/linux_syscalls.c b/sys/compat/linux/arch/powerpc/linux_syscalls.c
index 81175815f31..82ddb17d152 100644
--- a/sys/compat/linux/arch/powerpc/linux_syscalls.c
+++ b/sys/compat/linux/arch/powerpc/linux_syscalls.c
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.13 2002/02/19 16:46:13 nathanw Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.14 2002/03/22 15:19:54 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.9 2002/02/19 16:44:09 nathanw Exp
+ * created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.13 2002/02/19 16:46:13 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.14 2002/03/22 15:19:54 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -222,7 +222,7 @@ const char *const linux_syscallnames[] = {
"__vfork14", /* 189 = __vfork14 */
"ugetrlimit", /* 190 = ugetrlimit */
"#191 (unimplemented / * unused * /)", /* 191 = unimplemented / * unused * / */
- "mmap2", /* 192 = mmap2 */
+ "#192 (unimplemented mmap2)", /* 192 = unimplemented mmap2 */
"#193 (unimplemented truncate64)", /* 193 = unimplemented truncate64 */
"#194 (unimplemented ftruncate64)", /* 194 = unimplemented ftruncate64 */
"#195 (unimplemented stat64)", /* 195 = unimplemented stat64 */
diff --git a/sys/compat/linux/arch/powerpc/linux_sysent.c b/sys/compat/linux/arch/powerpc/linux_sysent.c
index eca76822303..9980dc05d94 100644
--- a/sys/compat/linux/arch/powerpc/linux_sysent.c
+++ b/sys/compat/linux/arch/powerpc/linux_sysent.c
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.13 2002/02/19 16:46:13 nathanw Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.14 2002/03/22 15:19:54 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.9 2002/02/19 16:44:09 nathanw Exp
+ * created from NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.13 2002/02/19 16:46:13 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.14 2002/03/22 15:19:54 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -280,8 +280,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 123 = unimplemented modify_ldt */
{ 0, 0, 0,
linux_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,
@@ -414,8 +414,8 @@ struct sysent linux_sysent[] = {
linux_sys_ugetrlimit }, /* 190 = ugetrlimit */
{ 0, 0, 0,
linux_sys_nosys }, /* 191 = unimplemented / * unused * / */
- { 6, s(struct linux_sys_mmap2_args), 0,
- linux_sys_mmap2 }, /* 192 = mmap2 */
+ { 0, 0, 0,
+ linux_sys_nosys }, /* 192 = unimplemented mmap2 */
{ 0, 0, 0,
linux_sys_nosys }, /* 193 = unimplemented truncate64 */
{ 0, 0, 0,