Mon Jan 13 10:33:23 2014 UTC ()
Regen.


(njoly)
diff -r1.88 -r1.89 src/sys/compat/linux/arch/alpha/linux_syscall.h
diff -r1.88 -r1.89 src/sys/compat/linux/arch/alpha/linux_sysent.c
diff -r1.87 -r1.88 src/sys/compat/linux/arch/alpha/linux_syscallargs.h
diff -r1.89 -r1.90 src/sys/compat/linux/arch/alpha/linux_syscalls.c

cvs diff -r1.88 -r1.89 src/sys/compat/linux/arch/alpha/linux_syscall.h (expand / switch to unified diff)

--- src/sys/compat/linux/arch/alpha/linux_syscall.h 2013/12/27 14:17:32 1.88
+++ src/sys/compat/linux/arch/alpha/linux_syscall.h 2014/01/13 10:33:23 1.89
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: linux_syscall.h,v 1.88 2013/12/27 14:17:32 njoly Exp $ */ 1/* $NetBSD: linux_syscall.h,v 1.89 2014/01/13 10:33:23 njoly Exp $ */
2 2
3/* 3/*
4 * System call numbers. 4 * System call numbers.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
8 */ 8 */
9 9
10#ifndef _LINUX_SYS_SYSCALL_H_ 10#ifndef _LINUX_SYS_SYSCALL_H_
11#define _LINUX_SYS_SYSCALL_H_ 11#define _LINUX_SYS_SYSCALL_H_
12 12
13#define LINUX_SYS_MAXSYSARGS 8 13#define LINUX_SYS_MAXSYSARGS 8
14 14
15/* syscall: "syscall" ret: "int" args: */ 15/* syscall: "syscall" ret: "int" args: */
16#define LINUX_SYS_syscall 0 16#define LINUX_SYS_syscall 0
17 17
18/* syscall: "exit" ret: "int" args: "int" */ 18/* syscall: "exit" ret: "int" args: "int" */
19#define LINUX_SYS_exit 1 19#define LINUX_SYS_exit 1
20 20
@@ -482,27 +482,27 @@ @@ -482,27 +482,27 @@
482 482
483/* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */ 483/* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */
484#define LINUX_SYS_rt_queueinfo 356 484#define LINUX_SYS_rt_queueinfo 356
485 485
486/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */ 486/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
487#define LINUX_SYS_rt_sigsuspend 357 487#define LINUX_SYS_rt_sigsuspend 357
488 488
489/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ 489/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
490#define LINUX_SYS_select 358 490#define LINUX_SYS_select 358
491 491
492/* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */ 492/* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
493#define LINUX_SYS_gettimeofday 359 493#define LINUX_SYS_gettimeofday 359
494 494
495/* syscall: "settimeofday" ret: "int" args: "const struct timeval50 *" "const struct timezone *" */ 495/* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
496#define LINUX_SYS_settimeofday 360 496#define LINUX_SYS_settimeofday 360
497 497
498/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */ 498/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */
499#define LINUX_SYS_getitimer 361 499#define LINUX_SYS_getitimer 361
500 500
501/* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */ 501/* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */
502#define LINUX_SYS_setitimer 362 502#define LINUX_SYS_setitimer 362
503 503
504/* syscall: "utimes" ret: "int" args: "char *" "struct linux_timeval *" */ 504/* syscall: "utimes" ret: "int" args: "char *" "struct linux_timeval *" */
505#define LINUX_SYS_utimes 363 505#define LINUX_SYS_utimes 363
506 506
507/* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */ 507/* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
508#define LINUX_SYS_getrusage 364 508#define LINUX_SYS_getrusage 364

cvs diff -r1.88 -r1.89 src/sys/compat/linux/arch/alpha/linux_sysent.c (expand / switch to unified diff)

--- src/sys/compat/linux/arch/alpha/linux_sysent.c 2013/12/27 14:17:32 1.88
+++ src/sys/compat/linux/arch/alpha/linux_sysent.c 2014/01/13 10:33:23 1.89
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: linux_sysent.c,v 1.88 2013/12/27 14:17:32 njoly Exp $ */ 1/* $NetBSD: linux_sysent.c,v 1.89 2014/01/13 10:33:23 njoly Exp $ */
2 2
3/* 3/*
4 * System call switch table. 4 * System call switch table.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.88 2013/12/27 14:17:32 njoly Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.89 2014/01/13 10:33:23 njoly Exp $");
12 12
13#if defined(_KERNEL_OPT) 13#if defined(_KERNEL_OPT)
14#include "opt_sysv.h" 14#include "opt_sysv.h"
15#endif 15#endif
16#include <sys/param.h> 16#include <sys/param.h>
17#include <sys/poll.h> 17#include <sys/poll.h>
18#include <sys/systm.h> 18#include <sys/systm.h>
19#include <sys/signal.h> 19#include <sys/signal.h>
20#include <sys/mount.h> 20#include <sys/mount.h>
21#include <sys/syscallargs.h> 21#include <sys/syscallargs.h>
22#include <compat/linux/common/linux_types.h> 22#include <compat/linux/common/linux_types.h>
23#include <compat/linux/common/linux_signal.h> 23#include <compat/linux/common/linux_signal.h>
24#include <compat/linux/common/linux_siginfo.h> 24#include <compat/linux/common/linux_siginfo.h>
@@ -778,30 +778,30 @@ struct sysent linux_sysent[] = { @@ -778,30 +778,30 @@ struct sysent linux_sysent[] = {
778 (sy_call_t *)linux_sys_rt_sigaction },/* 352 = rt_sigaction */ 778 (sy_call_t *)linux_sys_rt_sigaction },/* 352 = rt_sigaction */
779 { ns(struct linux_sys_rt_sigprocmask_args), SYCALL_ARG_PTR, 779 { ns(struct linux_sys_rt_sigprocmask_args), SYCALL_ARG_PTR,
780 (sy_call_t *)linux_sys_rt_sigprocmask },/* 353 = rt_sigprocmask */ 780 (sy_call_t *)linux_sys_rt_sigprocmask },/* 353 = rt_sigprocmask */
781 { ns(struct linux_sys_rt_sigpending_args), SYCALL_ARG_PTR, 781 { ns(struct linux_sys_rt_sigpending_args), SYCALL_ARG_PTR,
782 (sy_call_t *)linux_sys_rt_sigpending },/* 354 = rt_sigpending */ 782 (sy_call_t *)linux_sys_rt_sigpending },/* 354 = rt_sigpending */
783 { ns(struct linux_sys_rt_sigtimedwait_args), SYCALL_ARG_PTR, 783 { ns(struct linux_sys_rt_sigtimedwait_args), SYCALL_ARG_PTR,
784 (sy_call_t *)linux_sys_rt_sigtimedwait },/* 355 = rt_sigtimedwait */ 784 (sy_call_t *)linux_sys_rt_sigtimedwait },/* 355 = rt_sigtimedwait */
785 { ns(struct linux_sys_rt_queueinfo_args), SYCALL_ARG_PTR, 785 { ns(struct linux_sys_rt_queueinfo_args), SYCALL_ARG_PTR,
786 (sy_call_t *)linux_sys_rt_queueinfo },/* 356 = rt_queueinfo */ 786 (sy_call_t *)linux_sys_rt_queueinfo },/* 356 = rt_queueinfo */
787 { ns(struct linux_sys_rt_sigsuspend_args), SYCALL_ARG_PTR, 787 { ns(struct linux_sys_rt_sigsuspend_args), SYCALL_ARG_PTR,
788 (sy_call_t *)linux_sys_rt_sigsuspend },/* 357 = rt_sigsuspend */ 788 (sy_call_t *)linux_sys_rt_sigsuspend },/* 357 = rt_sigsuspend */
789 { ns(struct linux_sys_select_args), SYCALL_ARG_PTR, 789 { ns(struct linux_sys_select_args), SYCALL_ARG_PTR,
790 (sy_call_t *)linux_sys_select }, /* 358 = select */ 790 (sy_call_t *)linux_sys_select }, /* 358 = select */
791 { ns(struct compat_50_sys_gettimeofday_args), SYCALL_ARG_PTR, 791 { ns(struct linux_sys_gettimeofday_args), SYCALL_ARG_PTR,
792 (sy_call_t *)compat_50_sys_gettimeofday },/* 359 = gettimeofday */ 792 (sy_call_t *)linux_sys_gettimeofday },/* 359 = gettimeofday */
793 { ns(struct compat_50_sys_settimeofday_args), SYCALL_ARG_PTR, 793 { ns(struct linux_sys_settimeofday_args), SYCALL_ARG_PTR,
794 (sy_call_t *)compat_50_sys_settimeofday },/* 360 = settimeofday */ 794 (sy_call_t *)linux_sys_settimeofday },/* 360 = settimeofday */
795 { ns(struct compat_50_sys_getitimer_args), SYCALL_ARG_PTR, 795 { ns(struct compat_50_sys_getitimer_args), SYCALL_ARG_PTR,
796 (sy_call_t *)compat_50_sys_getitimer },/* 361 = getitimer */ 796 (sy_call_t *)compat_50_sys_getitimer },/* 361 = getitimer */
797 { ns(struct compat_50_sys_setitimer_args), SYCALL_ARG_PTR, 797 { ns(struct compat_50_sys_setitimer_args), SYCALL_ARG_PTR,
798 (sy_call_t *)compat_50_sys_setitimer },/* 362 = setitimer */ 798 (sy_call_t *)compat_50_sys_setitimer },/* 362 = setitimer */
799 { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR, 799 { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR,
800 (sy_call_t *)linux_sys_utimes }, /* 363 = utimes */ 800 (sy_call_t *)linux_sys_utimes }, /* 363 = utimes */
801 { ns(struct compat_50_sys_getrusage_args), SYCALL_ARG_PTR, 801 { ns(struct compat_50_sys_getrusage_args), SYCALL_ARG_PTR,
802 (sy_call_t *)compat_50_sys_getrusage },/* 364 = getrusage */ 802 (sy_call_t *)compat_50_sys_getrusage },/* 364 = getrusage */
803 { ns(struct linux_sys_wait4_args), SYCALL_ARG_PTR, 803 { ns(struct linux_sys_wait4_args), SYCALL_ARG_PTR,
804 (sy_call_t *)linux_sys_wait4 }, /* 365 = wait4 */ 804 (sy_call_t *)linux_sys_wait4 }, /* 365 = wait4 */
805 { 0, 0, 0, 805 { 0, 0, 0,
806 linux_sys_nosys }, /* 366 = unimplemented adjtimex */ 806 linux_sys_nosys }, /* 366 = unimplemented adjtimex */
807 { ns(struct sys___getcwd_args), SYCALL_ARG_PTR, 807 { ns(struct sys___getcwd_args), SYCALL_ARG_PTR,

cvs diff -r1.87 -r1.88 src/sys/compat/linux/arch/alpha/linux_syscallargs.h (expand / switch to unified diff)

--- src/sys/compat/linux/arch/alpha/linux_syscallargs.h 2013/12/27 14:17:32 1.87
+++ src/sys/compat/linux/arch/alpha/linux_syscallargs.h 2014/01/13 10:33:23 1.88
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: linux_syscallargs.h,v 1.87 2013/12/27 14:17:32 njoly Exp $ */ 1/* $NetBSD: linux_syscallargs.h,v 1.88 2014/01/13 10:33:23 njoly Exp $ */
2 2
3/* 3/*
4 * System call argument lists. 4 * System call argument lists.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
8 */ 8 */
9 9
10#ifndef _LINUX_SYS_SYSCALLARGS_H_ 10#ifndef _LINUX_SYS_SYSCALLARGS_H_
11#define _LINUX_SYS_SYSCALLARGS_H_ 11#define _LINUX_SYS_SYSCALLARGS_H_
12 12
13#define LINUX_SYS_MAXSYSARGS 8 13#define LINUX_SYS_MAXSYSARGS 8
14 14
15#undef syscallarg 15#undef syscallarg
16#define syscallarg(x) \ 16#define syscallarg(x) \
17 union { \ 17 union { \
18 register_t pad; \ 18 register_t pad; \
19 struct { x datum; } le; \ 19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \ 20 struct { /* LINTED zero array dimension */ \
@@ -766,29 +766,37 @@ struct linux_sys_rt_sigsuspend_args { @@ -766,29 +766,37 @@ struct linux_sys_rt_sigsuspend_args {
766 syscallarg(size_t) sigsetsize; 766 syscallarg(size_t) sigsetsize;
767}; 767};
768check_syscall_args(linux_sys_rt_sigsuspend) 768check_syscall_args(linux_sys_rt_sigsuspend)
769 769
770struct linux_sys_select_args { 770struct linux_sys_select_args {
771 syscallarg(int) nfds; 771 syscallarg(int) nfds;
772 syscallarg(fd_set *) readfds; 772 syscallarg(fd_set *) readfds;
773 syscallarg(fd_set *) writefds; 773 syscallarg(fd_set *) writefds;
774 syscallarg(fd_set *) exceptfds; 774 syscallarg(fd_set *) exceptfds;
775 syscallarg(struct timeval50 *) timeout; 775 syscallarg(struct timeval50 *) timeout;
776}; 776};
777check_syscall_args(linux_sys_select) 777check_syscall_args(linux_sys_select)
778 778
779struct compat_50_sys_gettimeofday_args; 779struct linux_sys_gettimeofday_args {
 780 syscallarg(struct timeval50 *) tp;
 781 syscallarg(struct timezone *) tzp;
 782};
 783check_syscall_args(linux_sys_gettimeofday)
780 784
781struct compat_50_sys_settimeofday_args; 785struct linux_sys_settimeofday_args {
 786 syscallarg(struct timeval50 *) tp;
 787 syscallarg(struct timezone *) tzp;
 788};
 789check_syscall_args(linux_sys_settimeofday)
782 790
783struct compat_50_sys_getitimer_args; 791struct compat_50_sys_getitimer_args;
784 792
785struct compat_50_sys_setitimer_args; 793struct compat_50_sys_setitimer_args;
786 794
787struct linux_sys_utimes_args { 795struct linux_sys_utimes_args {
788 syscallarg(char *) path; 796 syscallarg(char *) path;
789 syscallarg(struct linux_timeval *) times; 797 syscallarg(struct linux_timeval *) times;
790}; 798};
791check_syscall_args(linux_sys_utimes) 799check_syscall_args(linux_sys_utimes)
792 800
793struct compat_50_sys_getrusage_args; 801struct compat_50_sys_getrusage_args;
794 802
@@ -1459,29 +1467,29 @@ int linux_sys_rt_sigaction(struct lwp *, @@ -1459,29 +1467,29 @@ int linux_sys_rt_sigaction(struct lwp *,
1459 1467
1460int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *); 1468int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *);
1461 1469
1462int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *); 1470int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *);
1463 1471
1464int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *); 1472int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *);
1465 1473
1466int linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *); 1474int linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *);
1467 1475
1468int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *); 1476int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *);
1469 1477
1470int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *); 1478int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *);
1471 1479
1472int compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *); 1480int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *);
1473 1481
1474int compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *); 1482int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *);
1475 1483
1476int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *); 1484int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
1477 1485
1478int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *); 1486int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
1479 1487
1480int linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_args *, register_t *); 1488int linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_args *, register_t *);
1481 1489
1482int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *); 1490int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
1483 1491
1484int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *); 1492int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *);
1485 1493
1486int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *); 1494int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
1487 1495

cvs diff -r1.89 -r1.90 src/sys/compat/linux/arch/alpha/linux_syscalls.c (expand / switch to unified diff)

--- src/sys/compat/linux/arch/alpha/linux_syscalls.c 2013/12/27 14:17:32 1.89
+++ src/sys/compat/linux/arch/alpha/linux_syscalls.c 2014/01/13 10:33:23 1.90
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: linux_syscalls.c,v 1.89 2013/12/27 14:17:32 njoly Exp $ */ 1/* $NetBSD: linux_syscalls.c,v 1.90 2014/01/13 10:33:23 njoly Exp $ */
2 2
3/* 3/*
4 * System call names. 4 * System call names.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.89 2013/12/27 14:17:32 njoly Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.90 2014/01/13 10:33:23 njoly Exp $");
12 12
13#if defined(_KERNEL_OPT) 13#if defined(_KERNEL_OPT)
14#if defined(_KERNEL_OPT) 14#if defined(_KERNEL_OPT)
15#include "opt_sysv.h" 15#include "opt_sysv.h"
16#endif 16#endif
17#include <sys/param.h> 17#include <sys/param.h>
18#include <sys/poll.h> 18#include <sys/poll.h>
19#include <sys/systm.h> 19#include <sys/systm.h>
20#include <sys/signal.h> 20#include <sys/signal.h>
21#include <sys/mount.h> 21#include <sys/mount.h>
22#include <sys/syscallargs.h> 22#include <sys/syscallargs.h>
23#include <compat/linux/common/linux_types.h> 23#include <compat/linux/common/linux_types.h>
24#include <compat/linux/common/linux_signal.h> 24#include <compat/linux/common/linux_signal.h>