diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2011-09-19 22:49:58 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2011-09-19 22:49:58 +0000 |
commit | c3135dd9e2cd265dc4ebe9efce1c4220929e5349 (patch) | |
tree | 13498c260ce390913f88f18a333cde0bec8670a1 | |
parent | 18048b18d280eabba107c5dc4a73844d99731461 (diff) |
Regenerate after pipe2.
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 7 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 10 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 6 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 8 |
4 files changed, 20 insertions, 11 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index ffbac8441d5..fc8c1fb91f9 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.66 2011/09/19 14:33:40 pirofti Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.67 2011/09/19 22:49:57 pirofti Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.62 2011/09/18 02:23:18 pirofti Exp + * created from OpenBSD: syscalls.master,v 1.63 2011/09/19 14:33:14 pirofti Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -748,4 +748,7 @@ /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */ #define LINUX_SYS_get_robust_list 312 +/* syscall: "pipe2" ret: "int" args: "int *" "int" */ +#define LINUX_SYS_pipe2 331 + #define LINUX_SYS_MAXSYSCALL 338 diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 374cd245a56..a351941d0d4 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.68 2011/09/19 14:33:40 pirofti Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.69 2011/09/19 22:49:57 pirofti Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.62 2011/09/18 02:23:18 pirofti Exp + * created from OpenBSD: syscalls.master,v 1.63 2011/09/19 14:33:14 pirofti Exp */ #ifdef syscallarg @@ -610,6 +610,11 @@ struct linux_sys_get_robust_list_args { syscallarg(size_t *) len; }; +struct linux_sys_pipe2_args { + syscallarg(int *) fdp; + syscallarg(int) flags; +}; + /* * System call prototypes. */ @@ -876,3 +881,4 @@ int linux_sys_clock_gettime(struct proc *, void *, register_t *); int linux_sys_clock_getres(struct proc *, void *, register_t *); int linux_sys_set_robust_list(struct proc *, void *, register_t *); int linux_sys_get_robust_list(struct proc *, void *, register_t *); +int linux_sys_pipe2(struct proc *, void *, register_t *); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 503901cdac6..f2316073959 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.66 2011/09/19 14:33:40 pirofti Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.67 2011/09/19 22:49:57 pirofti Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.62 2011/09/18 02:23:18 pirofti Exp + * created from OpenBSD: syscalls.master,v 1.63 2011/09/19 14:33:14 pirofti Exp */ char *linux_syscallnames[] = { @@ -359,7 +359,7 @@ char *linux_syscallnames[] = { "#328 (unimplemented eventfd2)", /* 328 = unimplemented eventfd2 */ "#329 (unimplemented epoll_create1)", /* 329 = unimplemented epoll_create1 */ "#330 (unimplemented dup3)", /* 330 = unimplemented dup3 */ - "#331 (unimplemented pipe2)", /* 331 = unimplemented pipe2 */ + "pipe2", /* 331 = pipe2 */ "#332 (unimplemented inotify_init1)", /* 332 = unimplemented inotify_init1 */ "#333 (unimplemented preadv)", /* 333 = unimplemented preadv */ "#334 (unimplemented pwritev)", /* 334 = unimplemented pwritev */ diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index d495dd60c4a..74069eaf12e 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.67 2011/09/19 14:33:40 pirofti Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.68 2011/09/19 22:49:57 pirofti Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.62 2011/09/18 02:23:18 pirofti Exp + * created from OpenBSD: syscalls.master,v 1.63 2011/09/19 14:33:14 pirofti Exp */ #include <sys/param.h> @@ -708,8 +708,8 @@ struct sysent linux_sysent[] = { sys_nosys }, /* 329 = unimplemented epoll_create1 */ { 0, 0, 0, sys_nosys }, /* 330 = unimplemented dup3 */ - { 0, 0, 0, - sys_nosys }, /* 331 = unimplemented pipe2 */ + { 2, s(struct linux_sys_pipe2_args), 0, + linux_sys_pipe2 }, /* 331 = pipe2 */ { 0, 0, 0, sys_nosys }, /* 332 = unimplemented inotify_init1 */ { 0, 0, 0, |