diff options
| author | njoly <njoly@NetBSD.org> | 2014-11-22 13:13:10 +0000 |
|---|---|---|
| committer | njoly <njoly@NetBSD.org> | 2014-11-22 13:13:10 +0000 |
| commit | 172cc8a59f21474dc4fb20c030ff74ff5ec5772f (patch) | |
| tree | 557e3a459886d030c88a9a67e3a2de98ab239dfe /sys/compat/linux32 | |
| parent | 398ca24ece95d7133b4afc0343c1cf190635a0f4 (diff) | |
Regen for ppoll(2)
Diffstat (limited to 'sys/compat/linux32')
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_syscall.h | 7 | ||||
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_syscallargs.h | 14 | ||||
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_syscalls.c | 8 | ||||
| -rw-r--r-- | sys/compat/linux32/arch/amd64/linux32_sysent.c | 10 |
4 files changed, 26 insertions, 13 deletions
diff --git a/sys/compat/linux32/arch/amd64/linux32_syscall.h b/sys/compat/linux32/arch/amd64/linux32_syscall.h index 7f795e8ee5a..84592566cf6 100644 --- a/sys/compat/linux32/arch/amd64/linux32_syscall.h +++ b/sys/compat/linux32/arch/amd64/linux32_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.73 2014/11/22 13:13:10 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp + * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -690,6 +690,9 @@ /* syscall: "faccessat" ret: "int" args: "int" "netbsd32_charp" "int" */ #define LINUX32_SYS_faccessat 307 +/* syscall: "ppoll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "linux32_timespecp_t" "linux32_sigsetp_t" */ +#define LINUX32_SYS_ppoll 309 + /* syscall: "set_robust_list" ret: "int" args: "linux32_robust_list_headp_t" "linux32_size_t" */ #define LINUX32_SYS_set_robust_list 311 diff --git a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h index 44eed668ae5..057623f76af 100644 --- a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h +++ b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.73 2014/11/22 13:13:10 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp + * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -981,6 +981,14 @@ struct linux32_sys_faccessat_args { }; check_syscall_args(linux32_sys_faccessat) +struct linux32_sys_ppoll_args { + syscallarg(netbsd32_pollfdp_t) fds; + syscallarg(u_int) nfds; + syscallarg(linux32_timespecp_t) timeout; + syscallarg(linux32_sigsetp_t) sigset; +}; +check_syscall_args(linux32_sys_ppoll) + struct linux32_sys_set_robust_list_args { syscallarg(linux32_robust_list_headp_t) head; syscallarg(linux32_size_t) len; @@ -1449,6 +1457,8 @@ int linux32_sys_fchmodat(struct lwp *, const struct linux32_sys_fchmodat_args *, int linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args *, register_t *); +int linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *); + int linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *); int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *); diff --git a/sys/compat/linux32/arch/amd64/linux32_syscalls.c b/sys/compat/linux32/arch/amd64/linux32_syscalls.c index 9605b1c1fb7..39b64bbb358 100644 --- a/sys/compat/linux32/arch/amd64/linux32_syscalls.c +++ b/sys/compat/linux32/arch/amd64/linux32_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.73 2014/11/22 13:13:10 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp + * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.73 2014/11/22 13:13:10 njoly Exp $"); #if defined(_KERNEL_OPT) #include <sys/param.h> @@ -346,7 +346,7 @@ const char *const linux32_syscallnames[] = { /* 306 */ "fchmodat", /* 307 */ "faccessat", /* 308 */ "#308 (unimplemented pselect6)", - /* 309 */ "#309 (unimplemented ppoll)", + /* 309 */ "ppoll", /* 310 */ "#310 (unimplemented unshare)", /* 311 */ "set_robust_list", /* 312 */ "get_robust_list", diff --git a/sys/compat/linux32/arch/amd64/linux32_sysent.c b/sys/compat/linux32/arch/amd64/linux32_sysent.c index 458a94f561d..e0636424120 100644 --- a/sys/compat/linux32/arch/amd64/linux32_sysent.c +++ b/sys/compat/linux32/arch/amd64/linux32_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_sysent.c,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ +/* $NetBSD: linux32_sysent.c,v 1.73 2014/11/22 13:13:10 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp + * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.72 2014/05/29 10:47:23 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.73 2014/11/22 13:13:10 njoly Exp $"); #include <sys/param.h> #include <sys/poll.h> @@ -657,8 +657,8 @@ struct sysent linux32_sysent[] = { (sy_call_t *)linux32_sys_faccessat },/* 307 = faccessat */ { 0, 0, 0, linux_sys_nosys }, /* 308 = unimplemented pselect6 */ - { 0, 0, 0, - linux_sys_nosys }, /* 309 = unimplemented ppoll */ + { ns(struct linux32_sys_ppoll_args), 0, + (sy_call_t *)linux32_sys_ppoll }, /* 309 = ppoll */ { 0, 0, 0, linux_sys_nosys }, /* 310 = unimplemented unshare */ { ns(struct linux32_sys_set_robust_list_args), 0, |
