summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2012-06-08 14:29:59 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2012-06-08 14:29:59 +0000
commit9a25414dd3c00ce6c22882b28de51d960771af23 (patch)
tree8a77832c4e18a05a12052dc5570f093775c90835 /sys/compat
parentbcda34d077c9eb9c58cc7d91af651c7b6db9afd0 (diff)
Regenerate
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_syscall.h7
-rw-r--r--sys/compat/linux/linux_syscallargs.h5
-rw-r--r--sys/compat/linux/linux_syscalls.c6
-rw-r--r--sys/compat/linux/linux_sysent.c6
4 files changed, 14 insertions, 10 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index af12460288f..2c587e13b06 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.71 2012/05/23 19:48:26 pirofti Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.72 2012/06/08 14:29:58 pirofti Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.68 2012/05/23 19:47:02 pirofti Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -682,6 +682,9 @@
/* syscall: "fcntl64" ret: "int" args: "u_int" "u_int" "void *" */
#define LINUX_SYS_fcntl64 221
+/* syscall: "gettid" ret: "linux_pid_t" args: */
+#define LINUX_SYS_gettid 224
+
/* syscall: "setxattr" ret: "int" args: */
#define LINUX_SYS_setxattr 226
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index b4d25dec684..f5509f1ee4c 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.73 2012/05/23 19:48:26 pirofti Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.74 2012/06/08 14:29:58 pirofti Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.68 2012/05/23 19:47:02 pirofti Exp
*/
#ifdef syscallarg
@@ -883,6 +883,7 @@ int linux_sys_mincore(struct proc *, void *, register_t *);
int sys_madvise(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
int linux_sys_fcntl64(struct proc *, void *, register_t *);
+int linux_sys_gettid(struct proc *, void *, register_t *);
int linux_sys_setxattr(struct proc *, void *, register_t *);
int linux_sys_lsetxattr(struct proc *, void *, register_t *);
int linux_sys_fsetxattr(struct proc *, void *, register_t *);
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index 974781487e5..4829358b3bc 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.71 2012/05/23 19:48:26 pirofti Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.72 2012/06/08 14:29:58 pirofti Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.68 2012/05/23 19:47:02 pirofti Exp
*/
char *linux_syscallnames[] = {
@@ -252,7 +252,7 @@ char *linux_syscallnames[] = {
"fcntl64", /* 221 = fcntl64 */
"#222 (unimplemented)", /* 222 = unimplemented */
"#223 (unimplemented)", /* 223 = unimplemented */
- "#224 (unimplemented linux_sys_gettid)", /* 224 = unimplemented linux_sys_gettid */
+ "gettid", /* 224 = gettid */
"#225 (unimplemented linux_sys_readahead)", /* 225 = unimplemented linux_sys_readahead */
"setxattr", /* 226 = setxattr */
"lsetxattr", /* 227 = lsetxattr */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 71f8ff40791..5980b877fa0 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.72 2012/05/23 19:48:26 pirofti Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.73 2012/06/08 14:29:58 pirofti Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.67 2012/05/23 11:08:57 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.68 2012/05/23 19:47:02 pirofti Exp
*/
#include <sys/param.h>
@@ -495,7 +495,7 @@ struct sysent linux_sysent[] = {
{ 0, 0, 0,
sys_nosys }, /* 223 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 224 = unimplemented linux_sys_gettid */
+ linux_sys_gettid }, /* 224 = gettid */
{ 0, 0, 0,
sys_nosys }, /* 225 = unimplemented linux_sys_readahead */
{ 0, 0, 0,