Module Name: src Committed By: njoly Date: Fri Apr 4 18:25:41 UTC 2014
Modified Files: src/sys/rump/kern/lib/libsys_linux: rump_linux_syscall.h rump_linux_syscallargs.h rump_linux_syscalls.c rump_linux_sysent.c Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h cvs rdiff -u -r1.14 -r1.15 \ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h \ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c \ src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h:1.11 src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h:1.12 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h:1.11 Sat Jan 25 10:31:01 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h Fri Apr 4 18:25:41 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: rump_linux_syscall.h,v 1.11 2014/01/25 10:31:01 njoly Exp $ */ +/* $NetBSD: rump_linux_syscall.h,v 1.12 2014/04/04 18:25:41 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.14 2014/04/04 18:24:12 njoly Exp */ #ifndef _RUMP_LINUX_SYS_SYSCALL_H_ @@ -243,6 +243,12 @@ /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ #define RUMP_LINUX_SYS_select 417 +/* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */ +#define RUMP_LINUX_SYS_gettimeofday 418 + +/* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */ +#define RUMP_LINUX_SYS_settimeofday 419 + /* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */ #define RUMP_LINUX_SYS_utimes 420 @@ -252,6 +258,18 @@ /* syscall: "__lutimes50" ret: "int" args: "const char *" "const struct timeval *" */ #define RUMP_LINUX_SYS___lutimes50 424 +/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ +#define RUMP_LINUX_SYS_clock_gettime 427 + +/* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ +#define RUMP_LINUX_SYS_clock_settime 428 + +/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */ +#define RUMP_LINUX_SYS_clock_getres 429 + +/* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */ +#define RUMP_LINUX_SYS_nanosleep 430 + /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "const struct linux_timespec *" "const linux_sigset_t *" */ #define RUMP_LINUX_SYS_ppoll 437 @@ -312,6 +330,9 @@ /* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */ #define RUMP_LINUX_SYS_unlinkat 471 -#define RUMP_LINUX_SYS_MAXSYSCALL 477 +/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */ +#define RUMP_LINUX_SYS_clock_nanosleep 477 + +#define RUMP_LINUX_SYS_MAXSYSCALL 478 #define RUMP_LINUX_SYS_NSYSENT 512 #endif /* _RUMP_LINUX_SYS_SYSCALL_H_ */ Index: src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h:1.14 src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h:1.15 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h:1.14 Sat Jan 25 10:31:01 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Fri Apr 4 18:25:41 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: rump_linux_syscallargs.h,v 1.14 2014/01/25 10:31:01 njoly Exp $ */ +/* $NetBSD: rump_linux_syscallargs.h,v 1.15 2014/04/04 18:25:41 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.14 2014/04/04 18:24:12 njoly Exp */ #ifndef _RUMP_LINUX_SYS_SYSCALLARGS_H_ @@ -167,12 +167,24 @@ struct linux_sys_socket_args; struct linux_sys_select_args; +struct linux_sys_gettimeofday_args; + +struct linux_sys_settimeofday_args; + struct linux_sys_utimes_args; struct sys___futimes50_args; struct sys___lutimes50_args; +struct linux_sys_clock_gettime_args; + +struct linux_sys_clock_settime_args; + +struct linux_sys_clock_getres_args; + +struct linux_sys_nanosleep_args; + struct linux_sys_ppoll_args; struct linux_sys_stat64_args; @@ -220,6 +232,8 @@ struct sys_symlinkat_args; struct linux_sys_unlinkat_args; +struct linux_sys_clock_nanosleep_args; + /* * System call prototypes. */ @@ -378,12 +392,24 @@ int linux_sys_socket(struct lwp *, const int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *); +int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *); + +int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *); + int linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_args *, register_t *); int sys___futimes50(struct lwp *, const struct sys___futimes50_args *, register_t *); int sys___lutimes50(struct lwp *, const struct sys___lutimes50_args *, register_t *); +int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *); + +int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *); + +int linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *); + +int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *); + int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *); int linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *); @@ -424,4 +450,6 @@ int sys_symlinkat(struct lwp *, const st int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *); +int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *); + #endif /* _RUMP_LINUX_SYS_SYSCALLARGS_H_ */ Index: src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c:1.14 src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c:1.15 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c:1.14 Sat Jan 25 10:31:01 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c Fri Apr 4 18:25:41 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: rump_linux_syscalls.c,v 1.14 2014/01/25 10:31:01 njoly Exp $ */ +/* $NetBSD: rump_linux_syscalls.c,v 1.15 2014/04/04 18:25:41 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.14 2014/04/04 18:24:12 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.14 2014/01/25 10:31:01 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.15 2014/04/04 18:25:41 njoly Exp $"); #if defined(_KERNEL_OPT) #include <sys/param.h> @@ -447,8 +447,8 @@ const char *const rump_linux_syscallname /* 415 */ "#415 (unimplemented _pset_bind)", /* 416 */ "#416 (unimplemented fadvise)", /* 417 */ "select", - /* 418 */ "#418 (unimplemented gettimeofday)", - /* 419 */ "#419 (unimplemented settimeofday)", + /* 418 */ "gettimeofday", + /* 419 */ "settimeofday", /* 420 */ "utimes", /* 421 */ "#421 (unimplemented adjtime)", /* 422 */ "#422 (unimplemented lfs_segwait)", @@ -456,10 +456,10 @@ const char *const rump_linux_syscallname /* 424 */ "__lutimes50", /* 425 */ "#425 (unimplemented setitimer)", /* 426 */ "#426 (unimplemented getitimer)", - /* 427 */ "#427 (unimplemented clock_gettime)", - /* 428 */ "#428 (unimplemented clock_settime)", - /* 429 */ "#429 (unimplemented clock_getres)", - /* 430 */ "#430 (unimplemented nanosleep)", + /* 427 */ "clock_gettime", + /* 428 */ "clock_settime", + /* 429 */ "clock_getres", + /* 430 */ "nanosleep", /* 431 */ "#431 (unimplemented __sigtimedwait)", /* 432 */ "#432 (unimplemented mq_timedsend)", /* 433 */ "#433 (unimplemented mq_timedreceive)", @@ -506,7 +506,7 @@ const char *const rump_linux_syscallname /* 474 */ "#474 (unimplemented posix_spawn)", /* 475 */ "#475 (unimplemented recvmmsg)", /* 476 */ "#476 (unimplemented sendmmsg)", - /* 477 */ "# filler", + /* 477 */ "clock_nanosleep", /* 478 */ "# filler", /* 479 */ "# filler", /* 480 */ "# filler", Index: src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c:1.14 src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c:1.15 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c:1.14 Sat Jan 25 10:31:01 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c Fri Apr 4 18:25:41 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: rump_linux_sysent.c,v 1.14 2014/01/25 10:31:01 njoly Exp $ */ +/* $NetBSD: rump_linux_sysent.c,v 1.15 2014/04/04 18:25:41 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp + * created from NetBSD: syscalls.master,v 1.14 2014/04/04 18:24:12 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.14 2014/01/25 10:31:01 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.15 2014/04/04 18:25:41 njoly Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -867,10 +867,10 @@ struct sysent rump_linux_sysent[] = { linux_sys_nosys }, /* 416 = unimplemented fadvise */ { ns(struct linux_sys_select_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_select }, /* 417 = select */ - { 0, 0, 0, - linux_sys_nosys }, /* 418 = unimplemented gettimeofday */ - { 0, 0, 0, - linux_sys_nosys }, /* 419 = unimplemented settimeofday */ + { ns(struct linux_sys_gettimeofday_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_gettimeofday },/* 418 = gettimeofday */ + { ns(struct linux_sys_settimeofday_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_settimeofday },/* 419 = settimeofday */ { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_utimes }, /* 420 = utimes */ { 0, 0, 0, @@ -885,14 +885,14 @@ struct sysent rump_linux_sysent[] = { linux_sys_nosys }, /* 425 = unimplemented setitimer */ { 0, 0, 0, linux_sys_nosys }, /* 426 = unimplemented getitimer */ - { 0, 0, 0, - linux_sys_nosys }, /* 427 = unimplemented clock_gettime */ - { 0, 0, 0, - linux_sys_nosys }, /* 428 = unimplemented clock_settime */ - { 0, 0, 0, - linux_sys_nosys }, /* 429 = unimplemented clock_getres */ - { 0, 0, 0, - linux_sys_nosys }, /* 430 = unimplemented nanosleep */ + { ns(struct linux_sys_clock_gettime_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_clock_gettime },/* 427 = clock_gettime */ + { ns(struct linux_sys_clock_settime_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_clock_settime },/* 428 = clock_settime */ + { ns(struct linux_sys_clock_getres_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_clock_getres },/* 429 = clock_getres */ + { ns(struct linux_sys_nanosleep_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_nanosleep }, /* 430 = nanosleep */ { 0, 0, 0, linux_sys_nosys }, /* 431 = unimplemented __sigtimedwait */ { 0, 0, 0, @@ -985,8 +985,8 @@ struct sysent rump_linux_sysent[] = { linux_sys_nosys }, /* 475 = unimplemented recvmmsg */ { 0, 0, 0, linux_sys_nosys }, /* 476 = unimplemented sendmmsg */ - { 0, 0, 0, - linux_sys_nosys }, /* 477 = filler */ + { ns(struct linux_sys_clock_nanosleep_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_clock_nanosleep },/* 477 = clock_nanosleep */ { 0, 0, 0, linux_sys_nosys }, /* 478 = filler */ { 0, 0, 0,