Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat Regen for dup/dup2/dup3 argument types fix.
details: https://anonhg.NetBSD.org/src/rev/4157e4da31a5
branches: trunk
changeset: 791185:4157e4da31a5
user: njoly <njoly%NetBSD.org@localhost>
date: Thu Nov 07 19:39:57 2013 +0000
description:
Regen for dup/dup2/dup3 argument types fix.
diffstat:
sys/compat/freebsd/freebsd_syscall.h | 8 +-
sys/compat/freebsd/freebsd_syscallargs.h | 4 +-
sys/compat/freebsd/freebsd_syscalls.c | 6 +-
sys/compat/freebsd/freebsd_sysent.c | 314 ++++++++++----------
sys/compat/ibcs2/ibcs2_syscall.h | 6 +-
sys/compat/ibcs2/ibcs2_syscallargs.h | 4 +-
sys/compat/ibcs2/ibcs2_syscalls.c | 6 +-
sys/compat/ibcs2/ibcs2_sysent.c | 6 +-
sys/compat/linux/arch/amd64/linux_syscall.h | 8 +-
sys/compat/linux/arch/amd64/linux_syscallargs.h | 4 +-
sys/compat/linux/arch/amd64/linux_syscalls.c | 6 +-
sys/compat/linux/arch/amd64/linux_sysent.c | 6 +-
sys/compat/linux/arch/arm/linux_syscall.h | 8 +-
sys/compat/linux/arch/arm/linux_syscallargs.h | 4 +-
sys/compat/linux/arch/arm/linux_syscalls.c | 6 +-
sys/compat/linux/arch/arm/linux_sysent.c | 6 +-
sys/compat/linux/arch/i386/linux_syscall.h | 10 +-
sys/compat/linux/arch/i386/linux_syscallargs.h | 8 +-
sys/compat/linux/arch/i386/linux_syscalls.c | 6 +-
sys/compat/linux/arch/i386/linux_sysent.c | 6 +-
sys/compat/linux/arch/m68k/linux_syscall.h | 8 +-
sys/compat/linux/arch/m68k/linux_syscallargs.h | 4 +-
sys/compat/linux/arch/m68k/linux_syscalls.c | 6 +-
sys/compat/linux/arch/m68k/linux_sysent.c | 6 +-
sys/compat/linux/arch/mips/linux_syscall.h | 8 +-
sys/compat/linux/arch/mips/linux_syscallargs.h | 4 +-
sys/compat/linux/arch/mips/linux_syscalls.c | 6 +-
sys/compat/linux/arch/mips/linux_sysent.c | 6 +-
sys/compat/linux/arch/powerpc/linux_syscall.h | 8 +-
sys/compat/linux/arch/powerpc/linux_syscallargs.h | 4 +-
sys/compat/linux/arch/powerpc/linux_syscalls.c | 6 +-
sys/compat/linux/arch/powerpc/linux_sysent.c | 6 +-
sys/compat/linux32/arch/amd64/linux32_syscall.h | 6 +-
sys/compat/linux32/arch/amd64/linux32_syscallargs.h | 4 +-
sys/compat/linux32/arch/amd64/linux32_syscalls.c | 6 +-
sys/compat/linux32/arch/amd64/linux32_sysent.c | 30 +-
sys/compat/osf1/osf1_syscall.h | 8 +-
sys/compat/osf1/osf1_syscallargs.h | 6 +-
sys/compat/osf1/osf1_syscalls.c | 251 +++++++++++++++-
sys/compat/osf1/osf1_sysent.c | 184 +++++-----
sys/compat/sunos/sunos_syscall.h | 8 +-
sys/compat/sunos/sunos_syscallargs.h | 6 +-
sys/compat/sunos/sunos_syscalls.c | 72 ++++-
sys/compat/sunos/sunos_sysent.c | 186 +++++-----
sys/compat/sunos32/sunos32_syscall.h | 8 +-
sys/compat/sunos32/sunos32_syscallargs.h | 6 +-
sys/compat/sunos32/sunos32_syscalls.c | 72 ++++-
sys/compat/sunos32/sunos32_sysent.c | 6 +-
sys/compat/svr4/svr4_syscall.h | 6 +-
sys/compat/svr4/svr4_syscallargs.h | 6 +-
sys/compat/svr4/svr4_syscalls.c | 6 +-
sys/compat/svr4/svr4_sysent.c | 220 +++++++-------
sys/compat/svr4_32/svr4_32_syscall.h | 6 +-
sys/compat/svr4_32/svr4_32_syscallargs.h | 6 +-
sys/compat/svr4_32/svr4_32_syscalls.c | 6 +-
sys/compat/svr4_32/svr4_32_sysent.c | 8 +-
sys/compat/ultrix/ultrix_syscall.h | 8 +-
sys/compat/ultrix/ultrix_syscallargs.h | 6 +-
sys/compat/ultrix/ultrix_syscalls.c | 260 ++++++++++++++++-
sys/compat/ultrix/ultrix_sysent.c | 180 +++++-----
60 files changed, 1356 insertions(+), 725 deletions(-)
diffs (truncated from 4644 to 300 lines):
diff -r 879c12f9fec4 -r 4157e4da31a5 sys/compat/freebsd/freebsd_syscall.h
--- a/sys/compat/freebsd/freebsd_syscall.h Thu Nov 07 19:37:18 2013 +0000
+++ b/sys/compat/freebsd/freebsd_syscall.h Thu Nov 07 19:39:57 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscall.h,v 1.78 2012/03/10 21:51:57 joerg Exp $ */
+/* $NetBSD: freebsd_syscall.h,v 1.79 2013/11/07 19:39:57 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.64.6.1 2011/02/08 21:46:53 bouyer Exp
+ * created from NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
*/
#ifndef _FREEBSD_SYS_SYSCALL_H_
@@ -133,7 +133,7 @@
/* syscall: "lstat43" ret: "int" args: "const char *" "struct stat43 *" */
#define FREEBSD_SYS_lstat43 40
-/* syscall: "dup" ret: "int" args: "u_int" */
+/* syscall: "dup" ret: "int" args: "int" */
#define FREEBSD_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
@@ -276,7 +276,7 @@
/* syscall: "ogetdtablesize" ret: "int" args: */
#define FREEBSD_SYS_ogetdtablesize 89
-/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
+/* syscall: "dup2" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_dup2 90
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
diff -r 879c12f9fec4 -r 4157e4da31a5 sys/compat/freebsd/freebsd_syscallargs.h
--- a/sys/compat/freebsd/freebsd_syscallargs.h Thu Nov 07 19:37:18 2013 +0000
+++ b/sys/compat/freebsd/freebsd_syscallargs.h Thu Nov 07 19:39:57 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscallargs.h,v 1.81 2012/03/10 21:51:57 joerg Exp $ */
+/* $NetBSD: freebsd_syscallargs.h,v 1.82 2013/11/07 19:39:57 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.64.6.1 2011/02/08 21:46:53 bouyer Exp
+ * created from NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
*/
#ifndef _FREEBSD_SYS_SYSCALLARGS_H_
diff -r 879c12f9fec4 -r 4157e4da31a5 sys/compat/freebsd/freebsd_syscalls.c
--- a/sys/compat/freebsd/freebsd_syscalls.c Thu Nov 07 19:37:18 2013 +0000
+++ b/sys/compat/freebsd/freebsd_syscalls.c Thu Nov 07 19:39:57 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_syscalls.c,v 1.78 2012/03/10 21:51:57 joerg Exp $ */
+/* $NetBSD: freebsd_syscalls.c,v 1.79 2013/11/07 19:39:57 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.64.6.1 2011/02/08 21:46:53 bouyer Exp
+ * created from NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.78 2012/03/10 21:51:57 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.79 2013/11/07 19:39:57 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
diff -r 879c12f9fec4 -r 4157e4da31a5 sys/compat/freebsd/freebsd_sysent.c
--- a/sys/compat/freebsd/freebsd_sysent.c Thu Nov 07 19:37:18 2013 +0000
+++ b/sys/compat/freebsd/freebsd_sysent.c Thu Nov 07 19:39:57 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_sysent.c,v 1.80 2012/03/10 21:51:57 joerg Exp $ */
+/* $NetBSD: freebsd_sysent.c,v 1.81 2013/11/07 19:39:57 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.64.6.1 2011/02/08 21:46:53 bouyer Exp
+ * created from NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.80 2012/03/10 21:51:57 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.81 2013/11/07 19:39:57 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@@ -37,45 +37,45 @@
(sy_call_t *)sys_exit }, /* 1 = exit */
{ 0, 0, 0,
(sy_call_t *)sys_fork }, /* 2 = fork */
- { ns(struct sys_read_args), 0,
+ { ns(struct sys_read_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_read }, /* 3 = read */
- { ns(struct sys_write_args), 0,
+ { ns(struct sys_write_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_write }, /* 4 = write */
- { ns(struct sys_open_args), 0,
+ { ns(struct sys_open_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_open }, /* 5 = open */
{ ns(struct sys_close_args), 0,
(sy_call_t *)sys_close }, /* 6 = close */
- { ns(struct compat_50_sys_wait4_args), 0,
+ { ns(struct compat_50_sys_wait4_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_50_sys_wait4 }, /* 7 = wait4 */
- { ns(struct compat_43_sys_creat_args), 0,
+ { ns(struct compat_43_sys_creat_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_creat }, /* 8 = ocreat */
- { ns(struct sys_link_args), 0,
+ { ns(struct sys_link_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_link }, /* 9 = link */
- { ns(struct sys_unlink_args), 0,
+ { ns(struct sys_unlink_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_unlink }, /* 10 = unlink */
{ 0, 0, 0,
sys_nosys }, /* 11 = obsolete execv */
- { ns(struct sys_chdir_args), 0,
+ { ns(struct sys_chdir_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chdir }, /* 12 = chdir */
{ ns(struct sys_fchdir_args), 0,
(sy_call_t *)sys_fchdir }, /* 13 = fchdir */
- { ns(struct compat_50_sys_mknod_args), 0,
+ { ns(struct compat_50_sys_mknod_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_50_sys_mknod }, /* 14 = mknod */
- { ns(struct sys_chmod_args), 0,
+ { ns(struct sys_chmod_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chmod }, /* 15 = chmod */
- { ns(struct sys_chown_args), 0,
+ { ns(struct sys_chown_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chown }, /* 16 = chown */
- { ns(struct sys_obreak_args), 0,
+ { ns(struct sys_obreak_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_obreak }, /* 17 = break */
- { ns(struct compat_20_sys_getfsstat_args), 0,
+ { ns(struct compat_20_sys_getfsstat_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_20_sys_getfsstat },/* 18 = getfsstat */
{ ns(struct compat_43_sys_lseek_args), 0,
(sy_call_t *)compat_43_sys_lseek }, /* 19 = olseek */
{ 0, 0, 0,
(sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid_with_ppid */
- { ns(struct freebsd_sys_mount_args), 0,
+ { ns(struct freebsd_sys_mount_args), SYCALL_ARG_PTR,
(sy_call_t *)freebsd_sys_mount }, /* 21 = mount */
- { ns(struct sys_unmount_args), 0,
+ { ns(struct sys_unmount_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_unmount }, /* 22 = unmount */
{ ns(struct sys_setuid_args), 0,
(sy_call_t *)sys_setuid }, /* 23 = setuid */
@@ -83,23 +83,23 @@
(sy_call_t *)sys_getuid_with_euid },/* 24 = getuid_with_euid */
{ 0, 0, 0,
(sy_call_t *)sys_geteuid }, /* 25 = geteuid */
- { ns(struct freebsd_sys_ptrace_args), 0,
+ { ns(struct freebsd_sys_ptrace_args), SYCALL_ARG_PTR,
(sy_call_t *)freebsd_sys_ptrace }, /* 26 = ptrace */
- { ns(struct sys_recvmsg_args), 0,
+ { ns(struct sys_recvmsg_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */
- { ns(struct sys_sendmsg_args), 0,
+ { ns(struct sys_sendmsg_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */
- { ns(struct sys_recvfrom_args), 0,
+ { ns(struct sys_recvfrom_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */
- { ns(struct sys_accept_args), 0,
+ { ns(struct sys_accept_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_accept }, /* 30 = accept */
- { ns(struct sys_getpeername_args), 0,
+ { ns(struct sys_getpeername_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_getpeername }, /* 31 = getpeername */
- { ns(struct sys_getsockname_args), 0,
+ { ns(struct sys_getsockname_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_getsockname }, /* 32 = getsockname */
- { ns(struct sys_access_args), 0,
+ { ns(struct sys_access_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_access }, /* 33 = access */
- { ns(struct sys_chflags_args), 0,
+ { ns(struct sys_chflags_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chflags }, /* 34 = chflags */
{ ns(struct sys_fchflags_args), 0,
(sy_call_t *)sys_fchflags }, /* 35 = fchflags */
@@ -107,11 +107,11 @@
(sy_call_t *)sys_sync }, /* 36 = sync */
{ ns(struct sys_kill_args), 0,
(sy_call_t *)sys_kill }, /* 37 = kill */
- { ns(struct compat_43_sys_stat_args), 0,
+ { ns(struct compat_43_sys_stat_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_stat }, /* 38 = stat43 */
{ 0, 0, 0,
(sy_call_t *)sys_getppid }, /* 39 = getppid */
- { ns(struct compat_43_sys_lstat_args), 0,
+ { ns(struct compat_43_sys_lstat_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_lstat }, /* 40 = lstat43 */
{ ns(struct sys_dup_args), 0,
(sy_call_t *)sys_dup }, /* 41 = dup */
@@ -119,54 +119,54 @@
(sy_call_t *)sys_pipe }, /* 42 = pipe */
{ 0, 0, 0,
(sy_call_t *)sys_getegid }, /* 43 = getegid */
- { ns(struct sys_profil_args), 0,
+ { ns(struct sys_profil_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_profil }, /* 44 = profil */
#ifdef KTRACE
- { ns(struct sys_ktrace_args), 0,
+ { ns(struct sys_ktrace_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_ktrace }, /* 45 = ktrace */
#else
{ 0, 0, 0,
sys_nosys }, /* 45 = excluded ktrace */
#endif
- { ns(struct compat_13_sys_sigaction_args), 0,
+ { ns(struct compat_13_sys_sigaction_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_13_sys_sigaction },/* 46 = sigaction */
{ 0, 0, 0,
(sy_call_t *)sys_getgid_with_egid },/* 47 = getgid_with_egid */
{ ns(struct compat_13_sys_sigprocmask_args), 0,
(sy_call_t *)compat_13_sys_sigprocmask },/* 48 = sigprocmask */
- { ns(struct sys___getlogin_args), 0,
+ { ns(struct sys___getlogin_args), SYCALL_ARG_PTR,
(sy_call_t *)sys___getlogin }, /* 49 = __getlogin */
- { ns(struct sys___setlogin_args), 0,
+ { ns(struct sys___setlogin_args), SYCALL_ARG_PTR,
(sy_call_t *)sys___setlogin }, /* 50 = __setlogin */
- { ns(struct sys_acct_args), 0,
+ { ns(struct sys_acct_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_acct }, /* 51 = acct */
{ 0, 0, 0,
(sy_call_t *)compat_13_sys_sigpending },/* 52 = sigpending */
- { ns(struct compat_13_sys_sigaltstack_args), 0,
+ { ns(struct compat_13_sys_sigaltstack_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_13_sys_sigaltstack },/* 53 = sigaltstack */
- { ns(struct freebsd_sys_ioctl_args), 0,
+ { ns(struct freebsd_sys_ioctl_args), SYCALL_ARG_PTR,
(sy_call_t *)freebsd_sys_ioctl }, /* 54 = ioctl */
{ ns(struct sys_reboot_args), 0,
(sy_call_t *)sys_reboot }, /* 55 = oreboot */
- { ns(struct sys_revoke_args), 0,
+ { ns(struct sys_revoke_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_revoke }, /* 56 = revoke */
- { ns(struct sys_symlink_args), 0,
+ { ns(struct sys_symlink_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_symlink }, /* 57 = symlink */
- { ns(struct sys_readlink_args), 0,
+ { ns(struct sys_readlink_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_readlink }, /* 58 = readlink */
- { ns(struct sys_execve_args), 0,
+ { ns(struct sys_execve_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_execve }, /* 59 = execve */
{ ns(struct sys_umask_args), 0,
(sy_call_t *)sys_umask }, /* 60 = umask */
- { ns(struct sys_chroot_args), 0,
+ { ns(struct sys_chroot_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chroot }, /* 61 = chroot */
- { ns(struct compat_43_sys_fstat_args), 0,
+ { ns(struct compat_43_sys_fstat_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_fstat }, /* 62 = fstat43 */
- { ns(struct compat_43_sys_getkerninfo_args), 0,
+ { ns(struct compat_43_sys_getkerninfo_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_getkerninfo },/* 63 = ogetkerninfo */
{ 0, 0, 0,
(sy_call_t *)compat_43_sys_getpagesize },/* 64 = ogetpagesize */
- { ns(struct freebsd_sys_msync_args), 0,
+ { ns(struct freebsd_sys_msync_args), SYCALL_ARG_PTR,
(sy_call_t *)freebsd_sys_msync }, /* 65 = msync */
{ 0, 0, 0,
(sy_call_t *)sys_vfork }, /* 66 = vfork */
@@ -178,41 +178,41 @@
(sy_call_t *)sys_sbrk }, /* 69 = sbrk */
{ ns(struct sys_sstk_args), 0,
(sy_call_t *)sys_sstk }, /* 70 = sstk */
- { ns(struct compat_43_sys_mmap_args), 0,
+ { ns(struct compat_43_sys_mmap_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_mmap }, /* 71 = ommap */
{ ns(struct sys_ovadvise_args), 0,
(sy_call_t *)sys_ovadvise }, /* 72 = vadvise */
- { ns(struct sys_munmap_args), 0,
+ { ns(struct sys_munmap_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_munmap }, /* 73 = munmap */
- { ns(struct sys_mprotect_args), 0,
+ { ns(struct sys_mprotect_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_mprotect }, /* 74 = mprotect */
- { ns(struct sys_madvise_args), 0,
+ { ns(struct sys_madvise_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_madvise }, /* 75 = madvise */
{ 0, 0, 0,
sys_nosys }, /* 76 = obsolete vhangup */
{ 0, 0, 0,
sys_nosys }, /* 77 = obsolete vlimit */
- { ns(struct sys_mincore_args), 0,
+ { ns(struct sys_mincore_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_mincore }, /* 78 = mincore */
- { ns(struct sys_getgroups_args), 0,
+ { ns(struct sys_getgroups_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_getgroups }, /* 79 = getgroups */
- { ns(struct sys_setgroups_args), 0,
Home |
Main Index |
Thread Index |
Old Index