summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/linux/linux_syscall.h8
-rw-r--r--sys/compat/linux/linux_syscallargs.h11
-rw-r--r--sys/compat/linux/linux_syscalls.c6
-rw-r--r--sys/compat/linux/linux_sysent.c8
4 files changed, 14 insertions, 19 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 47f7d952185..672866a166f 100644
--- a/sys/compat/linux/linux_syscall.h
+++ b/sys/compat/linux/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscall.h,v 1.50 2004/10/27 13:24:19 niklas Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.51 2007/05/29 03:28:13 tedu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.49 2004/10/27 13:23:38 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.50 2007/05/29 03:28:01 tedu Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -565,8 +565,8 @@
/* syscall: "chown16" ret: "int" args: "char *" "int" "int" */
#define LINUX_SYS_chown16 182
-/* syscall: "getcwd" ret: "int" args: "char *" "size_t" */
-#define LINUX_SYS_getcwd 183
+/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
+#define LINUX_SYS___getcwd 183
/* syscall: "capget" ret: "int" args: */
#define LINUX_SYS_capget 184
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 945721154e0..ea608b47e27 100644
--- a/sys/compat/linux/linux_syscallargs.h
+++ b/sys/compat/linux/linux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscallargs.h,v 1.52 2004/10/27 13:24:19 niklas Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.53 2007/05/29 03:28:13 tedu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.49 2004/10/27 13:23:38 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.50 2007/05/29 03:28:01 tedu Exp
*/
#ifdef syscallarg
@@ -482,11 +482,6 @@ struct linux_sys_chown16_args {
syscallarg(int) gid;
};
-struct linux_sys_getcwd_args {
- syscallarg(char *) bufp;
- syscallarg(size_t) length;
-};
-
struct linux_sys_sigaltstack_args {
syscallarg(const struct linux_sigaltstack *) nss;
syscallarg(struct linux_sigaltstack *) oss;
@@ -752,7 +747,7 @@ int linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
int linux_sys_pread(struct proc *, void *, register_t *);
int linux_sys_pwrite(struct proc *, void *, register_t *);
int linux_sys_chown16(struct proc *, void *, register_t *);
-int linux_sys_getcwd(struct proc *, void *, register_t *);
+int sys___getcwd(struct proc *, void *, register_t *);
int linux_sys_capget(struct proc *, void *, register_t *);
int linux_sys_capset(struct proc *, void *, register_t *);
int linux_sys_sigaltstack(struct proc *, void *, register_t *);
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index 3674d7d8ab3..82a20be180a 100644
--- a/sys/compat/linux/linux_syscalls.c
+++ b/sys/compat/linux/linux_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscalls.c,v 1.50 2004/10/27 13:24:20 niklas Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.51 2007/05/29 03:28:13 tedu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.49 2004/10/27 13:23:38 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.50 2007/05/29 03:28:01 tedu Exp
*/
char *linux_syscallnames[] = {
@@ -211,7 +211,7 @@ char *linux_syscallnames[] = {
"pread", /* 180 = pread */
"pwrite", /* 181 = pwrite */
"chown16", /* 182 = chown16 */
- "getcwd", /* 183 = getcwd */
+ "__getcwd", /* 183 = __getcwd */
"capget", /* 184 = capget */
"capset", /* 185 = capset */
"sigaltstack", /* 186 = sigaltstack */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 5071ba04e94..b1b70733b81 100644
--- a/sys/compat/linux/linux_sysent.c
+++ b/sys/compat/linux/linux_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_sysent.c,v 1.51 2004/10/27 13:24:20 niklas Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.52 2007/05/29 03:28:13 tedu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.49 2004/10/27 13:23:38 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.50 2007/05/29 03:28:01 tedu Exp
*/
#include <sys/param.h>
@@ -412,8 +412,8 @@ struct sysent linux_sysent[] = {
linux_sys_pwrite }, /* 181 = pwrite */
{ 3, s(struct linux_sys_chown16_args),
linux_sys_chown16 }, /* 182 = chown16 */
- { 2, s(struct linux_sys_getcwd_args),
- linux_sys_getcwd }, /* 183 = getcwd */
+ { 2, s(struct sys___getcwd_args),
+ sys___getcwd }, /* 183 = __getcwd */
{ 0, 0,
linux_sys_capget }, /* 184 = capget */
{ 0, 0,