diff options
Diffstat (limited to 'sys')
36 files changed, 2533 insertions, 2533 deletions
diff --git a/sys/compat/bsdos/bsdos_syscall.h b/sys/compat/bsdos/bsdos_syscall.h index 3c5fa4b56bc..37bc98abef7 100644 --- a/sys/compat/bsdos/bsdos_syscall.h +++ b/sys/compat/bsdos/bsdos_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bsdos_syscall.h,v 1.18 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: bsdos_syscall.h,v 1.19 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/bsdos/bsdos_syscallargs.h b/sys/compat/bsdos/bsdos_syscallargs.h index 2d6fdbf4a12..2977b4cb46e 100644 --- a/sys/compat/bsdos/bsdos_syscallargs.h +++ b/sys/compat/bsdos/bsdos_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bsdos_syscallargs.h,v 1.19 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: bsdos_syscallargs.h,v 1.20 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/bsdos/bsdos_syscalls.c b/sys/compat/bsdos/bsdos_syscalls.c index f2807bc2c09..463db61b86c 100644 --- a/sys/compat/bsdos/bsdos_syscalls.c +++ b/sys/compat/bsdos/bsdos_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bsdos_syscalls.c,v 1.18 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: bsdos_syscalls.c,v 1.19 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/bsdos/bsdos_sysent.c b/sys/compat/bsdos/bsdos_sysent.c index fbd3a79eb09..a653f8353d8 100644 --- a/sys/compat/bsdos/bsdos_sysent.c +++ b/sys/compat/bsdos/bsdos_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bsdos_sysent.c,v 1.18 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: bsdos_sysent.c,v 1.19 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -17,536 +17,536 @@ #define s(type) sizeof(type) struct sysent bsdos_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct sys_open_args), + { 3, s(struct sys_open_args), 0, sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 4, s(struct sys_wait4_args), + { 4, s(struct sys_wait4_args), 0, sys_wait4 }, /* 7 = wait4 */ - { 2, s(struct compat_43_sys_creat_args), + { 2, s(struct compat_43_sys_creat_args), 0, compat_43_sys_creat }, /* 8 = ocreat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct sys_unlink_args), + { 1, s(struct sys_unlink_args), 0, sys_unlink }, /* 10 = unlink */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 11 = obsolete execv */ - { 1, s(struct sys_chdir_args), + { 1, s(struct sys_chdir_args), 0, sys_chdir }, /* 12 = chdir */ - { 1, s(struct sys_fchdir_args), + { 1, s(struct sys_fchdir_args), 0, sys_fchdir }, /* 13 = fchdir */ - { 3, s(struct sys_mknod_args), + { 3, s(struct sys_mknod_args), 0, sys_mknod }, /* 14 = mknod */ - { 2, s(struct sys_chmod_args), + { 2, s(struct sys_chmod_args), 0, sys_chmod }, /* 15 = chmod */ - { 3, s(struct sys_chown_args), + { 3, s(struct sys_chown_args), 0, sys_chown }, /* 16 = chown */ - { 1, s(struct sys_obreak_args), + { 1, s(struct sys_obreak_args), 0, sys_obreak }, /* 17 = break */ - { 3, s(struct compat_25_sys_getfsstat_args), + { 3, s(struct compat_25_sys_getfsstat_args), 0, compat_25_sys_getfsstat }, /* 18 = getfsstat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43_sys_lseek }, /* 19 = olseek */ - { 0, 0, + { 0, 0, 0, sys_getpid }, /* 20 = getpid */ - { 4, s(struct sys_mount_args), + { 4, s(struct sys_mount_args), 0, sys_mount }, /* 21 = mount */ - { 2, s(struct sys_unmount_args), + { 2, s(struct sys_unmount_args), 0, sys_unmount }, /* 22 = unmount */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 0, 0, + { 0, 0, 0, sys_geteuid }, /* 25 = geteuid */ #ifdef PTRACE - { 4, s(struct sys_ptrace_args), + { 4, s(struct sys_ptrace_args), 0, sys_ptrace }, /* 26 = ptrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ptrace */ #endif - { 3, s(struct sys_recvmsg_args), + { 3, s(struct sys_recvmsg_args), 0, sys_recvmsg }, /* 27 = recvmsg */ - { 3, s(struct sys_sendmsg_args), + { 3, s(struct sys_sendmsg_args), 0, sys_sendmsg }, /* 28 = sendmsg */ - { 6, s(struct sys_recvfrom_args), + { 6, s(struct sys_recvfrom_args), 0, sys_recvfrom }, /* 29 = recvfrom */ - { 3, s(struct sys_accept_args), + { 3, s(struct sys_accept_args), 0, sys_accept }, /* 30 = accept */ - { 3, s(struct sys_getpeername_args), + { 3, s(struct sys_getpeername_args), 0, sys_getpeername }, /* 31 = getpeername */ - { 3, s(struct sys_getsockname_args), + { 3, s(struct sys_getsockname_args), 0, sys_getsockname }, /* 32 = getsockname */ - { 2, s(struct sys_access_args), + { 2, s(struct sys_access_args), 0, sys_access }, /* 33 = access */ - { 2, s(struct sys_chflags_args), + { 2, s(struct sys_chflags_args), 0, sys_chflags }, /* 34 = chflags */ - { 2, s(struct sys_fchflags_args), + { 2, s(struct sys_fchflags_args), 0, sys_fchflags }, /* 35 = fchflags */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct sys_kill_args), + { 2, s(struct sys_kill_args), 0, sys_kill }, /* 37 = kill */ - { 2, s(struct compat_43_sys_stat_args), + { 2, s(struct compat_43_sys_stat_args), 0, compat_43_sys_stat }, /* 38 = stat43 */ - { 0, 0, + { 0, 0, 0, sys_getppid }, /* 39 = getppid */ - { 2, s(struct compat_43_sys_lstat_args), + { 2, s(struct compat_43_sys_lstat_args), 0, compat_43_sys_lstat }, /* 40 = lstat43 */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_opipe }, /* 42 = opipe */ - { 0, 0, + { 0, 0, 0, sys_getegid }, /* 43 = getegid */ - { 4, s(struct sys_profil_args), + { 4, s(struct sys_profil_args), 0, sys_profil }, /* 44 = profil */ #ifdef KTRACE - { 4, s(struct sys_ktrace_args), + { 4, s(struct sys_ktrace_args), 0, sys_ktrace }, /* 45 = ktrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 45 = unimplemented ktrace */ #endif - { 3, s(struct sys_sigaction_args), + { 3, s(struct sys_sigaction_args), 0, sys_sigaction }, /* 46 = sigaction */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 2, s(struct sys_sigprocmask_args), + { 2, s(struct sys_sigprocmask_args), 0, sys_sigprocmask }, /* 48 = sigprocmask */ - { 2, s(struct sys_getlogin_args), + { 2, s(struct sys_getlogin_args), 0, sys_getlogin }, /* 49 = getlogin */ - { 1, s(struct sys_setlogin_args), + { 1, s(struct sys_setlogin_args), 0, sys_setlogin }, /* 50 = setlogin */ #ifdef ACCOUNTING - { 1, s(struct sys_acct_args), + { 1, s(struct sys_acct_args), 0, sys_acct }, /* 51 = acct */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #endif - { 0, 0, + { 0, 0, 0, sys_sigpending }, /* 52 = sigpending */ - { 2, s(struct sys_osigaltstack_args), + { 2, s(struct sys_osigaltstack_args), 0, sys_osigaltstack }, /* 53 = osigaltstack */ - { 3, s(struct bsdos_sys_ioctl_args), + { 3, s(struct bsdos_sys_ioctl_args), 0, bsdos_sys_ioctl }, /* 54 = ioctl */ - { 1, s(struct sys_reboot_args), + { 1, s(struct sys_reboot_args), 0, sys_reboot }, /* 55 = reboot */ - { 1, s(struct sys_revoke_args), + { 1, s(struct sys_revoke_args), 0, sys_revoke }, /* 56 = revoke */ - { 2, s(struct sys_symlink_args), + { 2, s(struct sys_symlink_args), 0, sys_symlink }, /* 57 = symlink */ - { 3, s(struct sys_readlink_args), + { 3, s(struct sys_readlink_args), 0, sys_readlink }, /* 58 = readlink */ - { 3, s(struct sys_execve_args), + { 3, s(struct sys_execve_args), 0, sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 2, s(struct compat_43_sys_fstat_args), + { 2, s(struct compat_43_sys_fstat_args), 0, compat_43_sys_fstat }, /* 62 = fstat43 */ - { 4, s(struct compat_43_sys_getkerninfo_args), + { 4, s(struct compat_43_sys_getkerninfo_args), 0, compat_43_sys_getkerninfo }, /* 63 = ogetkerninfo */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getpagesize }, /* 64 = ogetpagesize */ - { 3, s(struct sys_msync_args), + { 3, s(struct sys_msync_args), 0, sys_msync }, /* 65 = msync */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 66 = vfork */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 67 = obsolete vread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 68 = obsolete vwrite */ - { 1, s(struct sys_sbrk_args), + { 1, s(struct sys_sbrk_args), 0, sys_sbrk }, /* 69 = sbrk */ - { 1, s(struct sys_sstk_args), + { 1, s(struct sys_sstk_args), 0, sys_sstk }, /* 70 = sstk */ - { 6, s(struct compat_43_sys_mmap_args), + { 6, s(struct compat_43_sys_mmap_args), 0, compat_43_sys_mmap }, /* 71 = ommap */ - { 1, s(struct sys_ovadvise_args), + { 1, s(struct sys_ovadvise_args), 0, sys_ovadvise }, /* 72 = vadvise */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 73 = munmap */ - { 3, s(struct sys_mprotect_args), + { 3, s(struct sys_mprotect_args), 0, sys_mprotect }, /* 74 = mprotect */ - { 3, s(struct sys_madvise_args), + { 3, s(struct sys_madvise_args), 0, sys_madvise }, /* 75 = madvise */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 76 = obsolete vhangup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = obsolete vlimit */ - { 3, s(struct sys_mincore_args), + { 3, s(struct sys_mincore_args), 0, sys_mincore }, /* 78 = mincore */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 79 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 80 = setgroups */ - { 0, 0, + { 0, 0, 0, sys_getpgrp }, /* 81 = getpgrp */ - { 2, s(struct sys_setpgid_args), + { 2, s(struct sys_setpgid_args), 0, sys_setpgid }, /* 82 = setpgid */ - { 3, s(struct sys_setitimer_args), + { 3, s(struct sys_setitimer_args), 0, sys_setitimer }, /* 83 = setitimer */ - { 0, 0, + { 0, 0, 0, compat_43_sys_wait }, /* 84 = owait */ - { 1, s(struct compat_25_sys_swapon_args), + { 1, s(struct compat_25_sys_swapon_args), 0, compat_25_sys_swapon }, /* 85 = swapon */ - { 2, s(struct sys_getitimer_args), + { 2, s(struct sys_getitimer_args), 0, sys_getitimer }, /* 86 = getitimer */ - { 2, s(struct compat_43_sys_gethostname_args), + { 2, s(struct compat_43_sys_gethostname_args), 0, compat_43_sys_gethostname }, /* 87 = ogethostname */ - { 2, s(struct compat_43_sys_sethostname_args), + { 2, s(struct compat_43_sys_sethostname_args), 0, compat_43_sys_sethostname }, /* 88 = osethostname */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getdtablesize }, /* 89 = ogetdtablesize */ - { 2, s(struct sys_dup2_args), + { 2, s(struct sys_dup2_args), 0, sys_dup2 }, /* 90 = dup2 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 91 = unimplemented getdopt */ - { 3, s(struct sys_fcntl_args), + { 3, s(struct sys_fcntl_args), 0, sys_fcntl }, /* 92 = fcntl */ - { 5, s(struct sys_select_args), + { 5, s(struct sys_select_args), 0, sys_select }, /* 93 = select */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 94 = unimplemented setdopt */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 95 = fsync */ - { 3, s(struct sys_setpriority_args), + { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 96 = setpriority */ - { 3, s(struct sys_socket_args), + { 3, s(struct sys_socket_args), 0, sys_socket }, /* 97 = socket */ - { 3, s(struct sys_connect_args), + { 3, s(struct sys_connect_args), 0, sys_connect }, /* 98 = connect */ - { 3, s(struct compat_43_sys_accept_args), + { 3, s(struct compat_43_sys_accept_args), 0, compat_43_sys_accept }, /* 99 = oaccept */ - { 2, s(struct sys_getpriority_args), + { 2, s(struct sys_getpriority_args), 0, sys_getpriority }, /* 100 = getpriority */ - { 4, s(struct compat_43_sys_send_args), + { 4, s(struct compat_43_sys_send_args), 0, compat_43_sys_send }, /* 101 = osend */ - { 4, s(struct compat_43_sys_recv_args), + { 4, s(struct compat_43_sys_recv_args), 0, compat_43_sys_recv }, /* 102 = orecv */ - { 1, s(struct sys_sigreturn_args), + { 1, s(struct sys_sigreturn_args), 0, sys_sigreturn }, /* 103 = sigreturn */ - { 3, s(struct sys_bind_args), + { 3, s(struct sys_bind_args), 0, sys_bind }, /* 104 = bind */ - { 5, s(struct sys_setsockopt_args), + { 5, s(struct sys_setsockopt_args), 0, sys_setsockopt }, /* 105 = setsockopt */ - { 2, s(struct sys_listen_args), + { 2, s(struct sys_listen_args), 0, sys_listen }, /* 106 = listen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 107 = obsolete vtimes */ - { 3, s(struct compat_43_sys_sigvec_args), + { 3, s(struct compat_43_sys_sigvec_args), 0, compat_43_sys_sigvec }, /* 108 = osigvec */ - { 1, s(struct compat_43_sys_sigblock_args), + { 1, s(struct compat_43_sys_sigblock_args), 0, compat_43_sys_sigblock }, /* 109 = osigblock */ - { 1, s(struct compat_43_sys_sigsetmask_args), + { 1, s(struct compat_43_sys_sigsetmask_args), 0, compat_43_sys_sigsetmask }, /* 110 = osigsetmask */ - { 1, s(struct sys_sigsuspend_args), + { 1, s(struct sys_sigsuspend_args), 0, sys_sigsuspend }, /* 111 = sigsuspend */ - { 2, s(struct compat_43_sys_sigstack_args), + { 2, s(struct compat_43_sys_sigstack_args), 0, compat_43_sys_sigstack }, /* 112 = osigstack */ - { 3, s(struct compat_43_sys_recvmsg_args), + { 3, s(struct compat_43_sys_recvmsg_args), 0, compat_43_sys_recvmsg }, /* 113 = orecvmsg */ - { 3, s(struct compat_43_sys_sendmsg_args), + { 3, s(struct compat_43_sys_sendmsg_args), 0, compat_43_sys_sendmsg }, /* 114 = osendmsg */ #ifdef TRACE - { 2, s(struct sys_vtrace_args), + { 2, s(struct sys_vtrace_args), 0, sys_vtrace }, /* 115 = vtrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 115 = obsolete vtrace */ #endif - { 2, s(struct sys_gettimeofday_args), + { 2, s(struct sys_gettimeofday_args), 0, sys_gettimeofday }, /* 116 = gettimeofday */ - { 2, s(struct sys_getrusage_args), + { 2, s(struct sys_getrusage_args), 0, sys_getrusage }, /* 117 = getrusage */ - { 5, s(struct sys_getsockopt_args), + { 5, s(struct sys_getsockopt_args), 0, sys_getsockopt }, /* 118 = getsockopt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 119 = obsolete resuba */ - { 3, s(struct sys_readv_args), + { 3, s(struct sys_readv_args), 0, sys_readv }, /* 120 = readv */ - { 3, s(struct sys_writev_args), + { 3, s(struct sys_writev_args), 0, sys_writev }, /* 121 = writev */ - { 2, s(struct sys_settimeofday_args), + { 2, s(struct sys_settimeofday_args), 0, sys_settimeofday }, /* 122 = settimeofday */ - { 3, s(struct sys_fchown_args), + { 3, s(struct sys_fchown_args), 0, sys_fchown }, /* 123 = fchown */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 124 = fchmod */ - { 6, s(struct compat_43_sys_recvfrom_args), + { 6, s(struct compat_43_sys_recvfrom_args), 0, compat_43_sys_recvfrom }, /* 125 = orecvfrom */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 126 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 127 = setregid */ - { 2, s(struct sys_rename_args), + { 2, s(struct sys_rename_args), 0, sys_rename }, /* 128 = rename */ - { 2, s(struct compat_43_sys_truncate_args), + { 2, s(struct compat_43_sys_truncate_args), 0, compat_43_sys_truncate }, /* 129 = otruncate */ - { 2, s(struct compat_43_sys_ftruncate_args), + { 2, s(struct compat_43_sys_ftruncate_args), 0, compat_43_sys_ftruncate }, /* 130 = oftruncate */ - { 2, s(struct sys_flock_args), + { 2, s(struct sys_flock_args), 0, sys_flock }, /* 131 = flock */ - { 2, s(struct sys_mkfifo_args), + { 2, s(struct sys_mkfifo_args), 0, sys_mkfifo }, /* 132 = mkfifo */ - { 6, s(struct sys_sendto_args), + { 6, s(struct sys_sendto_args), 0, sys_sendto }, /* 133 = sendto */ - { 2, s(struct sys_shutdown_args), + { 2, s(struct sys_shutdown_args), 0, sys_shutdown }, /* 134 = shutdown */ - { 4, s(struct sys_socketpair_args), + { 4, s(struct sys_socketpair_args), 0, sys_socketpair }, /* 135 = socketpair */ - { 2, s(struct sys_mkdir_args), + { 2, s(struct sys_mkdir_args), 0, sys_mkdir }, /* 136 = mkdir */ - { 1, s(struct sys_rmdir_args), + { 1, s(struct sys_rmdir_args), 0, sys_rmdir }, /* 137 = rmdir */ - { 2, s(struct sys_utimes_args), + { 2, s(struct sys_utimes_args), 0, sys_utimes }, /* 138 = utimes */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 139 = obsolete 4.2 sigreturn */ - { 2, s(struct sys_adjtime_args), + { 2, s(struct sys_adjtime_args), 0, sys_adjtime }, /* 140 = adjtime */ - { 3, s(struct compat_43_sys_getpeername_args), + { 3, s(struct compat_43_sys_getpeername_args), 0, compat_43_sys_getpeername }, /* 141 = ogetpeername */ - { 0, 0, + { 0, 0, 0, compat_43_sys_gethostid }, /* 142 = ogethostid */ - { 1, s(struct compat_43_sys_sethostid_args), + { 1, s(struct compat_43_sys_sethostid_args), 0, compat_43_sys_sethostid }, /* 143 = osethostid */ - { 2, s(struct compat_43_sys_getrlimit_args), + { 2, s(struct compat_43_sys_getrlimit_args), 0, compat_43_sys_getrlimit }, /* 144 = ogetrlimit */ - { 2, s(struct compat_43_sys_setrlimit_args), + { 2, s(struct compat_43_sys_setrlimit_args), 0, compat_43_sys_setrlimit }, /* 145 = osetrlimit */ - { 2, s(struct compat_43_sys_killpg_args), + { 2, s(struct compat_43_sys_killpg_args), 0, compat_43_sys_killpg }, /* 146 = okillpg */ - { 0, 0, + { 0, 0, 0, sys_setsid }, /* 147 = setsid */ - { 4, s(struct sys_quotactl_args), + { 4, s(struct sys_quotactl_args), 0, sys_quotactl }, /* 148 = quotactl */ - { 0, 0, + { 0, 0, 0, compat_43_sys_quota }, /* 149 = oquota */ - { 3, s(struct compat_43_sys_getsockname_args), + { 3, s(struct compat_43_sys_getsockname_args), 0, compat_43_sys_getsockname }, /* 150 = ogetsockname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented sem_lock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented sem_wakeup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 153 = unimplemented asyncdaemon */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 154 = unimplemented */ #if defined(NFSCLIENT) || defined(NFSSERVER) - { 2, s(struct sys_nfssvc_args), + { 2, s(struct sys_nfssvc_args), 0, sys_nfssvc }, /* 155 = nfssvc */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 155 = unimplemented */ #endif - { 4, s(struct compat_43_sys_getdirentries_args), + { 4, s(struct compat_43_sys_getdirentries_args), 0, compat_43_sys_getdirentries }, /* 156 = ogetdirentries */ - { 2, s(struct compat_25_sys_statfs_args), + { 2, s(struct compat_25_sys_statfs_args), 0, compat_25_sys_statfs }, /* 157 = statfs */ - { 2, s(struct compat_25_sys_fstatfs_args), + { 2, s(struct compat_25_sys_fstatfs_args), 0, compat_25_sys_fstatfs }, /* 158 = fstatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 159 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 160 = unimplemented */ #ifdef NFSCLIENT - { 2, s(struct sys_getfh_args), + { 2, s(struct sys_getfh_args), 0, sys_getfh }, /* 161 = getfh */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 161 = unimplemented getfh */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 162 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 163 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 164 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 165 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 166 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 167 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 168 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 169 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 170 = unimplemented */ #if defined(SYSVSHM) && !defined(alpha) - { 4, s(struct compat_10_sys_shmsys_args), + { 4, s(struct compat_10_sys_shmsys_args), 0, compat_10_sys_shmsys }, /* 171 = shmsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 171 = unimplemented shmsys */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 172 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 173 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 174 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 175 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 176 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 177 = unimplemented sfork */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 178 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 179 = unimplemented getdescriptor */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 180 = unimplemented setdescriptor */ - { 1, s(struct sys_setgid_args), + { 1, s(struct sys_setgid_args), 0, sys_setgid }, /* 181 = setgid */ - { 1, s(struct sys_setegid_args), + { 1, s(struct sys_setegid_args), 0, sys_setegid }, /* 182 = setegid */ - { 1, s(struct sys_seteuid_args), + { 1, s(struct sys_seteuid_args), 0, sys_seteuid }, /* 183 = seteuid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 184 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 185 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 186 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 187 = unimplemented */ - { 2, s(struct compat_35_sys_stat_args), + { 2, s(struct compat_35_sys_stat_args), 0, compat_35_sys_stat }, /* 188 = stat35 */ - { 2, s(struct compat_35_sys_fstat_args), + { 2, s(struct compat_35_sys_fstat_args), 0, compat_35_sys_fstat }, /* 189 = fstat35 */ - { 2, s(struct compat_35_sys_lstat_args), + { 2, s(struct compat_35_sys_lstat_args), 0, compat_35_sys_lstat }, /* 190 = lstat35 */ - { 2, s(struct sys_pathconf_args), + { 2, s(struct sys_pathconf_args), 0, sys_pathconf }, /* 191 = pathconf */ - { 2, s(struct sys_fpathconf_args), + { 2, s(struct sys_fpathconf_args), 0, sys_fpathconf }, /* 192 = fpathconf */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 193 = unimplemented */ - { 2, s(struct sys_getrlimit_args), + { 2, s(struct sys_getrlimit_args), 0, sys_getrlimit }, /* 194 = getrlimit */ - { 2, s(struct sys_setrlimit_args), + { 2, s(struct sys_setrlimit_args), 0, sys_setrlimit }, /* 195 = setrlimit */ - { 4, s(struct sys_getdirentries_args), + { 4, s(struct sys_getdirentries_args), 0, sys_getdirentries }, /* 196 = getdirentries */ - { 7, s(struct sys_mmap_args), + { 7, s(struct sys_mmap_args), 0, sys_mmap }, /* 197 = mmap */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 198 = __syscall */ - { 4, s(struct sys_lseek_args), + { 4, s(struct sys_lseek_args), 0, sys_lseek }, /* 199 = lseek */ - { 3, s(struct sys_truncate_args), + { 3, s(struct sys_truncate_args), 0, sys_truncate }, /* 200 = truncate */ - { 3, s(struct sys_ftruncate_args), + { 3, s(struct sys_ftruncate_args), 0, sys_ftruncate }, /* 201 = ftruncate */ - { 6, s(struct sys___sysctl_args), + { 6, s(struct sys___sysctl_args), 0, sys___sysctl }, /* 202 = __sysctl */ - { 2, s(struct sys_mlock_args), + { 2, s(struct sys_mlock_args), 0, sys_mlock }, /* 203 = mlock */ - { 2, s(struct sys_munlock_args), + { 2, s(struct sys_munlock_args), 0, sys_munlock }, /* 204 = munlock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 205 = unimplemented sys_undelete */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 206 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 207 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 208 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 209 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 210 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 211 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 212 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 213 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 214 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 215 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 216 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 217 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 218 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 219 = unimplemented */ #ifdef SYSVSEM - { 4, s(struct sys___semctl_args), + { 4, s(struct sys___semctl_args), 0, sys___semctl }, /* 220 = __semctl */ - { 3, s(struct sys_semget_args), + { 3, s(struct sys_semget_args), 0, sys_semget }, /* 221 = semget */ - { 3, s(struct sys_semop_args), + { 3, s(struct sys_semop_args), 0, sys_semop }, /* 222 = semop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = obsolete sys_semconfig */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 220 = unimplemented semctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 221 = unimplemented semget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 222 = unimplemented semop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = unimplemented semconfig */ #endif #ifdef SYSVMSG - { 3, s(struct sys_msgctl_args), + { 3, s(struct sys_msgctl_args), 0, sys_msgctl }, /* 224 = msgctl */ - { 2, s(struct sys_msgget_args), + { 2, s(struct sys_msgget_args), 0, sys_msgget }, /* 225 = msgget */ - { 4, s(struct sys_msgsnd_args), + { 4, s(struct sys_msgsnd_args), 0, sys_msgsnd }, /* 226 = msgsnd */ - { 5, s(struct sys_msgrcv_args), + { 5, s(struct sys_msgrcv_args), 0, sys_msgrcv }, /* 227 = msgrcv */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 224 = unimplemented msgctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 225 = unimplemented msgget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 226 = unimplemented msgsnd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 227 = unimplemented msgrcv */ #endif #ifdef SYSVSHM - { 3, s(struct sys_shmat_args), + { 3, s(struct sys_shmat_args), 0, sys_shmat }, /* 228 = shmat */ - { 3, s(struct sys_shmctl_args), + { 3, s(struct sys_shmctl_args), 0, sys_shmctl }, /* 229 = shmctl */ - { 1, s(struct sys_shmdt_args), + { 1, s(struct sys_shmdt_args), 0, sys_shmdt }, /* 230 = shmdt */ - { 3, s(struct sys_shmget_args), + { 3, s(struct sys_shmget_args), 0, sys_shmget }, /* 231 = shmget */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 228 = unimplemented shmat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 229 = unimplemented shmctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 230 = unimplemented shmdt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 231 = unimplemented shmget */ #endif }; diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h index 3d312ca1e33..842871806d3 100644 --- a/sys/compat/freebsd/freebsd_syscall.h +++ b/sys/compat/freebsd/freebsd_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: freebsd_syscall.h,v 1.32 2007/04/05 15:33:58 tedu Exp $ */ +/* $OpenBSD: freebsd_syscall.h,v 1.33 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h index f5403228f81..8dcd4f9e71c 100644 --- a/sys/compat/freebsd/freebsd_syscallargs.h +++ b/sys/compat/freebsd/freebsd_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: freebsd_syscallargs.h,v 1.34 2007/04/05 15:33:58 tedu Exp $ */ +/* $OpenBSD: freebsd_syscallargs.h,v 1.35 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c index aff7febab6f..42064ff7229 100644 --- a/sys/compat/freebsd/freebsd_syscalls.c +++ b/sys/compat/freebsd/freebsd_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: freebsd_syscalls.c,v 1.32 2007/04/05 15:33:58 tedu Exp $ */ +/* $OpenBSD: freebsd_syscalls.c,v 1.33 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c index e0f63dd4c27..3b6078b1691 100644 --- a/sys/compat/freebsd/freebsd_sysent.c +++ b/sys/compat/freebsd/freebsd_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: freebsd_sysent.c,v 1.33 2007/04/05 15:33:58 tedu Exp $ */ +/* $OpenBSD: freebsd_sysent.c,v 1.34 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -19,963 +19,963 @@ #define s(type) sizeof(type) struct sysent freebsd_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct freebsd_sys_open_args), + { 3, s(struct freebsd_sys_open_args), 0, freebsd_sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 4, s(struct sys_wait4_args), + { 4, s(struct sys_wait4_args), 0, sys_wait4 }, /* 7 = wait4 */ - { 2, s(struct compat_43_freebsd_sys_creat_args), + { 2, s(struct compat_43_freebsd_sys_creat_args), 0, compat_43_freebsd_sys_creat }, /* 8 = ocreat */ - { 2, s(struct freebsd_sys_link_args), + { 2, s(struct freebsd_sys_link_args), 0, freebsd_sys_link }, /* 9 = link */ - { 1, s(struct freebsd_sys_unlink_args), + { 1, s(struct freebsd_sys_unlink_args), 0, freebsd_sys_unlink }, /* 10 = unlink */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 11 = obsolete execv */ - { 1, s(struct freebsd_sys_chdir_args), + { 1, s(struct freebsd_sys_chdir_args), 0, freebsd_sys_chdir }, /* 12 = chdir */ - { 1, s(struct sys_fchdir_args), + { 1, s(struct sys_fchdir_args), 0, sys_fchdir }, /* 13 = fchdir */ - { 3, s(struct freebsd_sys_mknod_args), + { 3, s(struct freebsd_sys_mknod_args), 0, freebsd_sys_mknod }, /* 14 = mknod */ - { 2, s(struct freebsd_sys_chmod_args), + { 2, s(struct freebsd_sys_chmod_args), 0, freebsd_sys_chmod }, /* 15 = chmod */ - { 3, s(struct freebsd_sys_chown_args), + { 3, s(struct freebsd_sys_chown_args), 0, freebsd_sys_chown }, /* 16 = chown */ - { 1, s(struct sys_obreak_args), + { 1, s(struct sys_obreak_args), 0, sys_obreak }, /* 17 = break */ - { 3, s(struct freebsd_sys_getfsstat_args), + { 3, s(struct freebsd_sys_getfsstat_args), 0, freebsd_sys_getfsstat }, /* 18 = getfsstat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43_sys_lseek }, /* 19 = olseek */ - { 0, 0, + { 0, 0, 0, sys_getpid }, /* 20 = getpid */ - { 4, s(struct freebsd_sys_mount_args), + { 4, s(struct freebsd_sys_mount_args), 0, freebsd_sys_mount }, /* 21 = mount */ - { 2, s(struct freebsd_sys_unmount_args), + { 2, s(struct freebsd_sys_unmount_args), 0, freebsd_sys_unmount }, /* 22 = unmount */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 0, 0, + { 0, 0, 0, sys_geteuid }, /* 25 = geteuid */ #ifdef PTRACE - { 4, s(struct freebsd_sys_ptrace_args), + { 4, s(struct freebsd_sys_ptrace_args), 0, freebsd_sys_ptrace }, /* 26 = ptrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ptrace */ #endif - { 3, s(struct sys_recvmsg_args), + { 3, s(struct sys_recvmsg_args), 0, sys_recvmsg }, /* 27 = recvmsg */ - { 3, s(struct sys_sendmsg_args), + { 3, s(struct sys_sendmsg_args), 0, sys_sendmsg }, /* 28 = sendmsg */ - { 6, s(struct sys_recvfrom_args), + { 6, s(struct sys_recvfrom_args), 0, sys_recvfrom }, /* 29 = recvfrom */ - { 3, s(struct sys_accept_args), + { 3, s(struct sys_accept_args), 0, sys_accept }, /* 30 = accept */ - { 3, s(struct sys_getpeername_args), + { 3, s(struct sys_getpeername_args), 0, sys_getpeername }, /* 31 = getpeername */ - { 3, s(struct sys_getsockname_args), + { 3, s(struct sys_getsockname_args), 0, sys_getsockname }, /* 32 = getsockname */ - { 2, s(struct freebsd_sys_access_args), + { 2, s(struct freebsd_sys_access_args), 0, freebsd_sys_access }, /* 33 = access */ - { 2, s(struct freebsd_sys_chflags_args), + { 2, s(struct freebsd_sys_chflags_args), 0, freebsd_sys_chflags }, /* 34 = chflags */ - { 2, s(struct sys_fchflags_args), + { 2, s(struct sys_fchflags_args), 0, sys_fchflags }, /* 35 = fchflags */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct sys_kill_args), + { 2, s(struct sys_kill_args), 0, sys_kill }, /* 37 = kill */ - { 2, s(struct compat_43_freebsd_sys_stat_args), + { 2, s(struct compat_43_freebsd_sys_stat_args), 0, compat_43_freebsd_sys_stat }, /* 38 = stat43 */ - { 0, 0, + { 0, 0, 0, sys_getppid }, /* 39 = getppid */ - { 2, s(struct compat_43_freebsd_sys_lstat_args), + { 2, s(struct compat_43_freebsd_sys_lstat_args), 0, compat_43_freebsd_sys_lstat }, /* 40 = lstat43 */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_opipe }, /* 42 = opipe */ - { 0, 0, + { 0, 0, 0, sys_getegid }, /* 43 = getegid */ - { 4, s(struct sys_profil_args), + { 4, s(struct sys_profil_args), 0, sys_profil }, /* 44 = profil */ #ifdef KTRACE - { 4, s(struct sys_ktrace_args), + { 4, s(struct sys_ktrace_args), 0, sys_ktrace }, /* 45 = ktrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 45 = unimplemented ktrace */ #endif - { 3, s(struct sys_sigaction_args), + { 3, s(struct sys_sigaction_args), 0, sys_sigaction }, /* 46 = sigaction */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 2, s(struct sys_sigprocmask_args), + { 2, s(struct sys_sigprocmask_args), 0, sys_sigprocmask }, /* 48 = sigprocmask */ - { 2, s(struct sys_getlogin_args), + { 2, s(struct sys_getlogin_args), 0, sys_getlogin }, /* 49 = getlogin */ - { 1, s(struct sys_setlogin_args), + { 1, s(struct sys_setlogin_args), 0, sys_setlogin }, /* 50 = setlogin */ #ifdef ACCOUNTING - { 1, s(struct sys_acct_args), + { 1, s(struct sys_acct_args), 0, sys_acct }, /* 51 = acct */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #endif - { 0, 0, + { 0, 0, 0, sys_sigpending }, /* 52 = sigpending */ - { 2, s(struct sys_sigaltstack_args), + { 2, s(struct sys_sigaltstack_args), 0, sys_sigaltstack }, /* 53 = sigaltstack */ - { 3, s(struct freebsd_sys_ioctl_args), + { 3, s(struct freebsd_sys_ioctl_args), 0, freebsd_sys_ioctl }, /* 54 = ioctl */ - { 1, s(struct sys_reboot_args), + { 1, s(struct sys_reboot_args), 0, sys_reboot }, /* 55 = reboot */ - { 1, s(struct freebsd_sys_revoke_args), + { 1, s(struct freebsd_sys_revoke_args), 0, freebsd_sys_revoke }, /* 56 = revoke */ - { 2, s(struct freebsd_sys_symlink_args), + { 2, s(struct freebsd_sys_symlink_args), 0, freebsd_sys_symlink }, /* 57 = symlink */ - { 3, s(struct freebsd_sys_readlink_args), + { 3, s(struct freebsd_sys_readlink_args), 0, freebsd_sys_readlink }, /* 58 = readlink */ - { 3, s(struct freebsd_sys_execve_args), + { 3, s(struct freebsd_sys_execve_args), 0, freebsd_sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct freebsd_sys_chroot_args), + { 1, s(struct freebsd_sys_chroot_args), 0, freebsd_sys_chroot }, /* 61 = chroot */ - { 2, s(struct compat_43_sys_fstat_args), + { 2, s(struct compat_43_sys_fstat_args), 0, compat_43_sys_fstat }, /* 62 = fstat43 */ - { 4, s(struct compat_43_sys_getkerninfo_args), + { 4, s(struct compat_43_sys_getkerninfo_args), 0, compat_43_sys_getkerninfo }, /* 63 = ogetkerninfo */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getpagesize }, /* 64 = ogetpagesize */ - { 3, s(struct sys_msync_args), + { 3, s(struct sys_msync_args), 0, sys_msync }, /* 65 = msync */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 66 = vfork */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 67 = obsolete vread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 68 = obsolete vwrite */ - { 1, s(struct sys_sbrk_args), + { 1, s(struct sys_sbrk_args), 0, sys_sbrk }, /* 69 = sbrk */ - { 1, s(struct sys_sstk_args), + { 1, s(struct sys_sstk_args), 0, sys_sstk }, /* 70 = sstk */ - { 6, s(struct compat_43_sys_mmap_args), + { 6, s(struct compat_43_sys_mmap_args), 0, compat_43_sys_mmap }, /* 71 = ommap */ - { 1, s(struct sys_ovadvise_args), + { 1, s(struct sys_ovadvise_args), 0, sys_ovadvise }, /* 72 = vadvise */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 73 = munmap */ - { 3, s(struct sys_mprotect_args), + { 3, s(struct sys_mprotect_args), 0, sys_mprotect }, /* 74 = mprotect */ - { 3, s(struct freebsd_sys_madvise_args), + { 3, s(struct freebsd_sys_madvise_args), 0, freebsd_sys_madvise }, /* 75 = madvise */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 76 = obsolete vhangup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = obsolete vlimit */ - { 3, s(struct sys_mincore_args), + { 3, s(struct sys_mincore_args), 0, sys_mincore }, /* 78 = mincore */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 79 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 80 = setgroups */ - { 0, 0, + { 0, 0, 0, sys_getpgrp }, /* 81 = getpgrp */ - { 2, s(struct sys_setpgid_args), + { 2, s(struct sys_setpgid_args), 0, sys_setpgid }, /* 82 = setpgid */ - { 3, s(struct sys_setitimer_args), + { 3, s(struct sys_setitimer_args), 0, sys_setitimer }, /* 83 = setitimer */ - { 0, 0, + { 0, 0, 0, compat_43_sys_wait }, /* 84 = owait */ - { 1, s(struct compat_25_sys_swapon_args), + { 1, s(struct compat_25_sys_swapon_args), 0, compat_25_sys_swapon }, /* 85 = swapon */ - { 2, s(struct sys_getitimer_args), + { 2, s(struct sys_getitimer_args), 0, sys_getitimer }, /* 86 = getitimer */ - { 2, s(struct compat_43_sys_gethostname_args), + { 2, s(struct compat_43_sys_gethostname_args), 0, compat_43_sys_gethostname }, /* 87 = ogethostname */ - { 2, s(struct compat_43_sys_sethostname_args), + { 2, s(struct compat_43_sys_sethostname_args), 0, compat_43_sys_sethostname }, /* 88 = osethostname */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getdtablesize }, /* 89 = ogetdtablesize */ - { 2, s(struct sys_dup2_args), + { 2, s(struct sys_dup2_args), 0, sys_dup2 }, /* 90 = dup2 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 91 = unimplemented getdopt */ - { 3, s(struct freebsd_sys_fcntl_args), + { 3, s(struct freebsd_sys_fcntl_args), 0, freebsd_sys_fcntl }, /* 92 = fcntl */ - { 5, s(struct sys_select_args), + { 5, s(struct sys_select_args), 0, sys_select }, /* 93 = select */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 94 = unimplemented setdopt */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 95 = fsync */ - { 3, s(struct sys_setpriority_args), + { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 96 = setpriority */ - { 3, s(struct sys_socket_args), + { 3, s(struct sys_socket_args), 0, sys_socket }, /* 97 = socket */ - { 3, s(struct sys_connect_args), + { 3, s(struct sys_connect_args), 0, sys_connect }, /* 98 = connect */ - { 3, s(struct compat_43_sys_accept_args), + { 3, s(struct compat_43_sys_accept_args), 0, compat_43_sys_accept }, /* 99 = oaccept */ - { 2, s(struct sys_getpriority_args), + { 2, s(struct sys_getpriority_args), 0, sys_getpriority }, /* 100 = getpriority */ - { 4, s(struct compat_43_sys_send_args), + { 4, s(struct compat_43_sys_send_args), 0, compat_43_sys_send }, /* 101 = osend */ - { 4, s(struct compat_43_sys_recv_args), + { 4, s(struct compat_43_sys_recv_args), 0, compat_43_sys_recv }, /* 102 = orecv */ - { 1, s(struct freebsd_sys_sigreturn_args), + { 1, s(struct freebsd_sys_sigreturn_args), 0, freebsd_sys_sigreturn }, /* 103 = sigreturn */ - { 3, s(struct sys_bind_args), + { 3, s(struct sys_bind_args), 0, sys_bind }, /* 104 = bind */ - { 5, s(struct sys_setsockopt_args), + { 5, s(struct sys_setsockopt_args), 0, sys_setsockopt }, /* 105 = setsockopt */ - { 2, s(struct sys_listen_args), + { 2, s(struct sys_listen_args), 0, sys_listen }, /* 106 = listen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 107 = obsolete vtimes */ - { 3, s(struct compat_43_sys_sigvec_args), + { 3, s(struct compat_43_sys_sigvec_args), 0, compat_43_sys_sigvec }, /* 108 = osigvec */ - { 1, s(struct compat_43_sys_sigblock_args), + { 1, s(struct compat_43_sys_sigblock_args), 0, compat_43_sys_sigblock }, /* 109 = osigblock */ - { 1, s(struct compat_43_sys_sigsetmask_args), + { 1, s(struct compat_43_sys_sigsetmask_args), 0, compat_43_sys_sigsetmask }, /* 110 = osigsetmask */ - { 1, s(struct sys_sigsuspend_args), + { 1, s(struct sys_sigsuspend_args), 0, sys_sigsuspend }, /* 111 = sigsuspend */ - { 2, s(struct compat_43_sys_sigstack_args), + { 2, s(struct compat_43_sys_sigstack_args), 0, compat_43_sys_sigstack }, /* 112 = osigstack */ - { 3, s(struct compat_43_sys_recvmsg_args), + { 3, s(struct compat_43_sys_recvmsg_args), 0, compat_43_sys_recvmsg }, /* 113 = orecvmsg */ - { 3, s(struct compat_43_sys_sendmsg_args), + { 3, s(struct compat_43_sys_sendmsg_args), 0, compat_43_sys_sendmsg }, /* 114 = osendmsg */ #ifdef TRACE - { 2, s(struct sys_vtrace_args), + { 2, s(struct sys_vtrace_args), 0, sys_vtrace }, /* 115 = vtrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 115 = obsolete vtrace */ #endif - { 2, s(struct sys_gettimeofday_args), + { 2, s(struct sys_gettimeofday_args), 0, sys_gettimeofday }, /* 116 = gettimeofday */ - { 2, s(struct sys_getrusage_args), + { 2, s(struct sys_getrusage_args), 0, sys_getrusage }, /* 117 = getrusage */ - { 5, s(struct sys_getsockopt_args), + { 5, s(struct sys_getsockopt_args), 0, sys_getsockopt }, /* 118 = getsockopt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 119 = obsolete resuba */ - { 3, s(struct sys_readv_args), + { 3, s(struct sys_readv_args), 0, sys_readv }, /* 120 = readv */ - { 3, s(struct sys_writev_args), + { 3, s(struct sys_writev_args), 0, sys_writev }, /* 121 = writev */ - { 2, s(struct sys_settimeofday_args), + { 2, s(struct sys_settimeofday_args), 0, sys_settimeofday }, /* 122 = settimeofday */ - { 3, s(struct sys_fchown_args), + { 3, s(struct sys_fchown_args), 0, sys_fchown }, /* 123 = fchown */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 124 = fchmod */ - { 6, s(struct compat_43_sys_recvfrom_args), + { 6, s(struct compat_43_sys_recvfrom_args), 0, compat_43_sys_recvfrom }, /* 125 = orecvfrom */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 126 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 127 = setregid */ - { 2, s(struct freebsd_sys_rename_args), + { 2, s(struct freebsd_sys_rename_args), 0, freebsd_sys_rename }, /* 128 = rename */ - { 2, s(struct compat_43_freebsd_sys_truncate_args), + { 2, s(struct compat_43_freebsd_sys_truncate_args), 0, compat_43_freebsd_sys_truncate }, /* 129 = otruncate */ - { 2, s(struct compat_43_sys_ftruncate_args), + { 2, s(struct compat_43_sys_ftruncate_args), 0, compat_43_sys_ftruncate }, /* 130 = oftruncate */ - { 2, s(struct sys_flock_args), + { 2, s(struct sys_flock_args), 0, sys_flock }, /* 131 = flock */ - { 2, s(struct freebsd_sys_mkfifo_args), + { 2, s(struct freebsd_sys_mkfifo_args), 0, freebsd_sys_mkfifo }, /* 132 = mkfifo */ - { 6, s(struct sys_sendto_args), + { 6, s(struct sys_sendto_args), 0, sys_sendto }, /* 133 = sendto */ - { 2, s(struct sys_shutdown_args), + { 2, s(struct sys_shutdown_args), 0, sys_shutdown }, /* 134 = shutdown */ - { 4, s(struct sys_socketpair_args), + { 4, s(struct sys_socketpair_args), 0, sys_socketpair }, /* 135 = socketpair */ - { 2, s(struct freebsd_sys_mkdir_args), + { 2, s(struct freebsd_sys_mkdir_args), 0, freebsd_sys_mkdir }, /* 136 = mkdir */ - { 1, s(struct freebsd_sys_rmdir_args), + { 1, s(struct freebsd_sys_rmdir_args), 0, freebsd_sys_rmdir }, /* 137 = rmdir */ - { 2, s(struct sys_utimes_args), + { 2, s(struct sys_utimes_args), 0, sys_utimes }, /* 138 = utimes */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 139 = obsolete 4.2 sigreturn */ - { 2, s(struct sys_adjtime_args), + { 2, s(struct sys_adjtime_args), 0, sys_adjtime }, /* 140 = adjtime */ - { 3, s(struct compat_43_sys_getpeername_args), + { 3, s(struct compat_43_sys_getpeername_args), 0, compat_43_sys_getpeername }, /* 141 = ogetpeername */ - { 0, 0, + { 0, 0, 0, compat_43_sys_gethostid }, /* 142 = ogethostid */ - { 1, s(struct compat_43_sys_sethostid_args), + { 1, s(struct compat_43_sys_sethostid_args), 0, compat_43_sys_sethostid }, /* 143 = osethostid */ - { 2, s(struct compat_43_sys_getrlimit_args), + { 2, s(struct compat_43_sys_getrlimit_args), 0, compat_43_sys_getrlimit }, /* 144 = ogetrlimit */ - { 2, s(struct compat_43_sys_setrlimit_args), + { 2, s(struct compat_43_sys_setrlimit_args), 0, compat_43_sys_setrlimit }, /* 145 = osetrlimit */ - { 2, s(struct compat_43_sys_killpg_args), + { 2, s(struct compat_43_sys_killpg_args), 0, compat_43_sys_killpg }, /* 146 = okillpg */ - { 0, 0, + { 0, 0, 0, sys_setsid }, /* 147 = setsid */ - { 4, s(struct sys_quotactl_args), + { 4, s(struct sys_quotactl_args), 0, sys_quotactl }, /* 148 = quotactl */ - { 0, 0, + { 0, 0, 0, compat_43_sys_quota }, /* 149 = oquota */ - { 3, s(struct compat_43_sys_getsockname_args), + { 3, s(struct compat_43_sys_getsockname_args), 0, compat_43_sys_getsockname }, /* 150 = ogetsockname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented sem_lock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented sem_wakeup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 153 = unimplemented asyncdaemon */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 154 = unimplemented */ #if defined(NFSCLIENT) || defined(NFSSERVER) - { 2, s(struct sys_nfssvc_args), + { 2, s(struct sys_nfssvc_args), 0, sys_nfssvc }, /* 155 = nfssvc */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 155 = unimplemented */ #endif - { 4, s(struct compat_43_sys_getdirentries_args), + { 4, s(struct compat_43_sys_getdirentries_args), 0, compat_43_sys_getdirentries }, /* 156 = ogetdirentries */ - { 2, s(struct freebsd_sys_statfs_args), + { 2, s(struct freebsd_sys_statfs_args), 0, freebsd_sys_statfs }, /* 157 = statfs */ - { 2, s(struct freebsd_sys_fstatfs_args), + { 2, s(struct freebsd_sys_fstatfs_args), 0, freebsd_sys_fstatfs }, /* 158 = fstatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 159 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 160 = unimplemented */ #ifdef NFSCLIENT - { 2, s(struct freebsd_sys_getfh_args), + { 2, s(struct freebsd_sys_getfh_args), 0, freebsd_sys_getfh }, /* 161 = getfh */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 161 = unimplemented getfh */ #endif - { 2, s(struct compat_09_sys_getdomainname_args), + { 2, s(struct compat_09_sys_getdomainname_args), 0, compat_09_sys_getdomainname }, /* 162 = getdomainname */ - { 2, s(struct compat_09_sys_setdomainname_args), + { 2, s(struct compat_09_sys_setdomainname_args), 0, compat_09_sys_setdomainname }, /* 163 = setdomainname */ - { 1, s(struct compat_09_sys_uname_args), + { 1, s(struct compat_09_sys_uname_args), 0, compat_09_sys_uname }, /* 164 = uname */ - { 2, s(struct sys_sysarch_args), + { 2, s(struct sys_sysarch_args), 0, sys_sysarch }, /* 165 = sysarch */ - { 3, s(struct freebsd_sys_rtprio_args), + { 3, s(struct freebsd_sys_rtprio_args), 0, freebsd_sys_rtprio }, /* 166 = rtprio */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 167 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 168 = unimplemented */ #if defined(SYSVSEM) && !defined(alpha) - { 5, s(struct compat_10_sys_semsys_args), + { 5, s(struct compat_10_sys_semsys_args), 0, compat_10_sys_semsys }, /* 169 = semsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 169 = unimplemented 1.0 semsys */ #endif #if defined(SYSVMSG) && !defined(alpha) - { 6, s(struct compat_10_sys_msgsys_args), + { 6, s(struct compat_10_sys_msgsys_args), 0, compat_10_sys_msgsys }, /* 170 = msgsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 170 = unimplemented 1.0 msgsys */ #endif #if defined(SYSVSHM) && !defined(alpha) - { 4, s(struct compat_10_sys_shmsys_args), + { 4, s(struct compat_10_sys_shmsys_args), 0, compat_10_sys_shmsys }, /* 171 = shmsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 171 = unimplemented 1.0 shmsys */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 172 = unimplemented */ - { 5, s(struct sys_pread_args), + { 5, s(struct sys_pread_args), 0, sys_pread }, /* 173 = pread */ - { 5, s(struct sys_pwrite_args), + { 5, s(struct sys_pwrite_args), 0, sys_pwrite }, /* 174 = pwrite */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 175 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 176 = unimplemented ntp_adjtime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 177 = unimplemented sfork */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 178 = unimplemented getdescriptor */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 179 = unimplemented setdescriptor */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 180 = unimplemented */ - { 1, s(struct sys_setgid_args), + { 1, s(struct sys_setgid_args), 0, sys_setgid }, /* 181 = setgid */ - { 1, s(struct sys_setegid_args), + { 1, s(struct sys_setegid_args), 0, sys_setegid }, /* 182 = setegid */ - { 1, s(struct sys_seteuid_args), + { 1, s(struct sys_seteuid_args), 0, sys_seteuid }, /* 183 = seteuid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 184 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 185 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 186 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 187 = unimplemented */ - { 2, s(struct freebsd_sys_stat_args), + { 2, s(struct freebsd_sys_stat_args), 0, freebsd_sys_stat }, /* 188 = stat */ - { 2, s(struct compat_35_sys_fstat_args), + { 2, s(struct compat_35_sys_fstat_args), 0, compat_35_sys_fstat }, /* 189 = fstat */ - { 2, s(struct freebsd_sys_lstat_args), + { 2, s(struct freebsd_sys_lstat_args), 0, freebsd_sys_lstat }, /* 190 = lstat */ - { 2, s(struct freebsd_sys_pathconf_args), + { 2, s(struct freebsd_sys_pathconf_args), 0, freebsd_sys_pathconf }, /* 191 = pathconf */ - { 2, s(struct sys_fpathconf_args), + { 2, s(struct sys_fpathconf_args), 0, sys_fpathconf }, /* 192 = fpathconf */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 193 = unimplemented */ - { 2, s(struct sys_getrlimit_args), + { 2, s(struct sys_getrlimit_args), 0, sys_getrlimit }, /* 194 = getrlimit */ - { 2, s(struct sys_setrlimit_args), + { 2, s(struct sys_setrlimit_args), 0, sys_setrlimit }, /* 195 = setrlimit */ - { 4, s(struct sys_getdirentries_args), + { 4, s(struct sys_getdirentries_args), 0, sys_getdirentries }, /* 196 = getdirentries */ - { 7, s(struct freebsd_sys_mmap_args), + { 7, s(struct freebsd_sys_mmap_args), 0, freebsd_sys_mmap }, /* 197 = mmap */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 198 = __syscall */ - { 4, s(struct sys_lseek_args), + { 4, s(struct sys_lseek_args), 0, sys_lseek }, /* 199 = lseek */ - { 3, s(struct freebsd_sys_truncate_args), + { 3, s(struct freebsd_sys_truncate_args), 0, freebsd_sys_truncate }, /* 200 = truncate */ - { 3, s(struct sys_ftruncate_args), + { 3, s(struct sys_ftruncate_args), 0, sys_ftruncate }, /* 201 = ftruncate */ - { 6, s(struct sys___sysctl_args), + { 6, s(struct sys___sysctl_args), 0, sys___sysctl }, /* 202 = __sysctl */ - { 2, s(struct sys_mlock_args), + { 2, s(struct sys_mlock_args), 0, sys_mlock }, /* 203 = mlock */ - { 2, s(struct sys_munlock_args), + { 2, s(struct sys_munlock_args), 0, sys_munlock }, /* 204 = munlock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 205 = unimplemented sys_undelete */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 206 = unimplemented futimes */ - { 1, s(struct sys_getpgid_args), + { 1, s(struct sys_getpgid_args), 0, sys_getpgid }, /* 207 = getpgid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 208 = unimplemented reboot */ - { 3, s(struct sys_poll_args), + { 3, s(struct sys_poll_args), 0, sys_poll }, /* 209 = poll */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 210 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 211 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 212 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 213 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 214 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 215 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 216 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 217 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 218 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 219 = unimplemented */ #ifdef SYSVSEM - { 4, s(struct sys___semctl_args), + { 4, s(struct sys___semctl_args), 0, sys___semctl }, /* 220 = __semctl */ - { 3, s(struct sys_semget_args), + { 3, s(struct sys_semget_args), 0, sys_semget }, /* 221 = semget */ - { 3, s(struct sys_semop_args), + { 3, s(struct sys_semop_args), 0, sys_semop }, /* 222 = semop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = obsolete sys_semconfig */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 220 = unimplemented sys___semctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 221 = unimplemented sys_semget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 222 = unimplemented sys_semop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = unimplemented sys_semconfig */ #endif #ifdef SYSVMSG - { 3, s(struct sys_msgctl_args), + { 3, s(struct sys_msgctl_args), 0, sys_msgctl }, /* 224 = msgctl */ - { 2, s(struct sys_msgget_args), + { 2, s(struct sys_msgget_args), 0, sys_msgget }, /* 225 = msgget */ - { 4, s(struct sys_msgsnd_args), + { 4, s(struct sys_msgsnd_args), 0, sys_msgsnd }, /* 226 = msgsnd */ - { 5, s(struct sys_msgrcv_args), + { 5, s(struct sys_msgrcv_args), 0, sys_msgrcv }, /* 227 = msgrcv */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 224 = unimplemented sys_msgctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 225 = unimplemented sys_msgget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 226 = unimplemented sys_msgsnd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 227 = unimplemented sys_msgrcv */ #endif #ifdef SYSVSHM - { 3, s(struct sys_shmat_args), + { 3, s(struct sys_shmat_args), 0, sys_shmat }, /* 228 = shmat */ - { 3, s(struct sys_shmctl_args), + { 3, s(struct sys_shmctl_args), 0, sys_shmctl }, /* 229 = shmctl */ - { 1, s(struct sys_shmdt_args), + { 1, s(struct sys_shmdt_args), 0, sys_shmdt }, /* 230 = shmdt */ - { 3, s(struct sys_shmget_args), + { 3, s(struct sys_shmget_args), 0, sys_shmget }, /* 231 = shmget */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 228 = unimplemented sys_shmat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 229 = unimplemented sys_shmctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 230 = unimplemented sys_shmdt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 231 = unimplemented sys_shmget */ #endif - { 2, s(struct sys_clock_gettime_args), + { 2, s(struct sys_clock_gettime_args), 0, sys_clock_gettime }, /* 232 = clock_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 233 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 234 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 235 = unimplemented timer_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 236 = unimplemented timer_delete */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 237 = unimplemented timer_settime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 238 = unimplemented timer_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 239 = unimplemented timer_getoverrun */ - { 2, s(struct sys_nanosleep_args), + { 2, s(struct sys_nanosleep_args), 0, sys_nanosleep }, /* 240 = nanosleep */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 241 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 242 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 243 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 244 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 245 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 246 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 247 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 248 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 249 = unimplemented */ - { 3, s(struct sys_minherit_args), + { 3, s(struct sys_minherit_args), 0, sys_minherit }, /* 250 = minherit */ - { 1, s(struct sys_rfork_args), + { 1, s(struct sys_rfork_args), 0, sys_rfork }, /* 251 = rfork */ - { 3, s(struct freebsd_sys_poll2_args), + { 3, s(struct freebsd_sys_poll2_args), 0, freebsd_sys_poll2 }, /* 252 = poll2 */ - { 0, 0, + { 0, 0, 0, sys_issetugid }, /* 253 = issetugid */ - { 3, s(struct sys_lchown_args), + { 3, s(struct sys_lchown_args), 0, sys_lchown }, /* 254 = lchown */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 255 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 256 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 257 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 258 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 259 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 260 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 261 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 262 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 263 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 264 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 265 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 266 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 267 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 268 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 269 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 270 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 271 = unimplemented */ - { 3, s(struct freebsd_sys_getdents_args), + { 3, s(struct freebsd_sys_getdents_args), 0, freebsd_sys_getdents }, /* 272 = getdents */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 273 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 274 = unimplemented lchmod */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 275 = unimplemented lchown */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 276 = unimplemented lutimes */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 277 = unimplemented msync */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 278 = unimplemented stat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 279 = unimplemented fstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 280 = unimplemented lstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 281 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 282 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 283 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 284 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 285 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 286 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 287 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 288 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 289 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 290 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 291 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 292 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 293 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 294 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 295 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 296 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 297 = unimplemented fhstatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 298 = unimplemented fhopen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 299 = unimplemented fhstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 300 = unimplemented modnext */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 301 = unimplemented modstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 302 = unimplemented modfnext */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 303 = unimplemented modfind */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 304 = unimplemented kldload */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 305 = unimplemented kldunload */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 306 = unimplemented kldfind */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 307 = unimplemented kldnext */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 308 = unimplemented kldstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 309 = unimplemented kldfirstmod */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 310 = unimplemented getsid */ - { 3, s(struct sys_setresuid_args), + { 3, s(struct sys_setresuid_args), 0, sys_setresuid }, /* 311 = setresuid */ - { 3, s(struct sys_setresgid_args), + { 3, s(struct sys_setresgid_args), 0, sys_setresgid }, /* 312 = setresgid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 313 = unimplemented signanosleep */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 314 = unimplemented aio_return */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 315 = unimplemented aio_suspend */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 316 = unimplemented aio_cancel */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 317 = unimplemented aio_error */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 318 = unimplemented aio_read */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 319 = unimplemented aio_write */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 320 = unimplemented lio_listio */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 321 = unimplemented yield */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 322 = unimplemented thr_sleep */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 323 = unimplemented thr_wakeup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 324 = unimplemented mlockall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 325 = unimplemented munlockall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 326 = unimplemented __getcwd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 327 = unimplemented sched_setparam */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 328 = unimplemented sched_getparam */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 329 = unimplemented sched_setscheduler */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 330 = unimplemented sched_getscheduler */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 331 = unimplemented sched_yield */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 332 = unimplemented sched_get_priority_max */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 333 = unimplemented sched_get_priority_min */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 334 = unimplemented sched_rr_get_interval */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 335 = unimplemented utrace */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 336 = unimplemented sendfile */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 337 = unimplemented kldsym */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 338 = unimplemented jail */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 339 = unimplemented pioctl */ - { 3, s(struct freebsd_sys_sigprocmask40_args), + { 3, s(struct freebsd_sys_sigprocmask40_args), 0, freebsd_sys_sigprocmask40 }, /* 340 = sigprocmask40 */ - { 1, s(struct freebsd_sys_sigsuspend40_args), + { 1, s(struct freebsd_sys_sigsuspend40_args), 0, freebsd_sys_sigsuspend40 }, /* 341 = sigsuspend40 */ - { 3, s(struct freebsd_sys_sigaction40_args), + { 3, s(struct freebsd_sys_sigaction40_args), 0, freebsd_sys_sigaction40 }, /* 342 = sigaction40 */ - { 1, s(struct freebsd_sys_sigpending40_args), + { 1, s(struct freebsd_sys_sigpending40_args), 0, freebsd_sys_sigpending40 }, /* 343 = sigpending40 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 344 = unimplemented 4.0 sigreturn */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 345 = unimplemented sigtimedwait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 346 = unimplemented sigwaitinfo */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 347 = unimplemented __acl_get_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 348 = unimplemented __acl_set_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 349 = unimplemented __acl_get_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 350 = unimplemented __acl_set_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 351 = unimplemented __acl_delete_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 352 = unimplemented __acl_delete_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 353 = unimplemented __acl_aclcheck_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 354 = unimplemented __acl_aclcheck_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 355 = unimplemented extattrctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 356 = unimplemented extattr_set_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 357 = unimplemented extattr_get_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 358 = unimplemented extattr_delete_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 359 = unimplemented aio_waitcomplete */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 360 = unimplemented getresuid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 361 = unimplemented getresgid */ - { 0, 0, + { 0, 0, 0, sys_kqueue }, /* 362 = kqueue */ - { 6, s(struct sys_kevent_args), + { 6, s(struct sys_kevent_args), 0, sys_kevent }, /* 363 = kevent */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 364 = unimplemented __cap_get_proc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 365 = unimplemented __cap_set_proc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 366 = unimplemented __cap_get_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 367 = unimplemented __cap_get_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 368 = unimplemented __cap_set_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 369 = unimplemented __cap_set_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 370 = unimplemented lkmressym */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 371 = unimplemented extattr_set_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 372 = unimplemented extattr_get_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 373 = unimplemented extattr_delete_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 374 = unimplemented __setugid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 375 = unimplemented nfsclnt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 376 = unimplemented eaccess */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 377 = unimplemented afs_syscall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 378 = unimplemented nmount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 379 = unimplemented kse_exit */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 380 = unimplemented kse_wakeup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 381 = unimplemented kse_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 382 = unimplemented kse_thr_interrupt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 383 = unimplemented kse_release */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 384 = unimplemented __mac_get_proc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 385 = unimplemented __mac_set_proc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 386 = unimplemented __mac_get_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 387 = unimplemented __mac_get_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 388 = unimplemented __mac_set_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 389 = unimplemented __mac_set_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 390 = unimplemented kenv */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 391 = unimplemented lchflags */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 392 = unimplemented uuidgen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 393 = unimplemented sendfile */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 394 = unimplemented mac_syscall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 395 = unimplemented getfsstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 396 = unimplemented statfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 397 = unimplemented fsstatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 398 = unimplemented fhstatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 399 = unimplemented nosys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 400 = unimplemented ksem_close */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 401 = unimplemented ksem_post */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 402 = unimplemented ksem_wait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 403 = unimplemented ksem_trywait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 404 = unimplemented ksem_init */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 405 = unimplemented ksem_open */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 406 = unimplemented ksem_unlink */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 407 = unimplemented ksem_getvalue */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 408 = unimplemented ksem_destroy */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 409 = unimplemented __mac_get_pid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 410 = unimplemented __mac_get_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 411 = unimplemented __mac_set_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 412 = unimplemented extattr_set_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 413 = unimplemented extattr_get_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 414 = unimplemented extattr_delete_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 415 = unimplemented __mac_execve */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 416 = unimplemented sigaction */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 417 = unimplemented sigreturn */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 418 = unimplemented __xstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 419 = unimplemented __xfstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 420 = unimplemented __xlstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 421 = unimplemented getcontext */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 422 = unimplemented setcontext */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 423 = unimplemented swapcontext */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 424 = unimplemented swapoff */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 425 = unimplemented __acl_get_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 426 = unimplemented __acl_set_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 427 = unimplemented __acl_delete_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 428 = unimplemented __acl_aclcheck_link */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 429 = unimplemented sigwait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 430 = unimplemented thr_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 431 = unimplemented thr_exit */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 432 = unimplemented thr_self */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 433 = unimplemented thr_kill */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 434 = unimplemented _umtx_lock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 435 = unimplemented _umtx_unlock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 436 = unimplemented jail_attach */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 437 = unimplemented extattr_list_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 438 = unimplemented extattr_list_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 439 = unimplemented extattr_list_link */ }; diff --git a/sys/compat/ibcs2/ibcs2_syscall.h b/sys/compat/ibcs2/ibcs2_syscall.h index c0eaa770511..954bd1ea5c2 100644 --- a/sys/compat/ibcs2/ibcs2_syscall.h +++ b/sys/compat/ibcs2/ibcs2_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_syscall.h,v 1.9 2004/07/09 23:55:31 millert Exp $ */ +/* $OpenBSD: ibcs2_syscall.h,v 1.10 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/ibcs2/ibcs2_syscallargs.h b/sys/compat/ibcs2/ibcs2_syscallargs.h index 43787be4f8f..fcf8a71d964 100644 --- a/sys/compat/ibcs2/ibcs2_syscallargs.h +++ b/sys/compat/ibcs2/ibcs2_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_syscallargs.h,v 1.11 2004/07/09 23:55:31 millert Exp $ */ +/* $OpenBSD: ibcs2_syscallargs.h,v 1.12 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/ibcs2/ibcs2_syscalls.c b/sys/compat/ibcs2/ibcs2_syscalls.c index 70cc6b9d0d7..fa8d949d350 100644 --- a/sys/compat/ibcs2/ibcs2_syscalls.c +++ b/sys/compat/ibcs2/ibcs2_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_syscalls.c,v 1.9 2004/07/09 23:55:31 millert Exp $ */ +/* $OpenBSD: ibcs2_syscalls.c,v 1.10 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/ibcs2/ibcs2_sysent.c b/sys/compat/ibcs2/ibcs2_sysent.c index 5e71ed6566c..da39c160487 100644 --- a/sys/compat/ibcs2/ibcs2_sysent.c +++ b/sys/compat/ibcs2/ibcs2_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_sysent.c,v 1.9 2004/07/09 23:55:31 millert Exp $ */ +/* $OpenBSD: ibcs2_sysent.c,v 1.10 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -21,374 +21,374 @@ #define s(type) sizeof(type) struct sysent ibcs2_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct ibcs2_sys_read_args), + { 3, s(struct ibcs2_sys_read_args), 0, ibcs2_sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct ibcs2_sys_open_args), + { 3, s(struct ibcs2_sys_open_args), 0, ibcs2_sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 3, s(struct ibcs2_sys_waitsys_args), + { 3, s(struct ibcs2_sys_waitsys_args), 0, ibcs2_sys_waitsys }, /* 7 = waitsys */ - { 2, s(struct ibcs2_sys_creat_args), + { 2, s(struct ibcs2_sys_creat_args), 0, ibcs2_sys_creat }, /* 8 = creat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct ibcs2_sys_unlink_args), + { 1, s(struct ibcs2_sys_unlink_args), 0, ibcs2_sys_unlink }, /* 10 = unlink */ - { 2, s(struct ibcs2_sys_execv_args), + { 2, s(struct ibcs2_sys_execv_args), 0, ibcs2_sys_execv }, /* 11 = execv */ - { 1, s(struct ibcs2_sys_chdir_args), + { 1, s(struct ibcs2_sys_chdir_args), 0, ibcs2_sys_chdir }, /* 12 = chdir */ - { 1, s(struct ibcs2_sys_time_args), + { 1, s(struct ibcs2_sys_time_args), 0, ibcs2_sys_time }, /* 13 = time */ - { 3, s(struct ibcs2_sys_mknod_args), + { 3, s(struct ibcs2_sys_mknod_args), 0, ibcs2_sys_mknod }, /* 14 = mknod */ - { 2, s(struct ibcs2_sys_chmod_args), + { 2, s(struct ibcs2_sys_chmod_args), 0, ibcs2_sys_chmod }, /* 15 = chmod */ - { 3, s(struct ibcs2_sys_chown_args), + { 3, s(struct ibcs2_sys_chown_args), 0, ibcs2_sys_chown }, /* 16 = chown */ - { 1, s(struct sys_obreak_args), + { 1, s(struct sys_obreak_args), 0, sys_obreak }, /* 17 = obreak */ - { 2, s(struct ibcs2_sys_stat_args), + { 2, s(struct ibcs2_sys_stat_args), 0, ibcs2_sys_stat }, /* 18 = stat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43_sys_lseek }, /* 19 = lseek */ - { 0, 0, + { 0, 0, 0, sys_getpid }, /* 20 = getpid */ - { 6, s(struct ibcs2_sys_mount_args), + { 6, s(struct ibcs2_sys_mount_args), 0, ibcs2_sys_mount }, /* 21 = mount */ - { 1, s(struct ibcs2_sys_umount_args), + { 1, s(struct ibcs2_sys_umount_args), 0, ibcs2_sys_umount }, /* 22 = umount */ - { 1, s(struct ibcs2_sys_setuid_args), + { 1, s(struct ibcs2_sys_setuid_args), 0, ibcs2_sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 1, s(struct ibcs2_sys_stime_args), + { 1, s(struct ibcs2_sys_stime_args), 0, ibcs2_sys_stime }, /* 25 = stime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ibcs2_ptrace */ - { 1, s(struct ibcs2_sys_alarm_args), + { 1, s(struct ibcs2_sys_alarm_args), 0, ibcs2_sys_alarm }, /* 27 = alarm */ - { 2, s(struct ibcs2_sys_fstat_args), + { 2, s(struct ibcs2_sys_fstat_args), 0, ibcs2_sys_fstat }, /* 28 = fstat */ - { 0, 0, + { 0, 0, 0, ibcs2_sys_pause }, /* 29 = pause */ - { 2, s(struct ibcs2_sys_utime_args), + { 2, s(struct ibcs2_sys_utime_args), 0, ibcs2_sys_utime }, /* 30 = utime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 31 = unimplemented was stty */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 32 = unimplemented was gtty */ - { 2, s(struct ibcs2_sys_access_args), + { 2, s(struct ibcs2_sys_access_args), 0, ibcs2_sys_access }, /* 33 = access */ - { 1, s(struct ibcs2_sys_nice_args), + { 1, s(struct ibcs2_sys_nice_args), 0, ibcs2_sys_nice }, /* 34 = nice */ - { 4, s(struct ibcs2_sys_statfs_args), + { 4, s(struct ibcs2_sys_statfs_args), 0, ibcs2_sys_statfs }, /* 35 = statfs */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct ibcs2_sys_kill_args), + { 2, s(struct ibcs2_sys_kill_args), 0, ibcs2_sys_kill }, /* 37 = kill */ - { 4, s(struct ibcs2_sys_fstatfs_args), + { 4, s(struct ibcs2_sys_fstatfs_args), 0, ibcs2_sys_fstatfs }, /* 38 = fstatfs */ - { 4, s(struct ibcs2_sys_pgrpsys_args), + { 4, s(struct ibcs2_sys_pgrpsys_args), 0, ibcs2_sys_pgrpsys }, /* 39 = pgrpsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 40 = unimplemented ibcs2_xenix */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_opipe }, /* 42 = opipe */ - { 1, s(struct ibcs2_sys_times_args), + { 1, s(struct ibcs2_sys_times_args), 0, ibcs2_sys_times }, /* 43 = times */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 44 = unimplemented profil */ - { 1, s(struct ibcs2_sys_plock_args), + { 1, s(struct ibcs2_sys_plock_args), 0, ibcs2_sys_plock }, /* 45 = plock */ - { 1, s(struct ibcs2_sys_setgid_args), + { 1, s(struct ibcs2_sys_setgid_args), 0, ibcs2_sys_setgid }, /* 46 = setgid */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 2, s(struct ibcs2_sys_sigsys_args), + { 2, s(struct ibcs2_sys_sigsys_args), 0, ibcs2_sys_sigsys }, /* 48 = sigsys */ #ifdef SYSVMSG - { 6, s(struct ibcs2_sys_msgsys_args), + { 6, s(struct ibcs2_sys_msgsys_args), 0, ibcs2_sys_msgsys }, /* 49 = msgsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 49 = unimplemented msgsys */ #endif - { 2, s(struct ibcs2_sys_sysi86_args), + { 2, s(struct ibcs2_sys_sysi86_args), 0, ibcs2_sys_sysi86 }, /* 50 = sysi86 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented ibcs2_acct */ #ifdef SYSVSHM - { 4, s(struct ibcs2_sys_shmsys_args), + { 4, s(struct ibcs2_sys_shmsys_args), 0, ibcs2_sys_shmsys }, /* 52 = shmsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 52 = unimplemented shmsys */ #endif #ifdef SYSVSEM - { 5, s(struct ibcs2_sys_semsys_args), + { 5, s(struct ibcs2_sys_semsys_args), 0, ibcs2_sys_semsys }, /* 53 = semsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 53 = unimplemented semsys */ #endif - { 3, s(struct ibcs2_sys_ioctl_args), + { 3, s(struct ibcs2_sys_ioctl_args), 0, ibcs2_sys_ioctl }, /* 54 = ioctl */ - { 3, s(struct ibcs2_sys_uadmin_args), + { 3, s(struct ibcs2_sys_uadmin_args), 0, ibcs2_sys_uadmin }, /* 55 = uadmin */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 56 = unimplemented */ - { 3, s(struct ibcs2_sys_utssys_args), + { 3, s(struct ibcs2_sys_utssys_args), 0, ibcs2_sys_utssys }, /* 57 = utssys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 58 = unimplemented */ - { 3, s(struct ibcs2_sys_execve_args), + { 3, s(struct ibcs2_sys_execve_args), 0, ibcs2_sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 3, s(struct ibcs2_sys_fcntl_args), + { 3, s(struct ibcs2_sys_fcntl_args), 0, ibcs2_sys_fcntl }, /* 62 = fcntl */ - { 2, s(struct ibcs2_sys_ulimit_args), + { 2, s(struct ibcs2_sys_ulimit_args), 0, ibcs2_sys_ulimit }, /* 63 = ulimit */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 64 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 65 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 66 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 67 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 68 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 69 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 70 = obsolete rfs_advfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 71 = obsolete rfs_unadvfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 72 = obsolete rfs_rmount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 73 = obsolete rfs_rumount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 74 = obsolete rfs_rfstart */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 75 = obsolete rfs_sigret */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 76 = obsolete rfs_rdebug */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = obsolete rfs_rfstop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 78 = unimplemented rfs_rfsys */ - { 1, s(struct ibcs2_sys_rmdir_args), + { 1, s(struct ibcs2_sys_rmdir_args), 0, ibcs2_sys_rmdir }, /* 79 = rmdir */ - { 2, s(struct ibcs2_sys_mkdir_args), + { 2, s(struct ibcs2_sys_mkdir_args), 0, ibcs2_sys_mkdir }, /* 80 = mkdir */ - { 3, s(struct ibcs2_sys_getdents_args), + { 3, s(struct ibcs2_sys_getdents_args), 0, ibcs2_sys_getdents }, /* 81 = getdents */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 82 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 83 = unimplemented */ - { 3, s(struct ibcs2_sys_sysfs_args), + { 3, s(struct ibcs2_sys_sysfs_args), 0, ibcs2_sys_sysfs }, /* 84 = sysfs */ - { 4, s(struct ibcs2_sys_getmsg_args), + { 4, s(struct ibcs2_sys_getmsg_args), 0, ibcs2_sys_getmsg }, /* 85 = getmsg */ - { 4, s(struct ibcs2_sys_putmsg_args), + { 4, s(struct ibcs2_sys_putmsg_args), 0, ibcs2_sys_putmsg }, /* 86 = putmsg */ - { 3, s(struct sys_poll_args), + { 3, s(struct sys_poll_args), 0, sys_poll }, /* 87 = poll */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 88 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 89 = unimplemented */ - { 2, s(struct ibcs2_sys_symlink_args), + { 2, s(struct ibcs2_sys_symlink_args), 0, ibcs2_sys_symlink }, /* 90 = symlink */ - { 2, s(struct ibcs2_sys_lstat_args), + { 2, s(struct ibcs2_sys_lstat_args), 0, ibcs2_sys_lstat }, /* 91 = lstat */ - { 3, s(struct ibcs2_sys_readlink_args), + { 3, s(struct ibcs2_sys_readlink_args), 0, ibcs2_sys_readlink }, /* 92 = readlink */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 93 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 94 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 95 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 96 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 97 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 98 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 99 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 100 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 101 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 102 = unimplemented */ - { 1, s(struct sys_sigreturn_args), + { 1, s(struct sys_sigreturn_args), 0, sys_sigreturn }, /* 103 = sigreturn */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 104 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 105 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 106 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 107 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 108 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 109 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 110 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 111 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 112 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 113 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 114 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 115 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 116 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 117 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 118 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 119 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 120 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 121 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 122 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 123 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 124 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 125 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 126 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 127 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 128 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 129 = unimplemented xenix_xlocking */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 130 = unimplemented xenix_creatsem */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 131 = unimplemented xenix_opensem */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 132 = unimplemented xenix_sigsem */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 133 = unimplemented xenix_waitsem */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 134 = unimplemented xenix_nbwaitsem */ - { 1, s(struct xenix_sys_rdchk_args), + { 1, s(struct xenix_sys_rdchk_args), 0, xenix_sys_rdchk }, /* 135 = rdchk */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 136 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 137 = unimplemented */ - { 2, s(struct xenix_sys_chsize_args), + { 2, s(struct xenix_sys_chsize_args), 0, xenix_sys_chsize }, /* 138 = chsize */ - { 1, s(struct xenix_sys_ftime_args), + { 1, s(struct xenix_sys_ftime_args), 0, xenix_sys_ftime }, /* 139 = ftime */ - { 1, s(struct xenix_sys_nap_args), + { 1, s(struct xenix_sys_nap_args), 0, xenix_sys_nap }, /* 140 = nap */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 141 = unimplemented xenix_sdget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 142 = unimplemented xenix_sdfree */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 143 = unimplemented xenix_sdenter */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 144 = unimplemented xenix_sdleave */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 145 = unimplemented xenix_sdgetv */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 146 = unimplemented xenix_sdwaitv */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 147 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 148 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 149 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 150 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 153 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 154 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 155 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 156 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 157 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 158 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 159 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 160 = unimplemented xenix_proctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 161 = unimplemented xenix_execseg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 162 = unimplemented xenix_unexecseg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 163 = unimplemented */ - { 5, s(struct sys_select_args), + { 5, s(struct sys_select_args), 0, sys_select }, /* 164 = select */ - { 2, s(struct ibcs2_sys_eaccess_args), + { 2, s(struct ibcs2_sys_eaccess_args), 0, ibcs2_sys_eaccess }, /* 165 = eaccess */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 166 = unimplemented xenix_paccess */ - { 3, s(struct ibcs2_sys_sigaction_args), + { 3, s(struct ibcs2_sys_sigaction_args), 0, ibcs2_sys_sigaction }, /* 167 = sigaction */ - { 3, s(struct ibcs2_sys_sigprocmask_args), + { 3, s(struct ibcs2_sys_sigprocmask_args), 0, ibcs2_sys_sigprocmask }, /* 168 = sigprocmask */ - { 1, s(struct ibcs2_sys_sigpending_args), + { 1, s(struct ibcs2_sys_sigpending_args), 0, ibcs2_sys_sigpending }, /* 169 = sigpending */ - { 1, s(struct ibcs2_sys_sigsuspend_args), + { 1, s(struct ibcs2_sys_sigsuspend_args), 0, ibcs2_sys_sigsuspend }, /* 170 = sigsuspend */ - { 2, s(struct ibcs2_sys_getgroups_args), + { 2, s(struct ibcs2_sys_getgroups_args), 0, ibcs2_sys_getgroups }, /* 171 = getgroups */ - { 2, s(struct ibcs2_sys_setgroups_args), + { 2, s(struct ibcs2_sys_setgroups_args), 0, ibcs2_sys_setgroups }, /* 172 = setgroups */ - { 1, s(struct ibcs2_sys_sysconf_args), + { 1, s(struct ibcs2_sys_sysconf_args), 0, ibcs2_sys_sysconf }, /* 173 = sysconf */ - { 2, s(struct ibcs2_sys_pathconf_args), + { 2, s(struct ibcs2_sys_pathconf_args), 0, ibcs2_sys_pathconf }, /* 174 = pathconf */ - { 2, s(struct ibcs2_sys_fpathconf_args), + { 2, s(struct ibcs2_sys_fpathconf_args), 0, ibcs2_sys_fpathconf }, /* 175 = fpathconf */ - { 2, s(struct ibcs2_sys_rename_args), + { 2, s(struct ibcs2_sys_rename_args), 0, ibcs2_sys_rename }, /* 176 = rename */ }; diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 672866a166f..af6d9c11e10 100644 --- a/sys/compat/linux/linux_syscall.h +++ b/sys/compat/linux/linux_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_syscall.h,v 1.51 2007/05/29 03:28:13 tedu Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.52 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index ea608b47e27..892be7b9a0f 100644 --- a/sys/compat/linux/linux_syscallargs.h +++ b/sys/compat/linux/linux_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_syscallargs.h,v 1.53 2007/05/29 03:28:13 tedu Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.54 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 82a20be180a..628312a8ff6 100644 --- a/sys/compat/linux/linux_syscalls.c +++ b/sys/compat/linux/linux_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_syscalls.c,v 1.51 2007/05/29 03:28:13 tedu Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.52 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index b1b70733b81..21da0719d39 100644 --- a/sys/compat/linux/linux_sysent.c +++ b/sys/compat/linux/linux_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_sysent.c,v 1.52 2007/05/29 03:28:13 tedu Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.53 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -21,566 +21,566 @@ #define s(type) sizeof(type) struct sysent linux_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct linux_sys_open_args), + { 3, s(struct linux_sys_open_args), 0, linux_sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 3, s(struct linux_sys_waitpid_args), + { 3, s(struct linux_sys_waitpid_args), 0, linux_sys_waitpid }, /* 7 = waitpid */ - { 2, s(struct linux_sys_creat_args), + { 2, s(struct linux_sys_creat_args), 0, linux_sys_creat }, /* 8 = creat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct linux_sys_unlink_args), + { 1, s(struct linux_sys_unlink_args), 0, linux_sys_unlink }, /* 10 = unlink */ - { 3, s(struct linux_sys_execve_args), + { 3, s(struct linux_sys_execve_args), 0, linux_sys_execve }, /* 11 = execve */ - { 1, s(struct linux_sys_chdir_args), + { 1, s(struct linux_sys_chdir_args), 0, linux_sys_chdir }, /* 12 = chdir */ - { 1, s(struct linux_sys_time_args), + { 1, s(struct linux_sys_time_args), 0, linux_sys_time }, /* 13 = time */ - { 3, s(struct linux_sys_mknod_args), + { 3, s(struct linux_sys_mknod_args), 0, linux_sys_mknod }, /* 14 = mknod */ - { 2, s(struct linux_sys_chmod_args), + { 2, s(struct linux_sys_chmod_args), 0, linux_sys_chmod }, /* 15 = chmod */ - { 3, s(struct linux_sys_lchown16_args), + { 3, s(struct linux_sys_lchown16_args), 0, linux_sys_lchown16 }, /* 16 = lchown16 */ - { 1, s(struct linux_sys_break_args), + { 1, s(struct linux_sys_break_args), 0, linux_sys_break }, /* 17 = break */ - { 0, 0, + { 0, 0, 0, linux_sys_ostat }, /* 18 = ostat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43_sys_lseek }, /* 19 = lseek */ - { 0, 0, + { 0, 0, 0, linux_sys_getpid }, /* 20 = getpid */ - { 5, s(struct linux_sys_mount_args), + { 5, s(struct linux_sys_mount_args), 0, linux_sys_mount }, /* 21 = mount */ - { 1, s(struct linux_sys_umount_args), + { 1, s(struct linux_sys_umount_args), 0, linux_sys_umount }, /* 22 = umount */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 23 = linux_setuid16 */ - { 0, 0, + { 0, 0, 0, linux_sys_getuid }, /* 24 = linux_getuid16 */ - { 1, s(struct linux_sys_stime_args), + { 1, s(struct linux_sys_stime_args), 0, linux_sys_stime }, /* 25 = stime */ #ifdef PTRACE - { 0, 0, + { 0, 0, 0, linux_sys_ptrace }, /* 26 = ptrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ptrace */ #endif - { 1, s(struct linux_sys_alarm_args), + { 1, s(struct linux_sys_alarm_args), 0, linux_sys_alarm }, /* 27 = alarm */ - { 0, 0, + { 0, 0, 0, linux_sys_ofstat }, /* 28 = ofstat */ - { 0, 0, + { 0, 0, 0, linux_sys_pause }, /* 29 = pause */ - { 2, s(struct linux_sys_utime_args), + { 2, s(struct linux_sys_utime_args), 0, linux_sys_utime }, /* 30 = utime */ - { 0, 0, + { 0, 0, 0, linux_sys_stty }, /* 31 = stty */ - { 0, 0, + { 0, 0, 0, linux_sys_gtty }, /* 32 = gtty */ - { 2, s(struct linux_sys_access_args), + { 2, s(struct linux_sys_access_args), 0, linux_sys_access }, /* 33 = access */ - { 1, s(struct linux_sys_nice_args), + { 1, s(struct linux_sys_nice_args), 0, linux_sys_nice }, /* 34 = nice */ - { 0, 0, + { 0, 0, 0, linux_sys_ftime }, /* 35 = ftime */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct linux_sys_kill_args), + { 2, s(struct linux_sys_kill_args), 0, linux_sys_kill }, /* 37 = kill */ - { 2, s(struct linux_sys_rename_args), + { 2, s(struct linux_sys_rename_args), 0, linux_sys_rename }, /* 38 = rename */ - { 2, s(struct linux_sys_mkdir_args), + { 2, s(struct linux_sys_mkdir_args), 0, linux_sys_mkdir }, /* 39 = mkdir */ - { 1, s(struct linux_sys_rmdir_args), + { 1, s(struct linux_sys_rmdir_args), 0, linux_sys_rmdir }, /* 40 = rmdir */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 1, s(struct linux_sys_pipe_args), + { 1, s(struct linux_sys_pipe_args), 0, linux_sys_pipe }, /* 42 = pipe */ - { 1, s(struct linux_sys_times_args), + { 1, s(struct linux_sys_times_args), 0, linux_sys_times }, /* 43 = times */ - { 0, 0, + { 0, 0, 0, linux_sys_prof }, /* 44 = prof */ - { 1, s(struct linux_sys_brk_args), + { 1, s(struct linux_sys_brk_args), 0, linux_sys_brk }, /* 45 = brk */ - { 1, s(struct sys_setgid_args), + { 1, s(struct sys_setgid_args), 0, sys_setgid }, /* 46 = linux_setgid16 */ - { 0, 0, + { 0, 0, 0, linux_sys_getgid }, /* 47 = linux_getgid16 */ - { 2, s(struct linux_sys_signal_args), + { 2, s(struct linux_sys_signal_args), 0, linux_sys_signal }, /* 48 = signal */ - { 0, 0, + { 0, 0, 0, sys_geteuid }, /* 49 = linux_geteuid16 */ - { 0, 0, + { 0, 0, 0, sys_getegid }, /* 50 = linux_getegid16 */ #ifdef ACCOUNTING - { 1, s(struct sys_acct_args), + { 1, s(struct sys_acct_args), 0, sys_acct }, /* 51 = acct */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #endif - { 0, 0, + { 0, 0, 0, linux_sys_phys }, /* 52 = phys */ - { 0, 0, + { 0, 0, 0, linux_sys_lock }, /* 53 = lock */ - { 3, s(struct linux_sys_ioctl_args), + { 3, s(struct linux_sys_ioctl_args), 0, linux_sys_ioctl }, /* 54 = ioctl */ - { 3, s(struct linux_sys_fcntl_args), + { 3, s(struct linux_sys_fcntl_args), 0, linux_sys_fcntl }, /* 55 = fcntl */ - { 0, 0, + { 0, 0, 0, linux_sys_mpx }, /* 56 = mpx */ - { 2, s(struct sys_setpgid_args), + { 2, s(struct sys_setpgid_args), 0, sys_setpgid }, /* 57 = setpgid */ - { 0, 0, + { 0, 0, 0, linux_sys_ulimit }, /* 58 = ulimit */ - { 1, s(struct linux_sys_oldolduname_args), + { 1, s(struct linux_sys_oldolduname_args), 0, linux_sys_oldolduname }, /* 59 = oldolduname */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 0, 0, + { 0, 0, 0, linux_sys_ustat }, /* 62 = ustat */ - { 2, s(struct sys_dup2_args), + { 2, s(struct sys_dup2_args), 0, sys_dup2 }, /* 63 = dup2 */ - { 0, 0, + { 0, 0, 0, sys_getppid }, /* 64 = getppid */ - { 0, 0, + { 0, 0, 0, sys_getpgrp }, /* 65 = getpgrp */ - { 0, 0, + { 0, 0, 0, sys_setsid }, /* 66 = setsid */ - { 3, s(struct linux_sys_sigaction_args), + { 3, s(struct linux_sys_sigaction_args), 0, linux_sys_sigaction }, /* 67 = sigaction */ - { 0, 0, + { 0, 0, 0, linux_sys_siggetmask }, /* 68 = siggetmask */ - { 1, s(struct linux_sys_sigsetmask_args), + { 1, s(struct linux_sys_sigsetmask_args), 0, linux_sys_sigsetmask }, /* 69 = sigsetmask */ - { 2, s(struct linux_sys_setreuid16_args), + { 2, s(struct linux_sys_setreuid16_args), 0, linux_sys_setreuid16 }, /* 70 = setreuid16 */ - { 2, s(struct linux_sys_setregid16_args), + { 2, s(struct linux_sys_setregid16_args), 0, linux_sys_setregid16 }, /* 71 = setregid16 */ - { 3, s(struct linux_sys_sigsuspend_args), + { 3, s(struct linux_sys_sigsuspend_args), 0, linux_sys_sigsuspend }, /* 72 = sigsuspend */ - { 1, s(struct linux_sys_sigpending_args), + { 1, s(struct linux_sys_sigpending_args), 0, linux_sys_sigpending }, /* 73 = sigpending */ - { 2, s(struct compat_43_sys_sethostname_args), + { 2, s(struct compat_43_sys_sethostname_args), 0, compat_43_sys_sethostname }, /* 74 = sethostname */ - { 2, s(struct linux_sys_setrlimit_args), + { 2, s(struct linux_sys_setrlimit_args), 0, linux_sys_setrlimit }, /* 75 = setrlimit */ - { 2, s(struct linux_sys_getrlimit_args), + { 2, s(struct linux_sys_getrlimit_args), 0, linux_sys_getrlimit }, /* 76 = getrlimit */ - { 2, s(struct sys_getrusage_args), + { 2, s(struct sys_getrusage_args), 0, sys_getrusage }, /* 77 = getrusage */ - { 2, s(struct sys_gettimeofday_args), + { 2, s(struct sys_gettimeofday_args), 0, sys_gettimeofday }, /* 78 = gettimeofday */ - { 2, s(struct sys_settimeofday_args), + { 2, s(struct sys_settimeofday_args), 0, sys_settimeofday }, /* 79 = settimeofday */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 80 = linux_getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 81 = linux_setgroups */ - { 1, s(struct linux_sys_oldselect_args), + { 1, s(struct linux_sys_oldselect_args), 0, linux_sys_oldselect }, /* 82 = oldselect */ - { 2, s(struct linux_sys_symlink_args), + { 2, s(struct linux_sys_symlink_args), 0, linux_sys_symlink }, /* 83 = symlink */ - { 2, s(struct compat_43_sys_lstat_args), + { 2, s(struct compat_43_sys_lstat_args), 0, compat_43_sys_lstat }, /* 84 = olstat */ - { 3, s(struct linux_sys_readlink_args), + { 3, s(struct linux_sys_readlink_args), 0, linux_sys_readlink }, /* 85 = readlink */ - { 1, s(struct linux_sys_uselib_args), + { 1, s(struct linux_sys_uselib_args), 0, linux_sys_uselib }, /* 86 = uselib */ - { 1, s(struct compat_25_sys_swapon_args), + { 1, s(struct compat_25_sys_swapon_args), 0, compat_25_sys_swapon }, /* 87 = swapon */ - { 1, s(struct sys_reboot_args), + { 1, s(struct sys_reboot_args), 0, sys_reboot }, /* 88 = reboot */ - { 3, s(struct linux_sys_readdir_args), + { 3, s(struct linux_sys_readdir_args), 0, linux_sys_readdir }, /* 89 = readdir */ - { 1, s(struct linux_sys_mmap_args), + { 1, s(struct linux_sys_mmap_args), 0, linux_sys_mmap }, /* 90 = mmap */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 91 = munmap */ - { 2, s(struct linux_sys_truncate_args), + { 2, s(struct linux_sys_truncate_args), 0, linux_sys_truncate }, /* 92 = truncate */ - { 2, s(struct compat_43_sys_ftruncate_args), + { 2, s(struct compat_43_sys_ftruncate_args), 0, compat_43_sys_ftruncate }, /* 93 = ftruncate */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 94 = fchmod */ - { 3, s(struct linux_sys_fchown16_args), + { 3, s(struct linux_sys_fchown16_args), 0, linux_sys_fchown16 }, /* 95 = fchown16 */ - { 2, s(struct sys_getpriority_args), + { 2, s(struct sys_getpriority_args), 0, sys_getpriority }, /* 96 = getpriority */ - { 3, s(struct sys_setpriority_args), + { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 97 = setpriority */ - { 4, s(struct sys_profil_args), + { 4, s(struct sys_profil_args), 0, sys_profil }, /* 98 = profil */ - { 2, s(struct linux_sys_statfs_args), + { 2, s(struct linux_sys_statfs_args), 0, linux_sys_statfs }, /* 99 = statfs */ - { 2, s(struct linux_sys_fstatfs_args), + { 2, s(struct linux_sys_fstatfs_args), 0, linux_sys_fstatfs }, /* 100 = fstatfs */ #ifdef __i386__ - { 3, s(struct linux_sys_ioperm_args), + { 3, s(struct linux_sys_ioperm_args), 0, linux_sys_ioperm }, /* 101 = ioperm */ #else - { 0, 0, + { 0, 0, 0, linux_sys_ioperm }, /* 101 = ioperm */ #endif - { 2, s(struct linux_sys_socketcall_args), + { 2, s(struct linux_sys_socketcall_args), 0, linux_sys_socketcall }, /* 102 = socketcall */ - { 0, 0, + { 0, 0, 0, linux_sys_klog }, /* 103 = klog */ - { 3, s(struct sys_setitimer_args), + { 3, s(struct sys_setitimer_args), 0, sys_setitimer }, /* 104 = setitimer */ - { 2, s(struct sys_getitimer_args), + { 2, s(struct sys_getitimer_args), 0, sys_getitimer }, /* 105 = getitimer */ - { 2, s(struct linux_sys_stat_args), + { 2, s(struct linux_sys_stat_args), 0, linux_sys_stat }, /* 106 = stat */ - { 2, s(struct linux_sys_lstat_args), + { 2, s(struct linux_sys_lstat_args), 0, linux_sys_lstat }, /* 107 = lstat */ - { 2, s(struct linux_sys_fstat_args), + { 2, s(struct linux_sys_fstat_args), 0, linux_sys_fstat }, /* 108 = fstat */ - { 1, s(struct linux_sys_olduname_args), + { 1, s(struct linux_sys_olduname_args), 0, linux_sys_olduname }, /* 109 = olduname */ #ifdef __i386__ - { 1, s(struct linux_sys_iopl_args), + { 1, s(struct linux_sys_iopl_args), 0, linux_sys_iopl }, /* 110 = iopl */ #else - { 0, 0, + { 0, 0, 0, linux_sys_iopl }, /* 110 = iopl */ #endif - { 0, 0, + { 0, 0, 0, linux_sys_vhangup }, /* 111 = vhangup */ - { 0, 0, + { 0, 0, 0, linux_sys_idle }, /* 112 = idle */ - { 0, 0, + { 0, 0, 0, linux_sys_vm86old }, /* 113 = vm86old */ - { 4, s(struct linux_sys_wait4_args), + { 4, s(struct linux_sys_wait4_args), 0, linux_sys_wait4 }, /* 114 = wait4 */ - { 0, 0, + { 0, 0, 0, linux_sys_swapoff }, /* 115 = swapoff */ - { 1, s(struct linux_sys_sysinfo_args), + { 1, s(struct linux_sys_sysinfo_args), 0, linux_sys_sysinfo }, /* 116 = sysinfo */ - { 5, s(struct linux_sys_ipc_args), + { 5, s(struct linux_sys_ipc_args), 0, linux_sys_ipc }, /* 117 = ipc */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 118 = fsync */ - { 1, s(struct linux_sys_sigreturn_args), + { 1, s(struct linux_sys_sigreturn_args), 0, linux_sys_sigreturn }, /* 119 = sigreturn */ - { 2, s(struct linux_sys_clone_args), + { 2, s(struct linux_sys_clone_args), 0, linux_sys_clone }, /* 120 = clone */ - { 2, s(struct compat_09_sys_setdomainname_args), + { 2, s(struct compat_09_sys_setdomainname_args), 0, compat_09_sys_setdomainname }, /* 121 = setdomainname */ - { 1, s(struct linux_sys_uname_args), + { 1, s(struct linux_sys_uname_args), 0, linux_sys_uname }, /* 122 = uname */ #ifdef __i386__ - { 3, s(struct linux_sys_modify_ldt_args), + { 3, s(struct linux_sys_modify_ldt_args), 0, linux_sys_modify_ldt }, /* 123 = modify_ldt */ #else - { 0, 0, + { 0, 0, 0, linux_sys_modify_ldt }, /* 123 = modify_ldt */ #endif - { 0, 0, + { 0, 0, 0, linux_sys_adjtimex }, /* 124 = adjtimex */ - { 3, s(struct sys_mprotect_args), + { 3, s(struct sys_mprotect_args), 0, sys_mprotect }, /* 125 = mprotect */ - { 3, s(struct linux_sys_sigprocmask_args), + { 3, s(struct linux_sys_sigprocmask_args), 0, linux_sys_sigprocmask }, /* 126 = sigprocmask */ - { 0, 0, + { 0, 0, 0, linux_sys_create_module }, /* 127 = create_module */ - { 0, 0, + { 0, 0, 0, linux_sys_init_module }, /* 128 = init_module */ - { 0, 0, + { 0, 0, 0, linux_sys_delete_module }, /* 129 = delete_module */ - { 0, 0, + { 0, 0, 0, linux_sys_get_kernel_syms }, /* 130 = get_kernel_syms */ - { 0, 0, + { 0, 0, 0, linux_sys_quotactl }, /* 131 = quotactl */ - { 1, s(struct linux_sys_getpgid_args), + { 1, s(struct linux_sys_getpgid_args), 0, linux_sys_getpgid }, /* 132 = getpgid */ - { 1, s(struct sys_fchdir_args), + { 1, s(struct sys_fchdir_args), 0, sys_fchdir }, /* 133 = fchdir */ - { 0, 0, + { 0, 0, 0, linux_sys_bdflush }, /* 134 = bdflush */ - { 0, 0, + { 0, 0, 0, linux_sys_sysfs }, /* 135 = sysfs */ - { 1, s(struct linux_sys_personality_args), + { 1, s(struct linux_sys_personality_args), 0, linux_sys_personality }, /* 136 = personality */ - { 0, 0, + { 0, 0, 0, linux_sys_afs_syscall }, /* 137 = afs_syscall */ - { 1, s(struct linux_sys_setfsuid_args), + { 1, s(struct linux_sys_setfsuid_args), 0, linux_sys_setfsuid }, /* 138 = linux_setfsuid16 */ - { 0, 0, + { 0, 0, 0, linux_sys_getfsuid }, /* 139 = linux_getfsuid16 */ - { 5, s(struct linux_sys_llseek_args), + { 5, s(struct linux_sys_llseek_args), 0, linux_sys_llseek }, /* 140 = llseek */ - { 3, s(struct linux_sys_getdents_args), + { 3, s(struct linux_sys_getdents_args), 0, linux_sys_getdents }, /* 141 = getdents */ - { 5, s(struct linux_sys_select_args), + { 5, s(struct linux_sys_select_args), 0, linux_sys_select }, /* 142 = select */ - { 2, s(struct sys_flock_args), + { 2, s(struct sys_flock_args), 0, sys_flock }, /* 143 = flock */ - { 3, s(struct sys_msync_args), + { 3, s(struct sys_msync_args), 0, sys_msync }, /* 144 = msync */ - { 3, s(struct sys_readv_args), + { 3, s(struct sys_readv_args), 0, sys_readv }, /* 145 = readv */ - { 3, s(struct sys_writev_args), + { 3, s(struct sys_writev_args), 0, sys_writev }, /* 146 = writev */ - { 1, s(struct linux_sys_getsid_args), + { 1, s(struct linux_sys_getsid_args), 0, linux_sys_getsid }, /* 147 = getsid */ - { 1, s(struct linux_sys_fdatasync_args), + { 1, s(struct linux_sys_fdatasync_args), 0, linux_sys_fdatasync }, /* 148 = fdatasync */ - { 1, s(struct linux_sys___sysctl_args), + { 1, s(struct linux_sys___sysctl_args), 0, linux_sys___sysctl }, /* 149 = __sysctl */ - { 2, s(struct sys_mlock_args), + { 2, s(struct sys_mlock_args), 0, sys_mlock }, /* 150 = mlock */ - { 2, s(struct sys_munlock_args), + { 2, s(struct sys_munlock_args), 0, sys_munlock }, /* 151 = munlock */ - { 0, 0, + { 0, 0, 0, linux_sys_mlockall }, /* 152 = mlockall */ - { 0, 0, + { 0, 0, 0, linux_sys_munlockall }, /* 153 = munlockall */ - { 2, s(struct linux_sys_sched_setparam_args), + { 2, s(struct linux_sys_sched_setparam_args), 0, linux_sys_sched_setparam }, /* 154 = sched_setparam */ - { 2, s(struct linux_sys_sched_getparam_args), + { 2, s(struct linux_sys_sched_getparam_args), 0, linux_sys_sched_getparam }, /* 155 = sched_getparam */ - { 3, s(struct linux_sys_sched_setscheduler_args), + { 3, s(struct linux_sys_sched_setscheduler_args), 0, linux_sys_sched_setscheduler }, /* 156 = sched_setscheduler */ - { 1, s(struct linux_sys_sched_getscheduler_args), + { 1, s(struct linux_sys_sched_getscheduler_args), 0, linux_sys_sched_getscheduler }, /* 157 = sched_getscheduler */ - { 0, 0, + { 0, 0, 0, linux_sys_sched_yield }, /* 158 = sched_yield */ - { 1, s(struct linux_sys_sched_get_priority_max_args), + { 1, s(struct linux_sys_sched_get_priority_max_args), 0, linux_sys_sched_get_priority_max }, /* 159 = sched_get_priority_max */ - { 1, s(struct linux_sys_sched_get_priority_min_args), + { 1, s(struct linux_sys_sched_get_priority_min_args), 0, linux_sys_sched_get_priority_min }, /* 160 = sched_get_priority_min */ - { 0, 0, + { 0, 0, 0, linux_sys_sched_rr_get_interval }, /* 161 = sched_rr_get_interval */ - { 2, s(struct sys_nanosleep_args), + { 2, s(struct sys_nanosleep_args), 0, sys_nanosleep }, /* 162 = nanosleep */ - { 4, s(struct linux_sys_mremap_args), + { 4, s(struct linux_sys_mremap_args), 0, linux_sys_mremap }, /* 163 = mremap */ - { 3, s(struct linux_sys_setresuid16_args), + { 3, s(struct linux_sys_setresuid16_args), 0, linux_sys_setresuid16 }, /* 164 = setresuid16 */ - { 3, s(struct linux_sys_getresuid16_args), + { 3, s(struct linux_sys_getresuid16_args), 0, linux_sys_getresuid16 }, /* 165 = getresuid16 */ - { 0, 0, + { 0, 0, 0, linux_sys_vm86 }, /* 166 = vm86 */ - { 0, 0, + { 0, 0, 0, linux_sys_query_module }, /* 167 = query_module */ - { 3, s(struct sys_poll_args), + { 3, s(struct sys_poll_args), 0, sys_poll }, /* 168 = poll */ - { 0, 0, + { 0, 0, 0, linux_sys_nfsservctl }, /* 169 = nfsservctl */ - { 3, s(struct linux_sys_setresgid16_args), + { 3, s(struct linux_sys_setresgid16_args), 0, linux_sys_setresgid16 }, /* 170 = setresgid16 */ - { 3, s(struct linux_sys_getresgid16_args), + { 3, s(struct linux_sys_getresgid16_args), 0, linux_sys_getresgid16 }, /* 171 = getresgid16 */ - { 0, 0, + { 0, 0, 0, linux_sys_prctl }, /* 172 = prctl */ - { 1, s(struct linux_sys_rt_sigreturn_args), + { 1, s(struct linux_sys_rt_sigreturn_args), 0, linux_sys_rt_sigreturn }, /* 173 = rt_sigreturn */ - { 4, s(struct linux_sys_rt_sigaction_args), + { 4, s(struct linux_sys_rt_sigaction_args), 0, linux_sys_rt_sigaction }, /* 174 = rt_sigaction */ - { 4, s(struct linux_sys_rt_sigprocmask_args), + { 4, s(struct linux_sys_rt_sigprocmask_args), 0, linux_sys_rt_sigprocmask }, /* 175 = rt_sigprocmask */ - { 2, s(struct linux_sys_rt_sigpending_args), + { 2, s(struct linux_sys_rt_sigpending_args), 0, linux_sys_rt_sigpending }, /* 176 = rt_sigpending */ - { 0, 0, + { 0, 0, 0, linux_sys_rt_sigtimedwait }, /* 177 = rt_sigtimedwait */ - { 0, 0, + { 0, 0, 0, linux_sys_rt_queueinfo }, /* 178 = rt_queueinfo */ - { 2, s(struct linux_sys_rt_sigsuspend_args), + { 2, s(struct linux_sys_rt_sigsuspend_args), 0, linux_sys_rt_sigsuspend }, /* 179 = rt_sigsuspend */ - { 4, s(struct linux_sys_pread_args), + { 4, s(struct linux_sys_pread_args), 0, linux_sys_pread }, /* 180 = pread */ - { 4, s(struct linux_sys_pwrite_args), + { 4, s(struct linux_sys_pwrite_args), 0, linux_sys_pwrite }, /* 181 = pwrite */ - { 3, s(struct linux_sys_chown16_args), + { 3, s(struct linux_sys_chown16_args), 0, linux_sys_chown16 }, /* 182 = chown16 */ - { 2, s(struct sys___getcwd_args), + { 2, s(struct sys___getcwd_args), 0, sys___getcwd }, /* 183 = __getcwd */ - { 0, 0, + { 0, 0, 0, linux_sys_capget }, /* 184 = capget */ - { 0, 0, + { 0, 0, 0, linux_sys_capset }, /* 185 = capset */ - { 2, s(struct linux_sys_sigaltstack_args), + { 2, s(struct linux_sys_sigaltstack_args), 0, linux_sys_sigaltstack }, /* 186 = sigaltstack */ - { 0, 0, + { 0, 0, 0, linux_sys_sendfile }, /* 187 = sendfile */ - { 0, 0, + { 0, 0, 0, linux_sys_getpmsg }, /* 188 = getpmsg */ - { 0, 0, + { 0, 0, 0, linux_sys_putpmsg }, /* 189 = putpmsg */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 190 = vfork */ - { 2, s(struct linux_sys_ugetrlimit_args), + { 2, s(struct linux_sys_ugetrlimit_args), 0, linux_sys_ugetrlimit }, /* 191 = ugetrlimit */ - { 6, s(struct linux_sys_mmap2_args), + { 6, s(struct linux_sys_mmap2_args), 0, linux_sys_mmap2 }, /* 192 = mmap2 */ - { 2, s(struct linux_sys_truncate64_args), + { 2, s(struct linux_sys_truncate64_args), 0, linux_sys_truncate64 }, /* 193 = truncate64 */ - { 2, s(struct linux_sys_ftruncate64_args), + { 2, s(struct linux_sys_ftruncate64_args), 0, linux_sys_ftruncate64 }, /* 194 = ftruncate64 */ - { 2, s(struct linux_sys_stat64_args), + { 2, s(struct linux_sys_stat64_args), 0, linux_sys_stat64 }, /* 195 = stat64 */ - { 2, s(struct linux_sys_lstat64_args), + { 2, s(struct linux_sys_lstat64_args), 0, linux_sys_lstat64 }, /* 196 = lstat64 */ - { 2, s(struct linux_sys_fstat64_args), + { 2, s(struct linux_sys_fstat64_args), 0, linux_sys_fstat64 }, /* 197 = fstat64 */ - { 0, 0, + { 0, 0, 0, linux_sys_lchown }, /* 198 = lchown */ - { 0, 0, + { 0, 0, 0, linux_sys_getuid }, /* 199 = getuid */ - { 0, 0, + { 0, 0, 0, linux_sys_getgid }, /* 200 = getgid */ - { 0, 0, + { 0, 0, 0, sys_geteuid }, /* 201 = geteuid */ - { 0, 0, + { 0, 0, 0, sys_getegid }, /* 202 = getegid */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 203 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 204 = setregid */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 205 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 206 = setgroups */ - { 0, 0, + { 0, 0, 0, linux_sys_fchown }, /* 207 = fchown */ - { 3, s(struct sys_setresuid_args), + { 3, s(struct sys_setresuid_args), 0, sys_setresuid }, /* 208 = setresuid */ - { 3, s(struct sys_getresuid_args), + { 3, s(struct sys_getresuid_args), 0, sys_getresuid }, /* 209 = getresuid */ - { 3, s(struct sys_setresgid_args), + { 3, s(struct sys_setresgid_args), 0, sys_setresgid }, /* 210 = setresgid */ - { 3, s(struct sys_getresgid_args), + { 3, s(struct sys_getresgid_args), 0, sys_getresgid }, /* 211 = getresgid */ - { 0, 0, + { 0, 0, 0, linux_sys_chown }, /* 212 = chown */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 213 = setuid */ - { 1, s(struct sys_setgid_args), + { 1, s(struct sys_setgid_args), 0, sys_setgid }, /* 214 = setgid */ - { 1, s(struct linux_sys_setfsuid_args), + { 1, s(struct linux_sys_setfsuid_args), 0, linux_sys_setfsuid }, /* 215 = setfsuid */ - { 0, 0, + { 0, 0, 0, linux_sys_setfsgid }, /* 216 = setfsgid */ - { 0, 0, + { 0, 0, 0, linux_sys_pivot_root }, /* 217 = pivot_root */ - { 0, 0, + { 0, 0, 0, linux_sys_mincore }, /* 218 = mincore */ - { 3, s(struct sys_madvise_args), + { 3, s(struct sys_madvise_args), 0, sys_madvise }, /* 219 = madvise */ - { 3, s(struct linux_sys_getdents64_args), + { 3, s(struct linux_sys_getdents64_args), 0, linux_sys_getdents64 }, /* 220 = getdents64 */ - { 3, s(struct linux_sys_fcntl64_args), + { 3, s(struct linux_sys_fcntl64_args), 0, linux_sys_fcntl64 }, /* 221 = fcntl64 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 222 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 224 = unimplemented linux_sys_gettid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 225 = unimplemented linux_sys_readahead */ - { 0, 0, + { 0, 0, 0, linux_sys_setxattr }, /* 226 = setxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_lsetxattr }, /* 227 = lsetxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_fsetxattr }, /* 228 = fsetxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_getxattr }, /* 229 = getxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_lgetxattr }, /* 230 = lgetxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_fgetxattr }, /* 231 = fgetxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_listxattr }, /* 232 = listxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_llistxattr }, /* 233 = llistxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_flistxattr }, /* 234 = flistxattr */ - { 0, 0, + { 0, 0, 0, linux_sys_removexattr }, /* 235 = removexattr */ - { 0, 0, + { 0, 0, 0, linux_sys_lremovexattr }, /* 236 = lremovexattr */ - { 0, 0, + { 0, 0, 0, linux_sys_fremovexattr }, /* 237 = fremovexattr */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 238 = unimplemented linux_sys_tkill */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 239 = unimplemented linux_sys_sendfile64 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 240 = unimplemented linux_sys_futex */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 241 = unimplemented linux_sys_sched_setaffinity */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 242 = unimplemented linux_sys_sched_getaffinity */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 243 = unimplemented linux_sys_set_thread_area */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 244 = unimplemented linux_sys_get_thread_area */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 245 = unimplemented linux_sys_io_setup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 246 = unimplemented linux_sys_io_destroy */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 247 = unimplemented linux_sys_io_getevents */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 248 = unimplemented linux_sys_io_submit */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 249 = unimplemented linux_sys_io_cancel */ - { 0, 0, + { 0, 0, 0, linux_sys_fadvise64 }, /* 250 = fadvise64 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 251 = unimplemented */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 252 = linux_exit_group */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 253 = unimplemented linux_sys_lookup_dcookie */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 254 = unimplemented linux_sys_epoll_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 255 = unimplemented linux_sys_epoll_ctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 256 = unimplemented linux_sys_epoll_wait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 257 = unimplemented linux_sys_remap_file_pages */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 258 = unimplemented linux_sys_set_tid_address */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 259 = unimplemented linux_sys_timer_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 260 = unimplemented linux_sys_timer_settime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 261 = unimplemented linux_sys_timer_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 262 = unimplemented linux_sys_timer_getoverrun */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 263 = unimplemented linux_sys_timer_delete */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 264 = unimplemented linux_sys_clock_settime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 265 = unimplemented linux_sys_clock_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 266 = unimplemented linux_sys_clock_getres */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 267 = unimplemented linux_sys_clock_nanosleep */ }; diff --git a/sys/compat/osf1/osf1_syscall.h b/sys/compat/osf1/osf1_syscall.h index bc3539a7a00..0b006149cc7 100644 --- a/sys/compat/osf1/osf1_syscall.h +++ b/sys/compat/osf1/osf1_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: osf1_syscall.h,v 1.11 2004/05/28 18:31:12 tedu Exp $ */ +/* $OpenBSD: osf1_syscall.h,v 1.12 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/osf1/osf1_syscallargs.h b/sys/compat/osf1/osf1_syscallargs.h index 40636caaef4..575f1546923 100644 --- a/sys/compat/osf1/osf1_syscallargs.h +++ b/sys/compat/osf1/osf1_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: osf1_syscallargs.h,v 1.12 2004/05/28 18:31:12 tedu Exp $ */ +/* $OpenBSD: osf1_syscallargs.h,v 1.13 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/osf1/osf1_syscalls.c b/sys/compat/osf1/osf1_syscalls.c index 695c39ba81b..f178f7c1730 100644 --- a/sys/compat/osf1/osf1_syscalls.c +++ b/sys/compat/osf1/osf1_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osf1_syscalls.c,v 1.11 2004/05/28 18:31:12 tedu Exp $ */ +/* $OpenBSD: osf1_syscalls.c,v 1.12 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/osf1/osf1_sysent.c b/sys/compat/osf1/osf1_sysent.c index e127e035619..de3752c0df4 100644 --- a/sys/compat/osf1/osf1_sysent.c +++ b/sys/compat/osf1/osf1_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osf1_sysent.c,v 1.11 2004/05/28 18:31:12 tedu Exp $ */ +/* $OpenBSD: osf1_sysent.c,v 1.12 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -19,534 +19,534 @@ #define s(type) sizeof(type) struct sysent osf1_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 5 = unimplemented old open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 4, s(struct osf1_sys_wait4_args), + { 4, s(struct osf1_sys_wait4_args), 0, osf1_sys_wait4 }, /* 7 = wait4 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 8 = unimplemented old creat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct sys_unlink_args), + { 1, s(struct sys_unlink_args), 0, sys_unlink }, /* 10 = unlink */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 11 = unimplemented execv */ - { 1, s(struct sys_chdir_args), + { 1, s(struct sys_chdir_args), 0, sys_chdir }, /* 12 = chdir */ - { 1, s(struct sys_fchdir_args), + { 1, s(struct sys_fchdir_args), 0, sys_fchdir }, /* 13 = fchdir */ - { 3, s(struct osf1_sys_mknod_args), + { 3, s(struct osf1_sys_mknod_args), 0, osf1_sys_mknod }, /* 14 = mknod */ - { 2, s(struct sys_chmod_args), + { 2, s(struct sys_chmod_args), 0, sys_chmod }, /* 15 = chmod */ - { 3, s(struct sys_chown_args), + { 3, s(struct sys_chown_args), 0, sys_chown }, /* 16 = chown */ - { 1, s(struct sys_obreak_args), + { 1, s(struct sys_obreak_args), 0, sys_obreak }, /* 17 = obreak */ - { 3, s(struct osf1_sys_getfsstat_args), + { 3, s(struct osf1_sys_getfsstat_args), 0, osf1_sys_getfsstat }, /* 18 = getfsstat */ - { 3, s(struct osf1_sys_lseek_args), + { 3, s(struct osf1_sys_lseek_args), 0, osf1_sys_lseek }, /* 19 = lseek */ - { 0, 0, + { 0, 0, 0, sys_getpid }, /* 20 = getpid */ - { 4, s(struct osf1_sys_mount_args), + { 4, s(struct osf1_sys_mount_args), 0, osf1_sys_mount }, /* 21 = mount */ - { 2, s(struct osf1_sys_unmount_args), + { 2, s(struct osf1_sys_unmount_args), 0, osf1_sys_unmount }, /* 22 = unmount */ - { 1, s(struct osf1_sys_setuid_args), + { 1, s(struct osf1_sys_setuid_args), 0, osf1_sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 25 = unimplemented exec_with_loader */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ptrace */ - { 3, s(struct osf1_sys_recvmsg_xopen_args), + { 3, s(struct osf1_sys_recvmsg_xopen_args), 0, osf1_sys_recvmsg_xopen }, /* 27 = recvmsg_xopen */ - { 3, s(struct osf1_sys_sendmsg_xopen_args), + { 3, s(struct osf1_sys_sendmsg_xopen_args), 0, osf1_sys_sendmsg_xopen }, /* 28 = sendmsg_xopen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 29 = unimplemented recvfrom */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 30 = unimplemented accept */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 31 = unimplemented getpeername */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 32 = unimplemented getsockname */ - { 2, s(struct osf1_sys_access_args), + { 2, s(struct osf1_sys_access_args), 0, osf1_sys_access }, /* 33 = access */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 34 = unimplemented chflags */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 35 = unimplemented fchflags */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct sys_kill_args), + { 2, s(struct sys_kill_args), 0, sys_kill }, /* 37 = kill */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 38 = unimplemented old stat */ - { 2, s(struct sys_setpgid_args), + { 2, s(struct sys_setpgid_args), 0, sys_setpgid }, /* 39 = setpgid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 40 = unimplemented old lstat */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_pipe }, /* 42 = pipe */ - { 4, s(struct osf1_sys_set_program_attributes_args), + { 4, s(struct osf1_sys_set_program_attributes_args), 0, osf1_sys_set_program_attributes }, /* 43 = set_program_attributes */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 44 = unimplemented profil */ - { 3, s(struct osf1_sys_open_args), + { 3, s(struct osf1_sys_open_args), 0, osf1_sys_open }, /* 45 = open */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 46 = obsolete sigaction */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 2, s(struct sys_sigprocmask_args), + { 2, s(struct sys_sigprocmask_args), 0, sys_sigprocmask }, /* 48 = sigprocmask */ - { 2, s(struct sys_getlogin_args), + { 2, s(struct sys_getlogin_args), 0, sys_getlogin }, /* 49 = getlogin */ - { 1, s(struct sys_setlogin_args), + { 1, s(struct sys_setlogin_args), 0, sys_setlogin }, /* 50 = setlogin */ #ifdef ACCOUNTING - { 1, s(struct sys_acct_args), + { 1, s(struct sys_acct_args), 0, sys_acct }, /* 51 = acct */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 52 = unimplemented sigpending */ - { 4, s(struct osf1_sys_classcntl_args), + { 4, s(struct osf1_sys_classcntl_args), 0, osf1_sys_classcntl }, /* 53 = classcntl */ - { 3, s(struct osf1_sys_ioctl_args), + { 3, s(struct osf1_sys_ioctl_args), 0, osf1_sys_ioctl }, /* 54 = ioctl */ - { 1, s(struct osf1_sys_reboot_args), + { 1, s(struct osf1_sys_reboot_args), 0, osf1_sys_reboot }, /* 55 = reboot */ - { 1, s(struct sys_revoke_args), + { 1, s(struct sys_revoke_args), 0, sys_revoke }, /* 56 = revoke */ - { 2, s(struct sys_symlink_args), + { 2, s(struct sys_symlink_args), 0, sys_symlink }, /* 57 = symlink */ - { 3, s(struct sys_readlink_args), + { 3, s(struct sys_readlink_args), 0, sys_readlink }, /* 58 = readlink */ - { 3, s(struct osf1_sys_execve_args), + { 3, s(struct osf1_sys_execve_args), 0, osf1_sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 62 = unimplemented old fstat */ - { 0, 0, + { 0, 0, 0, sys_getpgrp }, /* 63 = getpgrp */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getpagesize }, /* 64 = getpagesize */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 65 = unimplemented mremap */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 66 = vfork */ - { 2, s(struct osf1_sys_stat_args), + { 2, s(struct osf1_sys_stat_args), 0, osf1_sys_stat }, /* 67 = stat */ - { 2, s(struct osf1_sys_lstat_args), + { 2, s(struct osf1_sys_lstat_args), 0, osf1_sys_lstat }, /* 68 = lstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 69 = unimplemented sbrk */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 70 = unimplemented sstk */ - { 6, s(struct osf1_sys_mmap_args), + { 6, s(struct osf1_sys_mmap_args), 0, osf1_sys_mmap }, /* 71 = mmap */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 72 = unimplemented ovadvise */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 73 = munmap */ - { 3, s(struct osf1_sys_mprotect_args), + { 3, s(struct osf1_sys_mprotect_args), 0, osf1_sys_mprotect }, /* 74 = mprotect */ - { 3, s(struct osf1_sys_madvise_args), + { 3, s(struct osf1_sys_madvise_args), 0, osf1_sys_madvise }, /* 75 = madvise */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 76 = unimplemented old vhangup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = unimplemented kmodcall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 78 = unimplemented mincore */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 79 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 80 = setgroups */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 81 = unimplemented old getpgrp */ - { 2, s(struct sys_setpgid_args), + { 2, s(struct sys_setpgid_args), 0, sys_setpgid }, /* 82 = setpgrp */ - { 3, s(struct osf1_sys_setitimer_args), + { 3, s(struct osf1_sys_setitimer_args), 0, osf1_sys_setitimer }, /* 83 = setitimer */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 84 = unimplemented old wait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 85 = unimplemented table */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 86 = unimplemented getitimer */ - { 2, s(struct compat_43_sys_gethostname_args), + { 2, s(struct compat_43_sys_gethostname_args), 0, compat_43_sys_gethostname }, /* 87 = gethostname */ - { 2, s(struct compat_43_sys_sethostname_args), + { 2, s(struct compat_43_sys_sethostname_args), 0, compat_43_sys_sethostname }, /* 88 = sethostname */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getdtablesize }, /* 89 = getdtablesize */ - { 2, s(struct sys_dup2_args), + { 2, s(struct sys_dup2_args), 0, sys_dup2 }, /* 90 = dup2 */ - { 2, s(struct osf1_sys_fstat_args), + { 2, s(struct osf1_sys_fstat_args), 0, osf1_sys_fstat }, /* 91 = fstat */ - { 3, s(struct osf1_sys_fcntl_args), + { 3, s(struct osf1_sys_fcntl_args), 0, osf1_sys_fcntl }, /* 92 = fcntl */ - { 5, s(struct osf1_sys_select_args), + { 5, s(struct osf1_sys_select_args), 0, osf1_sys_select }, /* 93 = select */ - { 3, s(struct sys_poll_args), + { 3, s(struct sys_poll_args), 0, sys_poll }, /* 94 = poll */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 95 = fsync */ - { 3, s(struct sys_setpriority_args), + { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 96 = setpriority */ - { 3, s(struct osf1_sys_socket_args), + { 3, s(struct osf1_sys_socket_args), 0, osf1_sys_socket }, /* 97 = socket */ - { 3, s(struct sys_connect_args), + { 3, s(struct sys_connect_args), 0, sys_connect }, /* 98 = connect */ - { 3, s(struct compat_43_sys_accept_args), + { 3, s(struct compat_43_sys_accept_args), 0, compat_43_sys_accept }, /* 99 = accept */ - { 2, s(struct sys_getpriority_args), + { 2, s(struct sys_getpriority_args), 0, sys_getpriority }, /* 100 = getpriority */ - { 4, s(struct compat_43_sys_send_args), + { 4, s(struct compat_43_sys_send_args), 0, compat_43_sys_send }, /* 101 = send */ - { 4, s(struct compat_43_sys_recv_args), + { 4, s(struct compat_43_sys_recv_args), 0, compat_43_sys_recv }, /* 102 = recv */ - { 1, s(struct sys_sigreturn_args), + { 1, s(struct sys_sigreturn_args), 0, sys_sigreturn }, /* 103 = sigreturn */ - { 3, s(struct sys_bind_args), + { 3, s(struct sys_bind_args), 0, sys_bind }, /* 104 = bind */ - { 5, s(struct sys_setsockopt_args), + { 5, s(struct sys_setsockopt_args), 0, sys_setsockopt }, /* 105 = setsockopt */ - { 2, s(struct sys_listen_args), + { 2, s(struct sys_listen_args), 0, sys_listen }, /* 106 = listen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 107 = unimplemented plock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 108 = unimplemented old sigvec */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 109 = unimplemented old sigblock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 110 = unimplemented old sigsetmask */ - { 1, s(struct sys_sigsuspend_args), + { 1, s(struct sys_sigsuspend_args), 0, sys_sigsuspend }, /* 111 = sigsuspend */ - { 2, s(struct compat_43_sys_sigstack_args), + { 2, s(struct compat_43_sys_sigstack_args), 0, compat_43_sys_sigstack }, /* 112 = sigstack */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 113 = unimplemented old recvmsg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 114 = unimplemented old sendmsg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 115 = obsolete vtrace */ - { 2, s(struct osf1_sys_gettimeofday_args), + { 2, s(struct osf1_sys_gettimeofday_args), 0, osf1_sys_gettimeofday }, /* 116 = gettimeofday */ - { 2, s(struct osf1_sys_getrusage_args), + { 2, s(struct osf1_sys_getrusage_args), 0, osf1_sys_getrusage }, /* 117 = getrusage */ - { 5, s(struct sys_getsockopt_args), + { 5, s(struct sys_getsockopt_args), 0, sys_getsockopt }, /* 118 = getsockopt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 119 = unimplemented */ - { 3, s(struct osf1_sys_readv_args), + { 3, s(struct osf1_sys_readv_args), 0, osf1_sys_readv }, /* 120 = readv */ - { 3, s(struct osf1_sys_writev_args), + { 3, s(struct osf1_sys_writev_args), 0, osf1_sys_writev }, /* 121 = writev */ - { 2, s(struct osf1_sys_settimeofday_args), + { 2, s(struct osf1_sys_settimeofday_args), 0, osf1_sys_settimeofday }, /* 122 = settimeofday */ - { 3, s(struct sys_fchown_args), + { 3, s(struct sys_fchown_args), 0, sys_fchown }, /* 123 = fchown */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 124 = fchmod */ - { 6, s(struct compat_43_sys_recvfrom_args), + { 6, s(struct compat_43_sys_recvfrom_args), 0, compat_43_sys_recvfrom }, /* 125 = recvfrom */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 126 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 127 = setregid */ - { 2, s(struct sys_rename_args), + { 2, s(struct sys_rename_args), 0, sys_rename }, /* 128 = rename */ - { 2, s(struct osf1_sys_truncate_args), + { 2, s(struct osf1_sys_truncate_args), 0, osf1_sys_truncate }, /* 129 = truncate */ - { 2, s(struct osf1_sys_ftruncate_args), + { 2, s(struct osf1_sys_ftruncate_args), 0, osf1_sys_ftruncate }, /* 130 = ftruncate */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 131 = unimplemented flock */ - { 1, s(struct osf1_sys_setgid_args), + { 1, s(struct osf1_sys_setgid_args), 0, osf1_sys_setgid }, /* 132 = setgid */ - { 6, s(struct osf1_sys_sendto_args), + { 6, s(struct osf1_sys_sendto_args), 0, osf1_sys_sendto }, /* 133 = sendto */ - { 2, s(struct sys_shutdown_args), + { 2, s(struct sys_shutdown_args), 0, sys_shutdown }, /* 134 = shutdown */ - { 4, s(struct osf1_sys_socketpair_args), + { 4, s(struct osf1_sys_socketpair_args), 0, osf1_sys_socketpair }, /* 135 = socketpair */ - { 2, s(struct sys_mkdir_args), + { 2, s(struct sys_mkdir_args), 0, sys_mkdir }, /* 136 = mkdir */ - { 1, s(struct sys_rmdir_args), + { 1, s(struct sys_rmdir_args), 0, sys_rmdir }, /* 137 = rmdir */ - { 2, s(struct osf1_sys_utimes_args), + { 2, s(struct osf1_sys_utimes_args), 0, osf1_sys_utimes }, /* 138 = utimes */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 139 = obsolete 4.2 sigreturn */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 140 = unimplemented adjtime */ - { 3, s(struct compat_43_sys_getpeername_args), + { 3, s(struct compat_43_sys_getpeername_args), 0, compat_43_sys_getpeername }, /* 141 = getpeername */ - { 0, 0, + { 0, 0, 0, compat_43_sys_gethostid }, /* 142 = gethostid */ - { 1, s(struct compat_43_sys_sethostid_args), + { 1, s(struct compat_43_sys_sethostid_args), 0, compat_43_sys_sethostid }, /* 143 = sethostid */ - { 2, s(struct osf1_sys_getrlimit_args), + { 2, s(struct osf1_sys_getrlimit_args), 0, osf1_sys_getrlimit }, /* 144 = getrlimit */ - { 2, s(struct osf1_sys_setrlimit_args), + { 2, s(struct osf1_sys_setrlimit_args), 0, osf1_sys_setrlimit }, /* 145 = setrlimit */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 146 = unimplemented old killpg */ - { 0, 0, + { 0, 0, 0, sys_setsid }, /* 147 = setsid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 148 = unimplemented quotactl */ - { 0, 0, + { 0, 0, 0, compat_43_sys_quota }, /* 149 = quota */ - { 3, s(struct compat_43_sys_getsockname_args), + { 3, s(struct compat_43_sys_getsockname_args), 0, compat_43_sys_getsockname }, /* 150 = getsockname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented pread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented pwrite */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 153 = unimplemented pid_block */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 154 = unimplemented pid_unblock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 155 = unimplemented signal_urti */ - { 3, s(struct osf1_sys_sigaction_args), + { 3, s(struct osf1_sys_sigaction_args), 0, osf1_sys_sigaction }, /* 156 = sigaction */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 157 = unimplemented sigwaitprim */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 158 = unimplemented nfssvc */ - { 4, s(struct compat_43_sys_getdirentries_args), + { 4, s(struct compat_43_sys_getdirentries_args), 0, compat_43_sys_getdirentries }, /* 159 = getdirentries */ - { 3, s(struct osf1_sys_statfs_args), + { 3, s(struct osf1_sys_statfs_args), 0, osf1_sys_statfs }, /* 160 = statfs */ - { 3, s(struct osf1_sys_fstatfs_args), + { 3, s(struct osf1_sys_fstatfs_args), 0, osf1_sys_fstatfs }, /* 161 = fstatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 162 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 163 = unimplemented async_daemon */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 164 = unimplemented getfh */ - { 2, s(struct compat_09_sys_getdomainname_args), + { 2, s(struct compat_09_sys_getdomainname_args), 0, compat_09_sys_getdomainname }, /* 165 = getdomainname */ - { 2, s(struct compat_09_sys_setdomainname_args), + { 2, s(struct compat_09_sys_setdomainname_args), 0, compat_09_sys_setdomainname }, /* 166 = setdomainname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 167 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 168 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 169 = unimplemented exportfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 170 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 171 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 172 = unimplemented alt msgctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 173 = unimplemented alt msgget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 174 = unimplemented alt msgrcv */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 175 = unimplemented alt msgsnd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 176 = unimplemented alt semctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 177 = unimplemented alt semget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 178 = unimplemented alt semop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 179 = unimplemented alt uname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 180 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 181 = unimplemented alt plock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 182 = unimplemented lockf */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 183 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 184 = unimplemented getmnt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 185 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 186 = unimplemented unmount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 187 = unimplemented alt sigpending */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 188 = unimplemented alt setsid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 189 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 190 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 191 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 192 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 193 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 194 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 195 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 196 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 197 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 198 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 199 = unimplemented swapon */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 200 = unimplemented msgctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 201 = unimplemented msgget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 202 = unimplemented msgrcv */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 203 = unimplemented msgsnd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 204 = unimplemented semctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 205 = unimplemented semget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 206 = unimplemented semop */ - { 1, s(struct osf1_sys_uname_args), + { 1, s(struct osf1_sys_uname_args), 0, osf1_sys_uname }, /* 207 = uname */ - { 3, s(struct sys_lchown_args), + { 3, s(struct sys_lchown_args), 0, sys_lchown }, /* 208 = lchown */ - { 3, s(struct osf1_sys_shmat_args), + { 3, s(struct osf1_sys_shmat_args), 0, osf1_sys_shmat }, /* 209 = shmat */ - { 3, s(struct osf1_sys_shmctl_args), + { 3, s(struct osf1_sys_shmctl_args), 0, osf1_sys_shmctl }, /* 210 = shmctl */ - { 1, s(struct osf1_sys_shmdt_args), + { 1, s(struct osf1_sys_shmdt_args), 0, osf1_sys_shmdt }, /* 211 = shmdt */ - { 3, s(struct osf1_sys_shmget_args), + { 3, s(struct osf1_sys_shmget_args), 0, osf1_sys_shmget }, /* 212 = shmget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 213 = unimplemented mvalid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 214 = unimplemented getaddressconf */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 215 = unimplemented msleep */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 216 = unimplemented mwakeup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 217 = unimplemented msync */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 218 = unimplemented signal */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 219 = unimplemented utc gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 220 = unimplemented utc adjtime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 221 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 222 = unimplemented security */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = unimplemented kloadcall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 224 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 225 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 226 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 227 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 228 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 229 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 230 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 231 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 232 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 233 = unimplemented getpgid */ - { 1, s(struct sys_getsid_args), + { 1, s(struct sys_getsid_args), 0, sys_getsid }, /* 234 = getsid */ - { 2, s(struct osf1_sys_sigaltstack_args), + { 2, s(struct osf1_sys_sigaltstack_args), 0, osf1_sys_sigaltstack }, /* 235 = sigaltstack */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 236 = unimplemented waitid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 237 = unimplemented priocntlset */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 238 = unimplemented sigsendset */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 239 = unimplemented set_speculative */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 240 = unimplemented msfs_syscall */ - { 3, s(struct osf1_sys_sysinfo_args), + { 3, s(struct osf1_sys_sysinfo_args), 0, osf1_sys_sysinfo }, /* 241 = sysinfo */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 242 = unimplemented uadmin */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 243 = unimplemented fuser */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 244 = unimplemented proplist_syscall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 245 = unimplemented ntp_adjtime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 246 = unimplemented ntp_gettime */ - { 2, s(struct osf1_sys_pathconf_args), + { 2, s(struct osf1_sys_pathconf_args), 0, osf1_sys_pathconf }, /* 247 = pathconf */ - { 2, s(struct osf1_sys_fpathconf_args), + { 2, s(struct osf1_sys_fpathconf_args), 0, osf1_sys_fpathconf }, /* 248 = fpathconf */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 249 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 250 = unimplemented uswitch */ - { 2, s(struct osf1_sys_usleep_thread_args), + { 2, s(struct osf1_sys_usleep_thread_args), 0, osf1_sys_usleep_thread }, /* 251 = usleep_thread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 252 = unimplemented audcntl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 253 = unimplemented audgen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 254 = unimplemented sysfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 255 = unimplemented subsys_info */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 256 = unimplemented getsysinfo */ - { 5, s(struct osf1_sys_setsysinfo_args), + { 5, s(struct osf1_sys_setsysinfo_args), 0, osf1_sys_setsysinfo }, /* 257 = setsysinfo */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 258 = unimplemented afs_syscall */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 259 = unimplemented swapctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 260 = unimplemented memcntl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 261 = unimplemented fdatasync */ }; diff --git a/sys/compat/sunos/sunos_syscall.h b/sys/compat/sunos/sunos_syscall.h index 9c5aeffb1d5..ccc310eb7d2 100644 --- a/sys/compat/sunos/sunos_syscall.h +++ b/sys/compat/sunos/sunos_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sunos_syscall.h,v 1.18 2004/07/09 23:56:33 millert Exp $ */ +/* $OpenBSD: sunos_syscall.h,v 1.19 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/sunos/sunos_syscallargs.h b/sys/compat/sunos/sunos_syscallargs.h index 7b3b84987a1..6eeaf94050d 100644 --- a/sys/compat/sunos/sunos_syscallargs.h +++ b/sys/compat/sunos/sunos_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sunos_syscallargs.h,v 1.19 2004/07/09 23:56:33 millert Exp $ */ +/* $OpenBSD: sunos_syscallargs.h,v 1.20 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/sunos/sunos_syscalls.c b/sys/compat/sunos/sunos_syscalls.c index b3b1e98a3a8..de80c97086e 100644 --- a/sys/compat/sunos/sunos_syscalls.c +++ b/sys/compat/sunos/sunos_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sunos_syscalls.c,v 1.18 2004/07/09 23:56:33 millert Exp $ */ +/* $OpenBSD: sunos_syscalls.c,v 1.19 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/sunos/sunos_sysent.c b/sys/compat/sunos/sunos_sysent.c index 655f28e51e0..740d5d38b18 100644 --- a/sys/compat/sunos/sunos_sysent.c +++ b/sys/compat/sunos/sunos_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sunos_sysent.c,v 1.18 2004/07/09 23:56:33 millert Exp $ */ +/* $OpenBSD: sunos_sysent.c,v 1.19 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -19,422 +19,422 @@ #define s(type) sizeof(type) struct sysent sunos_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct sunos_sys_open_args), + { 3, s(struct sunos_sys_open_args), 0, sunos_sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 4, s(struct sunos_sys_wait4_args), + { 4, s(struct sunos_sys_wait4_args), 0, sunos_sys_wait4 }, /* 7 = wait4 */ - { 2, s(struct sunos_sys_creat_args), + { 2, s(struct sunos_sys_creat_args), 0, sunos_sys_creat }, /* 8 = creat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct sys_unlink_args), + { 1, s(struct sys_unlink_args), 0, sys_unlink }, /* 10 = unlink */ - { 2, s(struct sunos_sys_execv_args), + { 2, s(struct sunos_sys_execv_args), 0, sunos_sys_execv }, /* 11 = execv */ - { 1, s(struct sys_chdir_args), + { 1, s(struct sys_chdir_args), 0, sys_chdir }, /* 12 = chdir */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 13 = obsolete time */ - { 3, s(struct sunos_sys_mknod_args), + { 3, s(struct sunos_sys_mknod_args), 0, sunos_sys_mknod }, /* 14 = mknod */ - { 2, s(struct sys_chmod_args), + { 2, s(struct sys_chmod_args), 0, sys_chmod }, /* 15 = chmod */ - { 3, s(struct sys_lchown_args), + { 3, s(struct sys_lchown_args), 0, sys_lchown }, /* 16 = lchown */ - { 1, s(struct sys_obreak_args), + { 1, s(struct sys_obreak_args), 0, sys_obreak }, /* 17 = break */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 18 = obsolete stat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43_sys_lseek }, /* 19 = lseek */ - { 0, 0, + { 0, 0, 0, sys_getpid }, /* 20 = getpid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 21 = obsolete sunos_old_mount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 22 = unimplemented System V umount */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 1, s(struct sunos_sys_ostime_args), + { 1, s(struct sunos_sys_ostime_args), 0, sunos_sys_ostime }, /* 25 = ostime */ #ifdef PTRACE - { 5, s(struct sunos_sys_ptrace_args), + { 5, s(struct sunos_sys_ptrace_args), 0, sunos_sys_ptrace }, /* 26 = ptrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented sunos_ptrace */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 27 = unimplemented sunos_alarm */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 28 = unimplemented sunos_fstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 29 = unimplemented sunos_pause */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 30 = unimplemented sunos_utime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 31 = unimplemented sunos_stty */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 32 = unimplemented sunos_gtty */ - { 2, s(struct sunos_sys_access_args), + { 2, s(struct sunos_sys_access_args), 0, sunos_sys_access }, /* 33 = access */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 34 = unimplemented sunos_nice */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 35 = unimplemented sunos_ftime */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct sys_kill_args), + { 2, s(struct sys_kill_args), 0, sys_kill }, /* 37 = kill */ - { 2, s(struct sunos_sys_stat_args), + { 2, s(struct sunos_sys_stat_args), 0, sunos_sys_stat }, /* 38 = stat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 39 = unimplemented sunos_setpgrp */ - { 2, s(struct sunos_sys_lstat_args), + { 2, s(struct sunos_sys_lstat_args), 0, sunos_sys_lstat }, /* 40 = lstat */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_opipe }, /* 42 = opipe */ - { 1, s(struct sunos_sys_otimes_args), + { 1, s(struct sunos_sys_otimes_args), 0, sunos_sys_otimes }, /* 43 = otimes */ - { 4, s(struct sys_profil_args), + { 4, s(struct sys_profil_args), 0, sys_profil }, /* 44 = profil */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 45 = unimplemented */ - { 1, s(struct sys_setgid_args), + { 1, s(struct sys_setgid_args), 0, sys_setgid }, /* 46 = setgid */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 48 = unimplemented sunos_ssig */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 49 = unimplemented reserved for USG */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 50 = unimplemented reserved for USG */ #ifdef ACCOUNTING - { 1, s(struct sys_acct_args), + { 1, s(struct sys_acct_args), 0, sys_acct }, /* 51 = acct */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 52 = unimplemented */ - { 4, s(struct sunos_sys_mctl_args), + { 4, s(struct sunos_sys_mctl_args), 0, sunos_sys_mctl }, /* 53 = mctl */ - { 3, s(struct sunos_sys_ioctl_args), + { 3, s(struct sunos_sys_ioctl_args), 0, sunos_sys_ioctl }, /* 54 = ioctl */ - { 2, s(struct sunos_sys_reboot_args), + { 2, s(struct sunos_sys_reboot_args), 0, sunos_sys_reboot }, /* 55 = reboot */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 56 = obsolete sunos_owait3 */ - { 2, s(struct sys_symlink_args), + { 2, s(struct sys_symlink_args), 0, sys_symlink }, /* 57 = symlink */ - { 3, s(struct sys_readlink_args), + { 3, s(struct sys_readlink_args), 0, sys_readlink }, /* 58 = readlink */ - { 3, s(struct sunos_sys_execve_args), + { 3, s(struct sunos_sys_execve_args), 0, sunos_sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 2, s(struct compat_43_sys_fstat_args), + { 2, s(struct compat_43_sys_fstat_args), 0, compat_43_sys_fstat }, /* 62 = fstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 63 = unimplemented */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getpagesize }, /* 64 = getpagesize */ - { 3, s(struct sys_msync_args), + { 3, s(struct sys_msync_args), 0, sys_msync }, /* 65 = msync */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 66 = vfork */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 67 = obsolete vread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 68 = obsolete vwrite */ - { 1, s(struct sys_sbrk_args), + { 1, s(struct sys_sbrk_args), 0, sys_sbrk }, /* 69 = sbrk */ - { 1, s(struct sys_sstk_args), + { 1, s(struct sys_sstk_args), 0, sys_sstk }, /* 70 = sstk */ - { 6, s(struct sunos_sys_mmap_args), + { 6, s(struct sunos_sys_mmap_args), 0, sunos_sys_mmap }, /* 71 = mmap */ - { 1, s(struct sys_ovadvise_args), + { 1, s(struct sys_ovadvise_args), 0, sys_ovadvise }, /* 72 = vadvise */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 73 = munmap */ - { 3, s(struct sys_mprotect_args), + { 3, s(struct sys_mprotect_args), 0, sys_mprotect }, /* 74 = mprotect */ - { 3, s(struct sys_madvise_args), + { 3, s(struct sys_madvise_args), 0, sys_madvise }, /* 75 = madvise */ - { 0, 0, + { 0, 0, 0, sunos_sys_vhangup }, /* 76 = vhangup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = unimplemented vlimit */ - { 3, s(struct sys_mincore_args), + { 3, s(struct sys_mincore_args), 0, sys_mincore }, /* 78 = mincore */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 79 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 80 = setgroups */ - { 0, 0, + { 0, 0, 0, sys_getpgrp }, /* 81 = getpgrp */ - { 2, s(struct sunos_sys_setpgrp_args), + { 2, s(struct sunos_sys_setpgrp_args), 0, sunos_sys_setpgrp }, /* 82 = setpgrp */ - { 3, s(struct sys_setitimer_args), + { 3, s(struct sys_setitimer_args), 0, sys_setitimer }, /* 83 = setitimer */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 84 = unimplemented { int sunos_sys_wait ( void ) ; } */ - { 1, s(struct compat_25_sys_swapon_args), + { 1, s(struct compat_25_sys_swapon_args), 0, compat_25_sys_swapon }, /* 85 = swapon */ - { 2, s(struct sys_getitimer_args), + { 2, s(struct sys_getitimer_args), 0, sys_getitimer }, /* 86 = getitimer */ - { 2, s(struct compat_43_sys_gethostname_args), + { 2, s(struct compat_43_sys_gethostname_args), 0, compat_43_sys_gethostname }, /* 87 = gethostname */ - { 2, s(struct compat_43_sys_sethostname_args), + { 2, s(struct compat_43_sys_sethostname_args), 0, compat_43_sys_sethostname }, /* 88 = sethostname */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getdtablesize }, /* 89 = getdtablesize */ - { 2, s(struct sys_dup2_args), + { 2, s(struct sys_dup2_args), 0, sys_dup2 }, /* 90 = dup2 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 91 = unimplemented getdopt */ - { 3, s(struct sunos_sys_fcntl_args), + { 3, s(struct sunos_sys_fcntl_args), 0, sunos_sys_fcntl }, /* 92 = fcntl */ - { 5, s(struct sys_select_args), + { 5, s(struct sys_select_args), 0, sys_select }, /* 93 = select */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 94 = unimplemented setdopt */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 95 = fsync */ - { 3, s(struct sys_setpriority_args), + { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 96 = setpriority */ - { 3, s(struct sys_socket_args), + { 3, s(struct sys_socket_args), 0, sys_socket }, /* 97 = socket */ - { 3, s(struct sys_connect_args), + { 3, s(struct sys_connect_args), 0, sys_connect }, /* 98 = connect */ - { 3, s(struct compat_43_sys_accept_args), + { 3, s(struct compat_43_sys_accept_args), 0, compat_43_sys_accept }, /* 99 = accept */ - { 2, s(struct sys_getpriority_args), + { 2, s(struct sys_getpriority_args), 0, sys_getpriority }, /* 100 = getpriority */ - { 4, s(struct compat_43_sys_send_args), + { 4, s(struct compat_43_sys_send_args), 0, compat_43_sys_send }, /* 101 = send */ - { 4, s(struct compat_43_sys_recv_args), + { 4, s(struct compat_43_sys_recv_args), 0, compat_43_sys_recv }, /* 102 = recv */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 103 = unimplemented old socketaddr */ - { 3, s(struct sys_bind_args), + { 3, s(struct sys_bind_args), 0, sys_bind }, /* 104 = bind */ - { 5, s(struct sunos_sys_setsockopt_args), + { 5, s(struct sunos_sys_setsockopt_args), 0, sunos_sys_setsockopt }, /* 105 = setsockopt */ - { 2, s(struct sys_listen_args), + { 2, s(struct sys_listen_args), 0, sys_listen }, /* 106 = listen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 107 = unimplemented vtimes */ - { 3, s(struct sunos_sys_sigvec_args), + { 3, s(struct sunos_sys_sigvec_args), 0, sunos_sys_sigvec }, /* 108 = sigvec */ - { 1, s(struct compat_43_sys_sigblock_args), + { 1, s(struct compat_43_sys_sigblock_args), 0, compat_43_sys_sigblock }, /* 109 = sigblock */ - { 1, s(struct compat_43_sys_sigsetmask_args), + { 1, s(struct compat_43_sys_sigsetmask_args), 0, compat_43_sys_sigsetmask }, /* 110 = sigsetmask */ - { 1, s(struct sys_sigsuspend_args), + { 1, s(struct sys_sigsuspend_args), 0, sys_sigsuspend }, /* 111 = sigsuspend */ - { 2, s(struct compat_43_sys_sigstack_args), + { 2, s(struct compat_43_sys_sigstack_args), 0, compat_43_sys_sigstack }, /* 112 = sigstack */ - { 3, s(struct compat_43_sys_recvmsg_args), + { 3, s(struct compat_43_sys_recvmsg_args), 0, compat_43_sys_recvmsg }, /* 113 = recvmsg */ - { 3, s(struct compat_43_sys_sendmsg_args), + { 3, s(struct compat_43_sys_sendmsg_args), 0, compat_43_sys_sendmsg }, /* 114 = sendmsg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 115 = obsolete vtrace */ - { 2, s(struct sys_gettimeofday_args), + { 2, s(struct sys_gettimeofday_args), 0, sys_gettimeofday }, /* 116 = gettimeofday */ - { 2, s(struct sys_getrusage_args), + { 2, s(struct sys_getrusage_args), 0, sys_getrusage }, /* 117 = getrusage */ - { 5, s(struct sys_getsockopt_args), + { 5, s(struct sys_getsockopt_args), 0, sys_getsockopt }, /* 118 = getsockopt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 119 = unimplemented */ - { 3, s(struct sys_readv_args), + { 3, s(struct sys_readv_args), 0, sys_readv }, /* 120 = readv */ - { 3, s(struct sys_writev_args), + { 3, s(struct sys_writev_args), 0, sys_writev }, /* 121 = writev */ - { 2, s(struct sys_settimeofday_args), + { 2, s(struct sys_settimeofday_args), 0, sys_settimeofday }, /* 122 = settimeofday */ - { 3, s(struct sys_fchown_args), + { 3, s(struct sys_fchown_args), 0, sys_fchown }, /* 123 = fchown */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 124 = fchmod */ - { 6, s(struct compat_43_sys_recvfrom_args), + { 6, s(struct compat_43_sys_recvfrom_args), 0, compat_43_sys_recvfrom }, /* 125 = recvfrom */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 126 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 127 = setregid */ - { 2, s(struct sys_rename_args), + { 2, s(struct sys_rename_args), 0, sys_rename }, /* 128 = rename */ - { 2, s(struct compat_43_sys_truncate_args), + { 2, s(struct compat_43_sys_truncate_args), 0, compat_43_sys_truncate }, /* 129 = truncate */ - { 2, s(struct compat_43_sys_ftruncate_args), + { 2, s(struct compat_43_sys_ftruncate_args), 0, compat_43_sys_ftruncate }, /* 130 = ftruncate */ - { 2, s(struct sys_flock_args), + { 2, s(struct sys_flock_args), 0, sys_flock }, /* 131 = flock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 132 = unimplemented */ - { 6, s(struct sys_sendto_args), + { 6, s(struct sys_sendto_args), 0, sys_sendto }, /* 133 = sendto */ - { 2, s(struct sys_shutdown_args), + { 2, s(struct sys_shutdown_args), 0, sys_shutdown }, /* 134 = shutdown */ - { 4, s(struct sys_socketpair_args), + { 4, s(struct sys_socketpair_args), 0, sys_socketpair }, /* 135 = socketpair */ - { 2, s(struct sys_mkdir_args), + { 2, s(struct sys_mkdir_args), 0, sys_mkdir }, /* 136 = mkdir */ - { 1, s(struct sys_rmdir_args), + { 1, s(struct sys_rmdir_args), 0, sys_rmdir }, /* 137 = rmdir */ - { 2, s(struct sys_utimes_args), + { 2, s(struct sys_utimes_args), 0, sys_utimes }, /* 138 = utimes */ - { 1, s(struct sunos_sys_sigreturn_args), + { 1, s(struct sunos_sys_sigreturn_args), 0, sunos_sys_sigreturn }, /* 139 = sigreturn */ - { 2, s(struct sys_adjtime_args), + { 2, s(struct sys_adjtime_args), 0, sys_adjtime }, /* 140 = adjtime */ - { 3, s(struct compat_43_sys_getpeername_args), + { 3, s(struct compat_43_sys_getpeername_args), 0, compat_43_sys_getpeername }, /* 141 = getpeername */ - { 0, 0, + { 0, 0, 0, compat_43_sys_gethostid }, /* 142 = gethostid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 143 = unimplemented old sethostid */ - { 2, s(struct sunos_sys_getrlimit_args), + { 2, s(struct sunos_sys_getrlimit_args), 0, sunos_sys_getrlimit }, /* 144 = getrlimit */ - { 2, s(struct sunos_sys_setrlimit_args), + { 2, s(struct sunos_sys_setrlimit_args), 0, sunos_sys_setrlimit }, /* 145 = setrlimit */ - { 2, s(struct compat_43_sys_killpg_args), + { 2, s(struct compat_43_sys_killpg_args), 0, compat_43_sys_killpg }, /* 146 = killpg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 147 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 148 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 149 = unimplemented */ - { 3, s(struct compat_43_sys_getsockname_args), + { 3, s(struct compat_43_sys_getsockname_args), 0, compat_43_sys_getsockname }, /* 150 = getsockname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented getmsg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented putmsg */ - { 3, s(struct sys_poll_args), + { 3, s(struct sys_poll_args), 0, sys_poll }, /* 153 = poll */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 154 = unimplemented */ #ifdef NFSSERVER - { 1, s(struct sunos_sys_nfssvc_args), + { 1, s(struct sunos_sys_nfssvc_args), 0, sunos_sys_nfssvc }, /* 155 = nfssvc */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 155 = unimplemented */ #endif - { 4, s(struct sys_getdirentries_args), + { 4, s(struct sys_getdirentries_args), 0, sys_getdirentries }, /* 156 = getdirentries */ - { 2, s(struct sunos_sys_statfs_args), + { 2, s(struct sunos_sys_statfs_args), 0, sunos_sys_statfs }, /* 157 = statfs */ - { 2, s(struct sunos_sys_fstatfs_args), + { 2, s(struct sunos_sys_fstatfs_args), 0, sunos_sys_fstatfs }, /* 158 = fstatfs */ - { 1, s(struct sunos_sys_unmount_args), + { 1, s(struct sunos_sys_unmount_args), 0, sunos_sys_unmount }, /* 159 = unmount */ #ifdef NFSCLIENT - { 0, 0, + { 0, 0, 0, async_daemon }, /* 160 = async_daemon */ - { 2, s(struct sys_getfh_args), + { 2, s(struct sys_getfh_args), 0, sys_getfh }, /* 161 = getfh */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 160 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 161 = unimplemented */ #endif - { 2, s(struct compat_09_sys_getdomainname_args), + { 2, s(struct compat_09_sys_getdomainname_args), 0, compat_09_sys_getdomainname }, /* 162 = getdomainname */ - { 2, s(struct compat_09_sys_setdomainname_args), + { 2, s(struct compat_09_sys_setdomainname_args), 0, compat_09_sys_setdomainname }, /* 163 = setdomainname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 164 = unimplemented rtschedule */ - { 4, s(struct sunos_sys_quotactl_args), + { 4, s(struct sunos_sys_quotactl_args), 0, sunos_sys_quotactl }, /* 165 = quotactl */ - { 2, s(struct sunos_sys_exportfs_args), + { 2, s(struct sunos_sys_exportfs_args), 0, sunos_sys_exportfs }, /* 166 = exportfs */ - { 4, s(struct sunos_sys_mount_args), + { 4, s(struct sunos_sys_mount_args), 0, sunos_sys_mount }, /* 167 = mount */ - { 2, s(struct sunos_sys_ustat_args), + { 2, s(struct sunos_sys_ustat_args), 0, sunos_sys_ustat }, /* 168 = ustat */ #ifdef SYSVSEM - { 5, s(struct compat_10_sys_semsys_args), + { 5, s(struct compat_10_sys_semsys_args), 0, compat_10_sys_semsys }, /* 169 = semsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 169 = unimplemented semsys */ #endif #ifdef SYSVMSG - { 6, s(struct compat_10_sys_msgsys_args), + { 6, s(struct compat_10_sys_msgsys_args), 0, compat_10_sys_msgsys }, /* 170 = msgsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 170 = unimplemented msgsys */ #endif #ifdef SYSVSHM - { 4, s(struct compat_10_sys_shmsys_args), + { 4, s(struct compat_10_sys_shmsys_args), 0, compat_10_sys_shmsys }, /* 171 = shmsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 171 = unimplemented shmsys */ #endif - { 1, s(struct sunos_sys_auditsys_args), + { 1, s(struct sunos_sys_auditsys_args), 0, sunos_sys_auditsys }, /* 172 = auditsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 173 = unimplemented rfssys */ - { 3, s(struct sunos_sys_getdents_args), + { 3, s(struct sunos_sys_getdents_args), 0, sunos_sys_getdents }, /* 174 = getdents */ - { 0, 0, + { 0, 0, 0, sys_setsid }, /* 175 = setsid */ - { 1, s(struct sys_fchdir_args), + { 1, s(struct sys_fchdir_args), 0, sys_fchdir }, /* 176 = fchdir */ - { 1, s(struct sunos_sys_fchroot_args), + { 1, s(struct sunos_sys_fchroot_args), 0, sunos_sys_fchroot }, /* 177 = fchroot */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 178 = unimplemented vpixsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 179 = unimplemented aioread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 180 = unimplemented aiowrite */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 181 = unimplemented aiowait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 182 = unimplemented aiocancel */ - { 1, s(struct sunos_sys_sigpending_args), + { 1, s(struct sunos_sys_sigpending_args), 0, sunos_sys_sigpending }, /* 183 = sigpending */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 184 = unimplemented */ - { 2, s(struct sys_setpgid_args), + { 2, s(struct sys_setpgid_args), 0, sys_setpgid }, /* 185 = setpgid */ - { 2, s(struct sys_pathconf_args), + { 2, s(struct sys_pathconf_args), 0, sys_pathconf }, /* 186 = pathconf */ - { 2, s(struct sys_fpathconf_args), + { 2, s(struct sys_fpathconf_args), 0, sys_fpathconf }, /* 187 = fpathconf */ - { 1, s(struct sunos_sys_sysconf_args), + { 1, s(struct sunos_sys_sysconf_args), 0, sunos_sys_sysconf }, /* 188 = sysconf */ - { 1, s(struct sunos_sys_uname_args), + { 1, s(struct sunos_sys_uname_args), 0, sunos_sys_uname }, /* 189 = uname */ }; diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index 3bf15be30d8..b3246d23912 100644 --- a/sys/compat/svr4/svr4_syscall.h +++ b/sys/compat/svr4/svr4_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_syscall.h,v 1.34 2003/01/30 03:32:44 millert Exp $ */ +/* $OpenBSD: svr4_syscall.h,v 1.35 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h index aabca755a8c..567b9783d10 100644 --- a/sys/compat/svr4/svr4_syscallargs.h +++ b/sys/compat/svr4/svr4_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_syscallargs.h,v 1.35 2003/01/30 03:32:44 millert Exp $ */ +/* $OpenBSD: svr4_syscallargs.h,v 1.36 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c index c7d2780c8f7..4078143af14 100644 --- a/sys/compat/svr4/svr4_syscalls.c +++ b/sys/compat/svr4/svr4_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_syscalls.c,v 1.34 2003/01/30 03:32:44 millert Exp $ */ +/* $OpenBSD: svr4_syscalls.c,v 1.35 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index 55b98855812..418b02f8519 100644 --- a/sys/compat/svr4/svr4_sysent.c +++ b/sys/compat/svr4/svr4_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_sysent.c,v 1.34 2003/01/30 03:32:44 millert Exp $ */ +/* $OpenBSD: svr4_sysent.c,v 1.35 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -23,520 +23,520 @@ #define s(type) sizeof(type) struct sysent svr4_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct svr4_sys_open_args), + { 3, s(struct svr4_sys_open_args), 0, svr4_sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 1, s(struct svr4_sys_wait_args), + { 1, s(struct svr4_sys_wait_args), 0, svr4_sys_wait }, /* 7 = wait */ - { 2, s(struct svr4_sys_creat_args), + { 2, s(struct svr4_sys_creat_args), 0, svr4_sys_creat }, /* 8 = creat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct sys_unlink_args), + { 1, s(struct sys_unlink_args), 0, sys_unlink }, /* 10 = unlink */ - { 2, s(struct svr4_sys_execv_args), + { 2, s(struct svr4_sys_execv_args), 0, svr4_sys_execv }, /* 11 = execv */ - { 1, s(struct sys_chdir_args), + { 1, s(struct sys_chdir_args), 0, sys_chdir }, /* 12 = chdir */ - { 1, s(struct svr4_sys_time_args), + { 1, s(struct svr4_sys_time_args), 0, svr4_sys_time }, /* 13 = time */ - { 3, s(struct svr4_sys_mknod_args), + { 3, s(struct svr4_sys_mknod_args), 0, svr4_sys_mknod }, /* 14 = mknod */ - { 2, s(struct sys_chmod_args), + { 2, s(struct sys_chmod_args), 0, sys_chmod }, /* 15 = chmod */ - { 3, s(struct sys_chown_args), + { 3, s(struct sys_chown_args), 0, sys_chown }, /* 16 = chown */ - { 1, s(struct svr4_sys_break_args), + { 1, s(struct svr4_sys_break_args), 0, svr4_sys_break }, /* 17 = break */ - { 2, s(struct svr4_sys_stat_args), + { 2, s(struct svr4_sys_stat_args), 0, svr4_sys_stat }, /* 18 = stat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43_sys_lseek }, /* 19 = lseek */ - { 0, 0, + { 0, 0, 0, sys_getpid }, /* 20 = getpid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 21 = unimplemented old_mount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 22 = unimplemented System V umount */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 25 = unimplemented stime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ptrace */ - { 1, s(struct svr4_sys_alarm_args), + { 1, s(struct svr4_sys_alarm_args), 0, svr4_sys_alarm }, /* 27 = alarm */ - { 2, s(struct svr4_sys_fstat_args), + { 2, s(struct svr4_sys_fstat_args), 0, svr4_sys_fstat }, /* 28 = fstat */ - { 0, 0, + { 0, 0, 0, svr4_sys_pause }, /* 29 = pause */ - { 2, s(struct svr4_sys_utime_args), + { 2, s(struct svr4_sys_utime_args), 0, svr4_sys_utime }, /* 30 = utime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 31 = unimplemented was stty */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 32 = unimplemented was gtty */ - { 2, s(struct svr4_sys_access_args), + { 2, s(struct svr4_sys_access_args), 0, svr4_sys_access }, /* 33 = access */ - { 1, s(struct svr4_sys_nice_args), + { 1, s(struct svr4_sys_nice_args), 0, svr4_sys_nice }, /* 34 = nice */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 35 = unimplemented statfs */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct svr4_sys_kill_args), + { 2, s(struct svr4_sys_kill_args), 0, svr4_sys_kill }, /* 37 = kill */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 38 = unimplemented fstatfs */ - { 3, s(struct svr4_sys_pgrpsys_args), + { 3, s(struct svr4_sys_pgrpsys_args), 0, svr4_sys_pgrpsys }, /* 39 = pgrpsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 40 = unimplemented xenix */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_opipe }, /* 42 = opipe */ - { 1, s(struct svr4_sys_times_args), + { 1, s(struct svr4_sys_times_args), 0, svr4_sys_times }, /* 43 = times */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 44 = unimplemented profil */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 45 = unimplemented plock */ - { 1, s(struct sys_setgid_args), + { 1, s(struct sys_setgid_args), 0, sys_setgid }, /* 46 = setgid */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 2, s(struct svr4_sys_signal_args), + { 2, s(struct svr4_sys_signal_args), 0, svr4_sys_signal }, /* 48 = signal */ #ifdef SYSVMSG - { 5, s(struct svr4_sys_msgsys_args), + { 5, s(struct svr4_sys_msgsys_args), 0, svr4_sys_msgsys }, /* 49 = msgsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 49 = unimplemented msgsys */ #endif - { 2, s(struct svr4_sys_sysarch_args), + { 2, s(struct svr4_sys_sysarch_args), 0, svr4_sys_sysarch }, /* 50 = sysarch */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #ifdef SYSVSHM - { 4, s(struct svr4_sys_shmsys_args), + { 4, s(struct svr4_sys_shmsys_args), 0, svr4_sys_shmsys }, /* 52 = shmsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 52 = unimplemented shmsys */ #endif #ifdef SYSVSEM - { 5, s(struct svr4_sys_semsys_args), + { 5, s(struct svr4_sys_semsys_args), 0, svr4_sys_semsys }, /* 53 = semsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 53 = unimplemented semsys */ #endif - { 3, s(struct svr4_sys_ioctl_args), + { 3, s(struct svr4_sys_ioctl_args), 0, svr4_sys_ioctl }, /* 54 = ioctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 55 = unimplemented uadmin */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 56 = unimplemented exch */ - { 4, s(struct svr4_sys_utssys_args), + { 4, s(struct svr4_sys_utssys_args), 0, svr4_sys_utssys }, /* 57 = utssys */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 58 = fsync */ - { 3, s(struct svr4_sys_execve_args), + { 3, s(struct svr4_sys_execve_args), 0, svr4_sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 3, s(struct svr4_sys_fcntl_args), + { 3, s(struct svr4_sys_fcntl_args), 0, svr4_sys_fcntl }, /* 62 = fcntl */ - { 2, s(struct svr4_sys_ulimit_args), + { 2, s(struct svr4_sys_ulimit_args), 0, svr4_sys_ulimit }, /* 63 = ulimit */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 64 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 65 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 66 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 67 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 68 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 69 = unimplemented reserved for unix/pc */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 70 = obsolete advfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 71 = obsolete unadvfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 72 = obsolete rmount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 73 = obsolete rumount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 74 = obsolete rfstart */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 75 = obsolete sigret */ - { 0, 0, + { 0, 0, 0, svr4_sys_rdebug }, /* 76 = rdebug */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = obsolete rfstop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 78 = unimplemented rfsys */ - { 1, s(struct sys_rmdir_args), + { 1, s(struct sys_rmdir_args), 0, sys_rmdir }, /* 79 = rmdir */ - { 2, s(struct sys_mkdir_args), + { 2, s(struct sys_mkdir_args), 0, sys_mkdir }, /* 80 = mkdir */ - { 3, s(struct svr4_sys_getdents_args), + { 3, s(struct svr4_sys_getdents_args), 0, svr4_sys_getdents }, /* 81 = getdents */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 82 = obsolete libattach */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 83 = obsolete libdetach */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 84 = unimplemented sysfs */ - { 4, s(struct svr4_sys_getmsg_args), + { 4, s(struct svr4_sys_getmsg_args), 0, svr4_sys_getmsg }, /* 85 = getmsg */ - { 4, s(struct svr4_sys_putmsg_args), + { 4, s(struct svr4_sys_putmsg_args), 0, svr4_sys_putmsg }, /* 86 = putmsg */ - { 3, s(struct sys_poll_args), + { 3, s(struct sys_poll_args), 0, sys_poll }, /* 87 = poll */ - { 2, s(struct svr4_sys_lstat_args), + { 2, s(struct svr4_sys_lstat_args), 0, svr4_sys_lstat }, /* 88 = lstat */ - { 2, s(struct sys_symlink_args), + { 2, s(struct sys_symlink_args), 0, sys_symlink }, /* 89 = symlink */ - { 3, s(struct sys_readlink_args), + { 3, s(struct sys_readlink_args), 0, sys_readlink }, /* 90 = readlink */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 91 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 92 = setgroups */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 93 = fchmod */ - { 3, s(struct sys_fchown_args), + { 3, s(struct sys_fchown_args), 0, sys_fchown }, /* 94 = fchown */ - { 3, s(struct svr4_sys_sigprocmask_args), + { 3, s(struct svr4_sys_sigprocmask_args), 0, svr4_sys_sigprocmask }, /* 95 = sigprocmask */ - { 1, s(struct svr4_sys_sigsuspend_args), + { 1, s(struct svr4_sys_sigsuspend_args), 0, svr4_sys_sigsuspend }, /* 96 = sigsuspend */ - { 2, s(struct svr4_sys_sigaltstack_args), + { 2, s(struct svr4_sys_sigaltstack_args), 0, svr4_sys_sigaltstack }, /* 97 = sigaltstack */ - { 3, s(struct svr4_sys_sigaction_args), + { 3, s(struct svr4_sys_sigaction_args), 0, svr4_sys_sigaction }, /* 98 = sigaction */ - { 2, s(struct svr4_sys_sigpending_args), + { 2, s(struct svr4_sys_sigpending_args), 0, svr4_sys_sigpending }, /* 99 = sigpending */ - { 2, s(struct svr4_sys_context_args), + { 2, s(struct svr4_sys_context_args), 0, svr4_sys_context }, /* 100 = context */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 101 = unimplemented evsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 102 = unimplemented evtrapret */ - { 2, s(struct svr4_sys_statvfs_args), + { 2, s(struct svr4_sys_statvfs_args), 0, svr4_sys_statvfs }, /* 103 = statvfs */ - { 2, s(struct svr4_sys_fstatvfs_args), + { 2, s(struct svr4_sys_fstatvfs_args), 0, svr4_sys_fstatvfs }, /* 104 = fstatvfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 105 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 106 = unimplemented nfssvc */ - { 4, s(struct svr4_sys_waitsys_args), + { 4, s(struct svr4_sys_waitsys_args), 0, svr4_sys_waitsys }, /* 107 = waitsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 108 = unimplemented sigsendsys */ - { 5, s(struct svr4_sys_hrtsys_args), + { 5, s(struct svr4_sys_hrtsys_args), 0, svr4_sys_hrtsys }, /* 109 = hrtsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 110 = unimplemented acancel */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 111 = unimplemented async */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 112 = unimplemented priocntlsys */ - { 2, s(struct svr4_sys_pathconf_args), + { 2, s(struct svr4_sys_pathconf_args), 0, svr4_sys_pathconf }, /* 113 = pathconf */ - { 3, s(struct sys_mincore_args), + { 3, s(struct sys_mincore_args), 0, sys_mincore }, /* 114 = mincore */ - { 6, s(struct svr4_sys_mmap_args), + { 6, s(struct svr4_sys_mmap_args), 0, svr4_sys_mmap }, /* 115 = mmap */ - { 3, s(struct sys_mprotect_args), + { 3, s(struct sys_mprotect_args), 0, sys_mprotect }, /* 116 = mprotect */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 117 = munmap */ - { 2, s(struct svr4_sys_fpathconf_args), + { 2, s(struct svr4_sys_fpathconf_args), 0, svr4_sys_fpathconf }, /* 118 = fpathconf */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 119 = vfork */ - { 1, s(struct sys_fchdir_args), + { 1, s(struct sys_fchdir_args), 0, sys_fchdir }, /* 120 = fchdir */ - { 3, s(struct sys_readv_args), + { 3, s(struct sys_readv_args), 0, sys_readv }, /* 121 = readv */ - { 3, s(struct sys_writev_args), + { 3, s(struct sys_writev_args), 0, sys_writev }, /* 122 = writev */ - { 3, s(struct svr4_sys_xstat_args), + { 3, s(struct svr4_sys_xstat_args), 0, svr4_sys_xstat }, /* 123 = xstat */ - { 3, s(struct svr4_sys_lxstat_args), + { 3, s(struct svr4_sys_lxstat_args), 0, svr4_sys_lxstat }, /* 124 = lxstat */ - { 3, s(struct svr4_sys_fxstat_args), + { 3, s(struct svr4_sys_fxstat_args), 0, svr4_sys_fxstat }, /* 125 = fxstat */ - { 4, s(struct svr4_sys_xmknod_args), + { 4, s(struct svr4_sys_xmknod_args), 0, svr4_sys_xmknod }, /* 126 = xmknod */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 127 = unimplemented clocal */ - { 2, s(struct svr4_sys_setrlimit_args), + { 2, s(struct svr4_sys_setrlimit_args), 0, svr4_sys_setrlimit }, /* 128 = setrlimit */ - { 2, s(struct svr4_sys_getrlimit_args), + { 2, s(struct svr4_sys_getrlimit_args), 0, svr4_sys_getrlimit }, /* 129 = getrlimit */ - { 3, s(struct sys_lchown_args), + { 3, s(struct sys_lchown_args), 0, sys_lchown }, /* 130 = lchown */ - { 6, s(struct svr4_sys_memcntl_args), + { 6, s(struct svr4_sys_memcntl_args), 0, svr4_sys_memcntl }, /* 131 = memcntl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 132 = unimplemented getpmsg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 133 = unimplemented putpmsg */ - { 2, s(struct sys_rename_args), + { 2, s(struct sys_rename_args), 0, sys_rename }, /* 134 = rename */ - { 2, s(struct svr4_sys_uname_args), + { 2, s(struct svr4_sys_uname_args), 0, svr4_sys_uname }, /* 135 = uname */ - { 1, s(struct svr4_sys_setegid_args), + { 1, s(struct svr4_sys_setegid_args), 0, svr4_sys_setegid }, /* 136 = setegid */ - { 1, s(struct svr4_sys_sysconfig_args), + { 1, s(struct svr4_sys_sysconfig_args), 0, svr4_sys_sysconfig }, /* 137 = sysconfig */ - { 2, s(struct sys_adjtime_args), + { 2, s(struct sys_adjtime_args), 0, sys_adjtime }, /* 138 = adjtime */ - { 3, s(struct svr4_sys_systeminfo_args), + { 3, s(struct svr4_sys_systeminfo_args), 0, svr4_sys_systeminfo }, /* 139 = systeminfo */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 140 = unimplemented */ - { 1, s(struct sys_seteuid_args), + { 1, s(struct sys_seteuid_args), 0, sys_seteuid }, /* 141 = seteuid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 142 = unimplemented vtrace */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 143 = unimplemented fork1 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 144 = unimplemented sigtimedwait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 145 = unimplemented lwp_info */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 146 = unimplemented yield */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 147 = unimplemented lwp_sema_wait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 148 = unimplemented lwp_sema_post */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 149 = unimplemented lwp_sema_trywait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 150 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented modctl */ - { 1, s(struct svr4_sys_fchroot_args), + { 1, s(struct svr4_sys_fchroot_args), 0, svr4_sys_fchroot }, /* 153 = fchroot */ - { 2, s(struct svr4_sys_utimes_args), + { 2, s(struct svr4_sys_utimes_args), 0, svr4_sys_utimes }, /* 154 = utimes */ - { 0, 0, + { 0, 0, 0, svr4_sys_vhangup }, /* 155 = vhangup */ - { 1, s(struct svr4_sys_gettimeofday_args), + { 1, s(struct svr4_sys_gettimeofday_args), 0, svr4_sys_gettimeofday }, /* 156 = gettimeofday */ - { 2, s(struct sys_getitimer_args), + { 2, s(struct sys_getitimer_args), 0, sys_getitimer }, /* 157 = getitimer */ - { 3, s(struct sys_setitimer_args), + { 3, s(struct sys_setitimer_args), 0, sys_setitimer }, /* 158 = setitimer */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 159 = unimplemented lwp_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 160 = unimplemented lwp_exit */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 161 = unimplemented lwp_suspend */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 162 = unimplemented lwp_continue */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 163 = unimplemented lwp_kill */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 164 = unimplemented lwp_self */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 165 = unimplemented lwp_getprivate */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 166 = unimplemented lwp_setprivate */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 167 = unimplemented lwp_wait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 168 = unimplemented lwp_mutex_unlock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 169 = unimplemented lwp_mutex_lock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 170 = unimplemented lwp_cond_wait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 171 = unimplemented lwp_cond_signal */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 172 = unimplemented lwp_cond_broadcast */ - { 4, s(struct svr4_sys_pread_args), + { 4, s(struct svr4_sys_pread_args), 0, svr4_sys_pread }, /* 173 = pread */ - { 4, s(struct svr4_sys_pwrite_args), + { 4, s(struct svr4_sys_pwrite_args), 0, svr4_sys_pwrite }, /* 174 = pwrite */ - { 4, s(struct svr4_sys_llseek_args), + { 4, s(struct svr4_sys_llseek_args), 0, svr4_sys_llseek }, /* 175 = llseek */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 176 = unimplemented inst_sync */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 177 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 178 = unimplemented kaio */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 179 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 180 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 181 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 182 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 183 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 184 = unimplemented tsolsys */ - { 4, s(struct svr4_sys_acl_args), + { 4, s(struct svr4_sys_acl_args), 0, svr4_sys_acl }, /* 185 = acl */ - { 6, s(struct svr4_sys_auditsys_args), + { 6, s(struct svr4_sys_auditsys_args), 0, svr4_sys_auditsys }, /* 186 = auditsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 187 = unimplemented processor_bind */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 188 = unimplemented processor_info */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 189 = unimplemented p_online */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 190 = unimplemented sigqueue */ - { 2, s(struct sys_clock_gettime_args), + { 2, s(struct sys_clock_gettime_args), 0, sys_clock_gettime }, /* 191 = clock_gettime */ - { 2, s(struct sys_clock_settime_args), + { 2, s(struct sys_clock_settime_args), 0, sys_clock_settime }, /* 192 = clock_settime */ - { 2, s(struct sys_clock_getres_args), + { 2, s(struct sys_clock_getres_args), 0, sys_clock_getres }, /* 193 = clock_getres */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 194 = unimplemented timer_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 195 = unimplemented timer_delete */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 196 = unimplemented timer_settime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 197 = unimplemented timer_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 198 = unimplemented timer_getoverrun */ - { 2, s(struct sys_nanosleep_args), + { 2, s(struct sys_nanosleep_args), 0, sys_nanosleep }, /* 199 = nanosleep */ - { 4, s(struct svr4_sys_facl_args), + { 4, s(struct svr4_sys_facl_args), 0, svr4_sys_facl }, /* 200 = facl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 201 = unimplemented door */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 202 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 203 = setregid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 204 = unimplemented install_utrap */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 205 = unimplemented signotify */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 206 = unimplemented schedctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 207 = unimplemented pset */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 208 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 209 = unimplemented resolvepath */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 210 = unimplemented signotifywait */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 211 = unimplemented lwp_sigredirect */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 212 = unimplemented lwp_alarm */ - { 3, s(struct svr4_sys_getdents64_args), + { 3, s(struct svr4_sys_getdents64_args), 0, svr4_sys_getdents64 }, /* 213 = getdents64 */ - { 6, s(struct svr4_sys_mmap64_args), + { 6, s(struct svr4_sys_mmap64_args), 0, svr4_sys_mmap64 }, /* 214 = mmap64 */ - { 2, s(struct svr4_sys_stat64_args), + { 2, s(struct svr4_sys_stat64_args), 0, svr4_sys_stat64 }, /* 215 = stat64 */ - { 2, s(struct svr4_sys_lstat64_args), + { 2, s(struct svr4_sys_lstat64_args), 0, svr4_sys_lstat64 }, /* 216 = lstat64 */ - { 2, s(struct svr4_sys_fstat64_args), + { 2, s(struct svr4_sys_fstat64_args), 0, svr4_sys_fstat64 }, /* 217 = fstat64 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 218 = unimplemented statvfs64 */ - { 2, s(struct svr4_sys_fstatvfs64_args), + { 2, s(struct svr4_sys_fstatvfs64_args), 0, svr4_sys_fstatvfs64 }, /* 219 = fstatvfs64 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 220 = unimplemented setrlimit64 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 221 = unimplemented getrlimit64 */ - { 4, s(struct svr4_sys_pread64_args), + { 4, s(struct svr4_sys_pread64_args), 0, svr4_sys_pread64 }, /* 222 = pread64 */ - { 4, s(struct svr4_sys_pwrite64_args), + { 4, s(struct svr4_sys_pwrite64_args), 0, svr4_sys_pwrite64 }, /* 223 = pwrite64 */ - { 2, s(struct svr4_sys_creat64_args), + { 2, s(struct svr4_sys_creat64_args), 0, svr4_sys_creat64 }, /* 224 = creat64 */ - { 3, s(struct svr4_sys_open64_args), + { 3, s(struct svr4_sys_open64_args), 0, svr4_sys_open64 }, /* 225 = open64 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 226 = unimplemented rpcsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 227 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 228 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 229 = unimplemented */ - { 3, s(struct svr4_sys_socket_args), + { 3, s(struct svr4_sys_socket_args), 0, svr4_sys_socket }, /* 230 = socket */ - { 4, s(struct sys_socketpair_args), + { 4, s(struct sys_socketpair_args), 0, sys_socketpair }, /* 231 = socketpair */ - { 3, s(struct sys_bind_args), + { 3, s(struct sys_bind_args), 0, sys_bind }, /* 232 = bind */ - { 2, s(struct sys_listen_args), + { 2, s(struct sys_listen_args), 0, sys_listen }, /* 233 = listen */ - { 3, s(struct compat_43_sys_accept_args), + { 3, s(struct compat_43_sys_accept_args), 0, compat_43_sys_accept }, /* 234 = accept */ - { 3, s(struct sys_connect_args), + { 3, s(struct sys_connect_args), 0, sys_connect }, /* 235 = connect */ - { 2, s(struct sys_shutdown_args), + { 2, s(struct sys_shutdown_args), 0, sys_shutdown }, /* 236 = shutdown */ - { 4, s(struct compat_43_sys_recv_args), + { 4, s(struct compat_43_sys_recv_args), 0, compat_43_sys_recv }, /* 237 = recv */ - { 6, s(struct compat_43_sys_recvfrom_args), + { 6, s(struct compat_43_sys_recvfrom_args), 0, compat_43_sys_recvfrom }, /* 238 = recvfrom */ - { 3, s(struct compat_43_sys_recvmsg_args), + { 3, s(struct compat_43_sys_recvmsg_args), 0, compat_43_sys_recvmsg }, /* 239 = recvmsg */ - { 4, s(struct compat_43_sys_send_args), + { 4, s(struct compat_43_sys_send_args), 0, compat_43_sys_send }, /* 240 = send */ - { 3, s(struct compat_43_sys_sendmsg_args), + { 3, s(struct compat_43_sys_sendmsg_args), 0, compat_43_sys_sendmsg }, /* 241 = sendmsg */ - { 6, s(struct sys_sendto_args), + { 6, s(struct sys_sendto_args), 0, sys_sendto }, /* 242 = sendto */ - { 3, s(struct compat_43_sys_getpeername_args), + { 3, s(struct compat_43_sys_getpeername_args), 0, compat_43_sys_getpeername }, /* 243 = getpeername */ - { 3, s(struct compat_43_sys_getsockname_args), + { 3, s(struct compat_43_sys_getsockname_args), 0, compat_43_sys_getsockname }, /* 244 = getsockname */ - { 5, s(struct sys_getsockopt_args), + { 5, s(struct sys_getsockopt_args), 0, sys_getsockopt }, /* 245 = getsockopt */ - { 5, s(struct sys_setsockopt_args), + { 5, s(struct sys_setsockopt_args), 0, sys_setsockopt }, /* 246 = setsockopt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 247 = unimplemented sockconfig */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 248 = unimplemented ntp_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 249 = unimplemented ntp_adjtime */ }; diff --git a/sys/compat/ultrix/ultrix_syscall.h b/sys/compat/ultrix/ultrix_syscall.h index cd03d9fd184..1405c21fcea 100644 --- a/sys/compat/ultrix/ultrix_syscall.h +++ b/sys/compat/ultrix/ultrix_syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_syscall.h,v 1.13 2004/07/09 23:56:46 millert Exp $ */ +/* $OpenBSD: ultrix_syscall.h,v 1.14 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. diff --git a/sys/compat/ultrix/ultrix_syscallargs.h b/sys/compat/ultrix/ultrix_syscallargs.h index abf55a3c6a6..07c6ff48dcc 100644 --- a/sys/compat/ultrix/ultrix_syscallargs.h +++ b/sys/compat/ultrix/ultrix_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_syscallargs.h,v 1.14 2004/07/09 23:56:46 millert Exp $ */ +/* $OpenBSD: ultrix_syscallargs.h,v 1.15 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. diff --git a/sys/compat/ultrix/ultrix_syscalls.c b/sys/compat/ultrix/ultrix_syscalls.c index 92821a7e105..e081e1a6500 100644 --- a/sys/compat/ultrix/ultrix_syscalls.c +++ b/sys/compat/ultrix/ultrix_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_syscalls.c,v 1.13 2004/07/09 23:56:46 millert Exp $ */ +/* $OpenBSD: ultrix_syscalls.c,v 1.14 2007/11/27 18:05:59 art Exp $ */ /* * System call names. diff --git a/sys/compat/ultrix/ultrix_sysent.c b/sys/compat/ultrix/ultrix_sysent.c index 359698a4ec0..b7feb2757b2 100644 --- a/sys/compat/ultrix/ultrix_sysent.c +++ b/sys/compat/ultrix/ultrix_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_sysent.c,v 1.13 2004/07/09 23:56:46 millert Exp $ */ +/* $OpenBSD: ultrix_sysent.c,v 1.14 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. @@ -17,538 +17,538 @@ #define s(type) sizeof(type) struct sysent ultrix_sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct ultrix_sys_open_args), + { 3, s(struct ultrix_sys_open_args), 0, ultrix_sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 0, 0, + { 0, 0, 0, compat_43_sys_wait }, /* 7 = owait */ - { 2, s(struct ultrix_sys_creat_args), + { 2, s(struct ultrix_sys_creat_args), 0, ultrix_sys_creat }, /* 8 = creat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct sys_unlink_args), + { 1, s(struct sys_unlink_args), 0, sys_unlink }, /* 10 = unlink */ - { 2, s(struct ultrix_sys_execv_args), + { 2, s(struct ultrix_sys_execv_args), 0, ultrix_sys_execv }, /* 11 = execv */ - { 1, s(struct sys_chdir_args), + { 1, s(struct sys_chdir_args), 0, sys_chdir }, /* 12 = chdir */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 13 = obsolete time */ - { 3, s(struct ultrix_sys_mknod_args), + { 3, s(struct ultrix_sys_mknod_args), 0, ultrix_sys_mknod }, /* 14 = mknod */ - { 2, s(struct sys_chmod_args), + { 2, s(struct sys_chmod_args), 0, sys_chmod }, /* 15 = chmod */ - { 3, s(struct sys_lchown_args), + { 3, s(struct sys_lchown_args), 0, sys_lchown }, /* 16 = lchown */ - { 1, s(struct sys_obreak_args), + { 1, s(struct sys_obreak_args), 0, sys_obreak }, /* 17 = break */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 18 = obsolete stat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43_sys_lseek }, /* 19 = lseek */ - { 0, 0, + { 0, 0, 0, sys_getpid }, /* 20 = getpid */ - { 5, s(struct ultrix_sys_mount_args), + { 5, s(struct ultrix_sys_mount_args), 0, ultrix_sys_mount }, /* 21 = mount */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 22 = obsolete sysV_unmount */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 25 = obsolete v7 stime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = obsolete v7 ptrace */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 27 = obsolete v7 alarm */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 28 = obsolete v7 fstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 29 = obsolete v7 pause */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 30 = obsolete v7 utime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 31 = obsolete v7 stty */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 32 = obsolete v7 gtty */ - { 2, s(struct ultrix_sys_access_args), + { 2, s(struct ultrix_sys_access_args), 0, ultrix_sys_access }, /* 33 = access */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 34 = obsolete v7 nice */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 35 = obsolete v7 ftime */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct sys_kill_args), + { 2, s(struct sys_kill_args), 0, sys_kill }, /* 37 = kill */ - { 2, s(struct ultrix_sys_stat_args), + { 2, s(struct ultrix_sys_stat_args), 0, ultrix_sys_stat }, /* 38 = stat43 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 39 = obsolete v7 setpgrp */ - { 2, s(struct ultrix_sys_lstat_args), + { 2, s(struct ultrix_sys_lstat_args), 0, ultrix_sys_lstat }, /* 40 = olstat */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_opipe }, /* 42 = opipe */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 43 = obsolete v7 times */ - { 4, s(struct sys_profil_args), + { 4, s(struct sys_profil_args), 0, sys_profil }, /* 44 = profil */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 45 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 46 = obsolete v7 setgid */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 48 = unimplemented ssig */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 49 = unimplemented reserved for USG */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 50 = unimplemented reserved for USG */ #ifdef ACCOUNTING - { 1, s(struct sys_acct_args), + { 1, s(struct sys_acct_args), 0, sys_acct }, /* 51 = acct */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 52 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 53 = unimplemented syslock */ - { 3, s(struct ultrix_sys_ioctl_args), + { 3, s(struct ultrix_sys_ioctl_args), 0, ultrix_sys_ioctl }, /* 54 = ioctl */ - { 1, s(struct sys_reboot_args), + { 1, s(struct sys_reboot_args), 0, sys_reboot }, /* 55 = reboot */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 56 = unimplemented v7 mpxchan */ - { 2, s(struct sys_symlink_args), + { 2, s(struct sys_symlink_args), 0, sys_symlink }, /* 57 = symlink */ - { 3, s(struct sys_readlink_args), + { 3, s(struct sys_readlink_args), 0, sys_readlink }, /* 58 = readlink */ - { 3, s(struct ultrix_sys_execve_args), + { 3, s(struct ultrix_sys_execve_args), 0, ultrix_sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 2, s(struct compat_43_sys_fstat_args), + { 2, s(struct compat_43_sys_fstat_args), 0, compat_43_sys_fstat }, /* 62 = fstat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 63 = unimplemented */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getpagesize }, /* 64 = getpagesize */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 65 = unimplemented mremap */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 66 = vfork */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 67 = obsolete vread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 68 = obsolete vwrite */ - { 1, s(struct sys_sbrk_args), + { 1, s(struct sys_sbrk_args), 0, sys_sbrk }, /* 69 = sbrk */ - { 1, s(struct sys_sstk_args), + { 1, s(struct sys_sstk_args), 0, sys_sstk }, /* 70 = sstk */ - { 6, s(struct ultrix_sys_mmap_args), + { 6, s(struct ultrix_sys_mmap_args), 0, ultrix_sys_mmap }, /* 71 = mmap */ - { 1, s(struct sys_ovadvise_args), + { 1, s(struct sys_ovadvise_args), 0, sys_ovadvise }, /* 72 = vadvise */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 73 = munmap */ - { 3, s(struct sys_mprotect_args), + { 3, s(struct sys_mprotect_args), 0, sys_mprotect }, /* 74 = mprotect */ - { 3, s(struct sys_madvise_args), + { 3, s(struct sys_madvise_args), 0, sys_madvise }, /* 75 = madvise */ - { 0, 0, + { 0, 0, 0, ultrix_sys_vhangup }, /* 76 = vhangup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = unimplemented old vlimit */ - { 3, s(struct sys_mincore_args), + { 3, s(struct sys_mincore_args), 0, sys_mincore }, /* 78 = mincore */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 79 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 80 = setgroups */ - { 0, 0, + { 0, 0, 0, sys_getpgrp }, /* 81 = getpgrp */ - { 2, s(struct ultrix_sys_setpgrp_args), + { 2, s(struct ultrix_sys_setpgrp_args), 0, ultrix_sys_setpgrp }, /* 82 = setpgrp */ - { 3, s(struct sys_setitimer_args), + { 3, s(struct sys_setitimer_args), 0, sys_setitimer }, /* 83 = setitimer */ - { 3, s(struct ultrix_sys_wait3_args), + { 3, s(struct ultrix_sys_wait3_args), 0, ultrix_sys_wait3 }, /* 84 = wait3 */ - { 1, s(struct compat_25_sys_swapon_args), + { 1, s(struct compat_25_sys_swapon_args), 0, compat_25_sys_swapon }, /* 85 = swapon */ - { 2, s(struct sys_getitimer_args), + { 2, s(struct sys_getitimer_args), 0, sys_getitimer }, /* 86 = getitimer */ - { 2, s(struct compat_43_sys_gethostname_args), + { 2, s(struct compat_43_sys_gethostname_args), 0, compat_43_sys_gethostname }, /* 87 = gethostname */ - { 2, s(struct compat_43_sys_sethostname_args), + { 2, s(struct compat_43_sys_sethostname_args), 0, compat_43_sys_sethostname }, /* 88 = sethostname */ - { 0, 0, + { 0, 0, 0, compat_43_sys_getdtablesize }, /* 89 = getdtablesize */ - { 2, s(struct sys_dup2_args), + { 2, s(struct sys_dup2_args), 0, sys_dup2 }, /* 90 = dup2 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 91 = unimplemented getdopt */ - { 3, s(struct sys_fcntl_args), + { 3, s(struct sys_fcntl_args), 0, sys_fcntl }, /* 92 = fcntl */ - { 5, s(struct ultrix_sys_select_args), + { 5, s(struct ultrix_sys_select_args), 0, ultrix_sys_select }, /* 93 = select */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 94 = unimplemented setdopt */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 95 = fsync */ - { 3, s(struct sys_setpriority_args), + { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 96 = setpriority */ - { 3, s(struct sys_socket_args), + { 3, s(struct sys_socket_args), 0, sys_socket }, /* 97 = socket */ - { 3, s(struct sys_connect_args), + { 3, s(struct sys_connect_args), 0, sys_connect }, /* 98 = connect */ - { 3, s(struct compat_43_sys_accept_args), + { 3, s(struct compat_43_sys_accept_args), 0, compat_43_sys_accept }, /* 99 = accept */ - { 2, s(struct sys_getpriority_args), + { 2, s(struct sys_getpriority_args), 0, sys_getpriority }, /* 100 = getpriority */ - { 4, s(struct compat_43_sys_send_args), + { 4, s(struct compat_43_sys_send_args), 0, compat_43_sys_send }, /* 101 = send */ - { 4, s(struct compat_43_sys_recv_args), + { 4, s(struct compat_43_sys_recv_args), 0, compat_43_sys_recv }, /* 102 = recv */ - { 1, s(struct sys_sigreturn_args), + { 1, s(struct sys_sigreturn_args), 0, sys_sigreturn }, /* 103 = sigreturn */ - { 3, s(struct sys_bind_args), + { 3, s(struct sys_bind_args), 0, sys_bind }, /* 104 = bind */ - { 5, s(struct ultrix_sys_setsockopt_args), + { 5, s(struct ultrix_sys_setsockopt_args), 0, ultrix_sys_setsockopt }, /* 105 = setsockopt */ - { 2, s(struct sys_listen_args), + { 2, s(struct sys_listen_args), 0, sys_listen }, /* 106 = listen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 107 = unimplemented vtimes */ - { 3, s(struct compat_43_sys_sigvec_args), + { 3, s(struct compat_43_sys_sigvec_args), 0, compat_43_sys_sigvec }, /* 108 = sigvec */ - { 1, s(struct compat_43_sys_sigblock_args), + { 1, s(struct compat_43_sys_sigblock_args), 0, compat_43_sys_sigblock }, /* 109 = sigblock */ - { 1, s(struct compat_43_sys_sigsetmask_args), + { 1, s(struct compat_43_sys_sigsetmask_args), 0, compat_43_sys_sigsetmask }, /* 110 = sigsetmask */ - { 1, s(struct sys_sigsuspend_args), + { 1, s(struct sys_sigsuspend_args), 0, sys_sigsuspend }, /* 111 = sigsuspend */ - { 2, s(struct compat_43_sys_sigstack_args), + { 2, s(struct compat_43_sys_sigstack_args), 0, compat_43_sys_sigstack }, /* 112 = sigstack */ - { 3, s(struct compat_43_sys_recvmsg_args), + { 3, s(struct compat_43_sys_recvmsg_args), 0, compat_43_sys_recvmsg }, /* 113 = recvmsg */ - { 3, s(struct compat_43_sys_sendmsg_args), + { 3, s(struct compat_43_sys_sendmsg_args), 0, compat_43_sys_sendmsg }, /* 114 = sendmsg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 115 = obsolete vtrace */ - { 2, s(struct sys_gettimeofday_args), + { 2, s(struct sys_gettimeofday_args), 0, sys_gettimeofday }, /* 116 = gettimeofday */ - { 2, s(struct sys_getrusage_args), + { 2, s(struct sys_getrusage_args), 0, sys_getrusage }, /* 117 = getrusage */ - { 5, s(struct sys_getsockopt_args), + { 5, s(struct sys_getsockopt_args), 0, sys_getsockopt }, /* 118 = getsockopt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 119 = unimplemented resuba */ - { 3, s(struct sys_readv_args), + { 3, s(struct sys_readv_args), 0, sys_readv }, /* 120 = readv */ - { 3, s(struct sys_writev_args), + { 3, s(struct sys_writev_args), 0, sys_writev }, /* 121 = writev */ - { 2, s(struct sys_settimeofday_args), + { 2, s(struct sys_settimeofday_args), 0, sys_settimeofday }, /* 122 = settimeofday */ - { 3, s(struct sys_fchown_args), + { 3, s(struct sys_fchown_args), 0, sys_fchown }, /* 123 = fchown */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 124 = fchmod */ - { 6, s(struct compat_43_sys_recvfrom_args), + { 6, s(struct compat_43_sys_recvfrom_args), 0, compat_43_sys_recvfrom }, /* 125 = recvfrom */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 126 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 127 = setregid */ - { 2, s(struct sys_rename_args), + { 2, s(struct sys_rename_args), 0, sys_rename }, /* 128 = rename */ - { 2, s(struct compat_43_sys_truncate_args), + { 2, s(struct compat_43_sys_truncate_args), 0, compat_43_sys_truncate }, /* 129 = truncate */ - { 2, s(struct compat_43_sys_ftruncate_args), + { 2, s(struct compat_43_sys_ftruncate_args), 0, compat_43_sys_ftruncate }, /* 130 = ftruncate */ - { 2, s(struct sys_flock_args), + { 2, s(struct sys_flock_args), 0, sys_flock }, /* 131 = flock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 132 = unimplemented */ - { 6, s(struct sys_sendto_args), + { 6, s(struct sys_sendto_args), 0, sys_sendto }, /* 133 = sendto */ - { 2, s(struct sys_shutdown_args), + { 2, s(struct sys_shutdown_args), 0, sys_shutdown }, /* 134 = shutdown */ - { 4, s(struct sys_socketpair_args), + { 4, s(struct sys_socketpair_args), 0, sys_socketpair }, /* 135 = socketpair */ - { 2, s(struct sys_mkdir_args), + { 2, s(struct sys_mkdir_args), 0, sys_mkdir }, /* 136 = mkdir */ - { 1, s(struct sys_rmdir_args), + { 1, s(struct sys_rmdir_args), 0, sys_rmdir }, /* 137 = rmdir */ - { 2, s(struct sys_utimes_args), + { 2, s(struct sys_utimes_args), 0, sys_utimes }, /* 138 = utimes */ - { 1, s(struct ultrix_sys_sigcleanup_args), + { 1, s(struct ultrix_sys_sigcleanup_args), 0, ultrix_sys_sigcleanup }, /* 139 = sigcleanup */ - { 2, s(struct sys_adjtime_args), + { 2, s(struct sys_adjtime_args), 0, sys_adjtime }, /* 140 = adjtime */ - { 3, s(struct compat_43_sys_getpeername_args), + { 3, s(struct compat_43_sys_getpeername_args), 0, compat_43_sys_getpeername }, /* 141 = getpeername */ - { 0, 0, + { 0, 0, 0, compat_43_sys_gethostid }, /* 142 = gethostid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 143 = unimplemented old sethostid */ - { 2, s(struct compat_43_sys_getrlimit_args), + { 2, s(struct compat_43_sys_getrlimit_args), 0, compat_43_sys_getrlimit }, /* 144 = getrlimit */ - { 2, s(struct compat_43_sys_setrlimit_args), + { 2, s(struct compat_43_sys_setrlimit_args), 0, compat_43_sys_setrlimit }, /* 145 = setrlimit */ - { 2, s(struct compat_43_sys_killpg_args), + { 2, s(struct compat_43_sys_killpg_args), 0, compat_43_sys_killpg }, /* 146 = killpg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 147 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 148 = unimplemented setquota */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 149 = unimplemented quota / * needs to be nullop to boot on Ultrix root partition * / */ - { 3, s(struct compat_43_sys_getsockname_args), + { 3, s(struct compat_43_sys_getsockname_args), 0, compat_43_sys_getsockname }, /* 150 = getsockname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented sysmips / * 4 args * / */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented cacheflush / * 4 args * / */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 153 = unimplemented cachectl / * 3 args * / */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 154 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 155 = unimplemented atomic_op */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 156 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 157 = unimplemented */ #ifdef NFSSERVER - { 1, s(struct ultrix_sys_nfssvc_args), + { 1, s(struct ultrix_sys_nfssvc_args), 0, ultrix_sys_nfssvc }, /* 158 = nfssvc */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 158 = unimplemented */ #endif - { 4, s(struct compat_43_sys_getdirentries_args), + { 4, s(struct compat_43_sys_getdirentries_args), 0, compat_43_sys_getdirentries }, /* 159 = getdirentries */ - { 2, s(struct ultrix_sys_statfs_args), + { 2, s(struct ultrix_sys_statfs_args), 0, ultrix_sys_statfs }, /* 160 = statfs */ - { 2, s(struct ultrix_sys_fstatfs_args), + { 2, s(struct ultrix_sys_fstatfs_args), 0, ultrix_sys_fstatfs }, /* 161 = fstatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 162 = unimplemented umount */ #ifdef NFSCLIENT - { 0, 0, + { 0, 0, 0, async_daemon }, /* 163 = async_daemon */ - { 2, s(struct sys_getfh_args), + { 2, s(struct sys_getfh_args), 0, sys_getfh }, /* 164 = getfh */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 163 = unimplemented async_daemon */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 164 = unimplemented getfh */ #endif - { 2, s(struct compat_09_sys_getdomainname_args), + { 2, s(struct compat_09_sys_getdomainname_args), 0, compat_09_sys_getdomainname }, /* 165 = getdomainname */ - { 2, s(struct compat_09_sys_setdomainname_args), + { 2, s(struct compat_09_sys_setdomainname_args), 0, compat_09_sys_setdomainname }, /* 166 = setdomainname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 167 = unimplemented */ - { 4, s(struct ultrix_sys_quotactl_args), + { 4, s(struct ultrix_sys_quotactl_args), 0, ultrix_sys_quotactl }, /* 168 = quotactl */ - { 2, s(struct ultrix_sys_exportfs_args), + { 2, s(struct ultrix_sys_exportfs_args), 0, ultrix_sys_exportfs }, /* 169 = exportfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 170 = unimplemented { int ultrix_sys_mount ( char * special , char * dir , int rdonly , int type , caddr_t data ) ; } */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 171 = unimplemented 4 hdwconf */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 172 = unimplemented msgctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 173 = unimplemented msgget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 174 = unimplemented msgrcv */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 175 = unimplemented msgsnd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 176 = unimplemented semctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 177 = unimplemented semget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 178 = unimplemented semop */ - { 1, s(struct ultrix_sys_uname_args), + { 1, s(struct ultrix_sys_uname_args), 0, ultrix_sys_uname }, /* 179 = uname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 180 = unimplemented shmsys */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 181 = unimplemented 0 plock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 182 = unimplemented 0 lockf */ - { 2, s(struct ultrix_sys_ustat_args), + { 2, s(struct ultrix_sys_ustat_args), 0, ultrix_sys_ustat }, /* 183 = ustat */ - { 5, s(struct ultrix_sys_getmnt_args), + { 5, s(struct ultrix_sys_getmnt_args), 0, ultrix_sys_getmnt }, /* 184 = getmnt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 185 = unimplemented notdef */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 186 = unimplemented notdef */ - { 1, s(struct ultrix_sys_sigpending_args), + { 1, s(struct ultrix_sys_sigpending_args), 0, ultrix_sys_sigpending }, /* 187 = sigpending */ - { 0, 0, + { 0, 0, 0, sys_setsid }, /* 188 = setsid */ - { 3, s(struct ultrix_sys_waitpid_args), + { 3, s(struct ultrix_sys_waitpid_args), 0, ultrix_sys_waitpid }, /* 189 = waitpid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 190 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 191 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 192 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 193 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 194 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 195 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 196 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 197 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 198 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 199 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 200 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 201 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 202 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 203 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 204 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 205 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 206 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 207 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 208 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 209 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 210 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 211 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 212 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 213 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 214 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 215 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 216 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 217 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 218 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 219 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 220 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 221 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 222 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 224 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 225 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 226 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 227 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 228 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 229 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 230 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 231 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 232 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 233 = unimplemented 1 utc_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 234 = unimplemented 2 utc_adjtime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 235 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 236 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 237 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 238 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 239 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 240 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 241 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 242 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 243 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 244 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 245 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 246 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 247 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 248 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 249 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 250 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 251 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 252 = unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * / */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 253 = unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * / */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 254 = unimplemented startcpu */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 255 = unimplemented stopcpu */ - { 5, s(struct ultrix_sys_getsysinfo_args), + { 5, s(struct ultrix_sys_getsysinfo_args), 0, ultrix_sys_getsysinfo }, /* 256 = getsysinfo */ - { 5, s(struct ultrix_sys_setsysinfo_args), + { 5, s(struct ultrix_sys_setsysinfo_args), 0, ultrix_sys_setsysinfo }, /* 257 = setsysinfo */ }; diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 8f13d1d9a51..1bcbec267b0 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.98 2006/09/22 17:36:17 pedro Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.99 2007/11/27 18:05:59 art Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.87 2007/11/27 18:04:47 art Exp */ #include <sys/param.h> @@ -55,772 +55,772 @@ #define s(type) sizeof(type) struct sysent sysent[] = { - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 0 = syscall (indir) */ - { 1, s(struct sys_exit_args), + { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ - { 0, 0, + { 0, 0, 0, sys_fork }, /* 2 = fork */ - { 3, s(struct sys_read_args), + { 3, s(struct sys_read_args), 0, sys_read }, /* 3 = read */ - { 3, s(struct sys_write_args), + { 3, s(struct sys_write_args), 0, sys_write }, /* 4 = write */ - { 3, s(struct sys_open_args), + { 3, s(struct sys_open_args), 0, sys_open }, /* 5 = open */ - { 1, s(struct sys_close_args), + { 1, s(struct sys_close_args), 0, sys_close }, /* 6 = close */ - { 4, s(struct sys_wait4_args), + { 4, s(struct sys_wait4_args), 0, sys_wait4 }, /* 7 = wait4 */ - { 2, s(struct compat_43_sys_creat_args), + { 2, s(struct compat_43_sys_creat_args), 0, compat_43(sys_creat) }, /* 8 = compat_43 ocreat */ - { 2, s(struct sys_link_args), + { 2, s(struct sys_link_args), 0, sys_link }, /* 9 = link */ - { 1, s(struct sys_unlink_args), + { 1, s(struct sys_unlink_args), 0, sys_unlink }, /* 10 = unlink */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 11 = obsolete execv */ - { 1, s(struct sys_chdir_args), + { 1, s(struct sys_chdir_args), 0, sys_chdir }, /* 12 = chdir */ - { 1, s(struct sys_fchdir_args), + { 1, s(struct sys_fchdir_args), 0, sys_fchdir }, /* 13 = fchdir */ - { 3, s(struct sys_mknod_args), + { 3, s(struct sys_mknod_args), 0, sys_mknod }, /* 14 = mknod */ - { 2, s(struct sys_chmod_args), + { 2, s(struct sys_chmod_args), 0, sys_chmod }, /* 15 = chmod */ - { 3, s(struct sys_chown_args), + { 3, s(struct sys_chown_args), 0, sys_chown }, /* 16 = chown */ - { 1, s(struct sys_obreak_args), + { 1, s(struct sys_obreak_args), 0, sys_obreak }, /* 17 = break */ - { 3, s(struct compat_25_sys_getfsstat_args), + { 3, s(struct compat_25_sys_getfsstat_args), 0, compat_25(sys_getfsstat) }, /* 18 = compat_25 ogetfsstat */ - { 3, s(struct compat_43_sys_lseek_args), + { 3, s(struct compat_43_sys_lseek_args), 0, compat_43(sys_lseek) }, /* 19 = compat_43 olseek */ - { 0, 0, + { 0, 0, SY_NOLOCK | 0, sys_getpid }, /* 20 = getpid */ - { 4, s(struct sys_mount_args), + { 4, s(struct sys_mount_args), 0, sys_mount }, /* 21 = mount */ - { 2, s(struct sys_unmount_args), + { 2, s(struct sys_unmount_args), 0, sys_unmount }, /* 22 = unmount */ - { 1, s(struct sys_setuid_args), + { 1, s(struct sys_setuid_args), 0, sys_setuid }, /* 23 = setuid */ - { 0, 0, + { 0, 0, 0, sys_getuid }, /* 24 = getuid */ - { 0, 0, + { 0, 0, 0, sys_geteuid }, /* 25 = geteuid */ #ifdef PTRACE - { 4, s(struct sys_ptrace_args), + { 4, s(struct sys_ptrace_args), 0, sys_ptrace }, /* 26 = ptrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ptrace */ #endif - { 3, s(struct sys_recvmsg_args), + { 3, s(struct sys_recvmsg_args), 0, sys_recvmsg }, /* 27 = recvmsg */ - { 3, s(struct sys_sendmsg_args), + { 3, s(struct sys_sendmsg_args), 0, sys_sendmsg }, /* 28 = sendmsg */ - { 6, s(struct sys_recvfrom_args), + { 6, s(struct sys_recvfrom_args), 0, sys_recvfrom }, /* 29 = recvfrom */ - { 3, s(struct sys_accept_args), + { 3, s(struct sys_accept_args), 0, sys_accept }, /* 30 = accept */ - { 3, s(struct sys_getpeername_args), + { 3, s(struct sys_getpeername_args), 0, sys_getpeername }, /* 31 = getpeername */ - { 3, s(struct sys_getsockname_args), + { 3, s(struct sys_getsockname_args), 0, sys_getsockname }, /* 32 = getsockname */ - { 2, s(struct sys_access_args), + { 2, s(struct sys_access_args), 0, sys_access }, /* 33 = access */ - { 2, s(struct sys_chflags_args), + { 2, s(struct sys_chflags_args), 0, sys_chflags }, /* 34 = chflags */ - { 2, s(struct sys_fchflags_args), + { 2, s(struct sys_fchflags_args), 0, sys_fchflags }, /* 35 = fchflags */ - { 0, 0, + { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 2, s(struct sys_kill_args), + { 2, s(struct sys_kill_args), 0, sys_kill }, /* 37 = kill */ - { 2, s(struct compat_43_sys_stat_args), + { 2, s(struct compat_43_sys_stat_args), 0, compat_43(sys_stat) }, /* 38 = compat_43 stat43 */ - { 0, 0, + { 0, 0, 0, sys_getppid }, /* 39 = getppid */ - { 2, s(struct compat_43_sys_lstat_args), + { 2, s(struct compat_43_sys_lstat_args), 0, compat_43(sys_lstat) }, /* 40 = compat_43 lstat43 */ - { 1, s(struct sys_dup_args), + { 1, s(struct sys_dup_args), 0, sys_dup }, /* 41 = dup */ - { 0, 0, + { 0, 0, 0, sys_opipe }, /* 42 = opipe */ - { 0, 0, + { 0, 0, 0, sys_getegid }, /* 43 = getegid */ - { 4, s(struct sys_profil_args), + { 4, s(struct sys_profil_args), 0, sys_profil }, /* 44 = profil */ #ifdef KTRACE - { 4, s(struct sys_ktrace_args), + { 4, s(struct sys_ktrace_args), 0, sys_ktrace }, /* 45 = ktrace */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 45 = unimplemented ktrace */ #endif - { 3, s(struct sys_sigaction_args), + { 3, s(struct sys_sigaction_args), 0, sys_sigaction }, /* 46 = sigaction */ - { 0, 0, + { 0, 0, 0, sys_getgid }, /* 47 = getgid */ - { 2, s(struct sys_sigprocmask_args), + { 2, s(struct sys_sigprocmask_args), 0, sys_sigprocmask }, /* 48 = sigprocmask */ - { 2, s(struct sys_getlogin_args), + { 2, s(struct sys_getlogin_args), 0, sys_getlogin }, /* 49 = getlogin */ - { 1, s(struct sys_setlogin_args), + { 1, s(struct sys_setlogin_args), 0, sys_setlogin }, /* 50 = setlogin */ #ifdef ACCOUNTING - { 1, s(struct sys_acct_args), + { 1, s(struct sys_acct_args), 0, sys_acct }, /* 51 = acct */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 51 = unimplemented acct */ #endif - { 0, 0, + { 0, 0, 0, sys_sigpending }, /* 52 = sigpending */ - { 2, s(struct sys_osigaltstack_args), + { 2, s(struct sys_osigaltstack_args), 0, sys_osigaltstack }, /* 53 = osigaltstack */ - { 3, s(struct sys_ioctl_args), + { 3, s(struct sys_ioctl_args), 0, sys_ioctl }, /* 54 = ioctl */ - { 1, s(struct sys_reboot_args), + { 1, s(struct sys_reboot_args), 0, sys_reboot }, /* 55 = reboot */ - { 1, s(struct sys_revoke_args), + { 1, s(struct sys_revoke_args), 0, sys_revoke }, /* 56 = revoke */ - { 2, s(struct sys_symlink_args), + { 2, s(struct sys_symlink_args), 0, sys_symlink }, /* 57 = symlink */ - { 3, s(struct sys_readlink_args), + { 3, s(struct sys_readlink_args), 0, sys_readlink }, /* 58 = readlink */ - { 3, s(struct sys_execve_args), + { 3, s(struct sys_execve_args), 0, sys_execve }, /* 59 = execve */ - { 1, s(struct sys_umask_args), + { 1, s(struct sys_umask_args), 0, sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), + { 1, s(struct sys_chroot_args), 0, sys_chroot }, /* 61 = chroot */ - { 2, s(struct compat_43_sys_fstat_args), + { 2, s(struct compat_43_sys_fstat_args), 0, compat_43(sys_fstat) }, /* 62 = compat_43 fstat43 */ - { 4, s(struct compat_43_sys_getkerninfo_args), + { 4, s(struct compat_43_sys_getkerninfo_args), 0, compat_43(sys_getkerninfo) }, /* 63 = compat_43 ogetkerninfo */ - { 0, 0, + { 0, 0, 0, compat_43(sys_getpagesize) }, /* 64 = compat_43 ogetpagesize */ - { 2, s(struct compat_25_sys_omsync_args), + { 2, s(struct compat_25_sys_omsync_args), 0, compat_25(sys_omsync) }, /* 65 = compat_25 omsync */ - { 0, 0, + { 0, 0, 0, sys_vfork }, /* 66 = vfork */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 67 = obsolete vread */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 68 = obsolete vwrite */ - { 1, s(struct sys_sbrk_args), + { 1, s(struct sys_sbrk_args), 0, sys_sbrk }, /* 69 = sbrk */ - { 1, s(struct sys_sstk_args), + { 1, s(struct sys_sstk_args), 0, sys_sstk }, /* 70 = sstk */ - { 6, s(struct compat_43_sys_mmap_args), + { 6, s(struct compat_43_sys_mmap_args), 0, compat_43(sys_mmap) }, /* 71 = compat_43 ommap */ - { 1, s(struct sys_ovadvise_args), + { 1, s(struct sys_ovadvise_args), 0, sys_ovadvise }, /* 72 = vadvise */ - { 2, s(struct sys_munmap_args), + { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 73 = munmap */ - { 3, s(struct sys_mprotect_args), + { 3, s(struct sys_mprotect_args), 0, sys_mprotect }, /* 74 = mprotect */ - { 3, s(struct sys_madvise_args), + { 3, s(struct sys_madvise_args), 0, sys_madvise }, /* 75 = madvise */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 76 = obsolete vhangup */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 77 = obsolete vlimit */ - { 3, s(struct sys_mincore_args), + { 3, s(struct sys_mincore_args), 0, sys_mincore }, /* 78 = mincore */ - { 2, s(struct sys_getgroups_args), + { 2, s(struct sys_getgroups_args), 0, sys_getgroups }, /* 79 = getgroups */ - { 2, s(struct sys_setgroups_args), + { 2, s(struct sys_setgroups_args), 0, sys_setgroups }, /* 80 = setgroups */ - { 0, 0, + { 0, 0, 0, sys_getpgrp }, /* 81 = getpgrp */ - { 2, s(struct sys_setpgid_args), + { 2, s(struct sys_setpgid_args), 0, sys_setpgid }, /* 82 = setpgid */ - { 3, s(struct sys_setitimer_args), + { 3, s(struct sys_setitimer_args), 0, sys_setitimer }, /* 83 = setitimer */ - { 0, 0, + { 0, 0, 0, compat_43(sys_wait) }, /* 84 = compat_43 owait */ - { 1, s(struct compat_25_sys_swapon_args), + { 1, s(struct compat_25_sys_swapon_args), 0, compat_25(sys_swapon) }, /* 85 = compat_25 swapon */ - { 2, s(struct sys_getitimer_args), + { 2, s(struct sys_getitimer_args), 0, sys_getitimer }, /* 86 = getitimer */ - { 2, s(struct compat_43_sys_gethostname_args), + { 2, s(struct compat_43_sys_gethostname_args), 0, compat_43(sys_gethostname) }, /* 87 = compat_43 ogethostname */ - { 2, s(struct compat_43_sys_sethostname_args), + { 2, s(struct compat_43_sys_sethostname_args), 0, compat_43(sys_sethostname) }, /* 88 = compat_43 osethostname */ - { 0, 0, + { 0, 0, 0, compat_43(sys_getdtablesize) }, /* 89 = compat_43 ogetdtablesize */ - { 2, s(struct sys_dup2_args), + { 2, s(struct sys_dup2_args), 0, sys_dup2 }, /* 90 = dup2 */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 91 = unimplemented getdopt */ - { 3, s(struct sys_fcntl_args), + { 3, s(struct sys_fcntl_args), 0, sys_fcntl }, /* 92 = fcntl */ - { 5, s(struct sys_select_args), + { 5, s(struct sys_select_args), 0, sys_select }, /* 93 = select */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 94 = unimplemented setdopt */ - { 1, s(struct sys_fsync_args), + { 1, s(struct sys_fsync_args), 0, sys_fsync }, /* 95 = fsync */ - { 3, s(struct sys_setpriority_args), + { 3, s(struct sys_setpriority_args), 0, sys_setpriority }, /* 96 = setpriority */ - { 3, s(struct sys_socket_args), + { 3, s(struct sys_socket_args), 0, sys_socket }, /* 97 = socket */ - { 3, s(struct sys_connect_args), + { 3, s(struct sys_connect_args), 0, sys_connect }, /* 98 = connect */ - { 3, s(struct compat_43_sys_accept_args), + { 3, s(struct compat_43_sys_accept_args), 0, compat_43(sys_accept) }, /* 99 = compat_43 oaccept */ - { 2, s(struct sys_getpriority_args), + { 2, s(struct sys_getpriority_args), 0, sys_getpriority }, /* 100 = getpriority */ - { 4, s(struct compat_43_sys_send_args), + { 4, s(struct compat_43_sys_send_args), 0, compat_43(sys_send) }, /* 101 = compat_43 osend */ - { 4, s(struct compat_43_sys_recv_args), + { 4, s(struct compat_43_sys_recv_args), 0, compat_43(sys_recv) }, /* 102 = compat_43 orecv */ - { 1, s(struct sys_sigreturn_args), + { 1, s(struct sys_sigreturn_args), 0, sys_sigreturn }, /* 103 = sigreturn */ - { 3, s(struct sys_bind_args), + { 3, s(struct sys_bind_args), 0, sys_bind }, /* 104 = bind */ - { 5, s(struct sys_setsockopt_args), + { 5, s(struct sys_setsockopt_args), 0, sys_setsockopt }, /* 105 = setsockopt */ - { 2, s(struct sys_listen_args), + { 2, s(struct sys_listen_args), 0, sys_listen }, /* 106 = listen */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 107 = obsolete vtimes */ - { 3, s(struct compat_43_sys_sigvec_args), + { 3, s(struct compat_43_sys_sigvec_args), 0, compat_43(sys_sigvec) }, /* 108 = compat_43 osigvec */ - { 1, s(struct compat_43_sys_sigblock_args), + { 1, s(struct compat_43_sys_sigblock_args), 0, compat_43(sys_sigblock) }, /* 109 = compat_43 osigblock */ - { 1, s(struct compat_43_sys_sigsetmask_args), + { 1, s(struct compat_43_sys_sigsetmask_args), 0, compat_43(sys_sigsetmask) }, /* 110 = compat_43 osigsetmask */ - { 1, s(struct sys_sigsuspend_args), + { 1, s(struct sys_sigsuspend_args), 0, sys_sigsuspend }, /* 111 = sigsuspend */ - { 2, s(struct compat_43_sys_sigstack_args), + { 2, s(struct compat_43_sys_sigstack_args), 0, compat_43(sys_sigstack) }, /* 112 = compat_43 osigstack */ - { 3, s(struct compat_43_sys_recvmsg_args), + { 3, s(struct compat_43_sys_recvmsg_args), 0, compat_43(sys_recvmsg) }, /* 113 = compat_43 orecvmsg */ - { 3, s(struct compat_43_sys_sendmsg_args), + { 3, s(struct compat_43_sys_sendmsg_args), 0, compat_43(sys_sendmsg) }, /* 114 = compat_43 osendmsg */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 115 = obsolete vtrace */ - { 2, s(struct sys_gettimeofday_args), + { 2, s(struct sys_gettimeofday_args), 0, sys_gettimeofday }, /* 116 = gettimeofday */ - { 2, s(struct sys_getrusage_args), + { 2, s(struct sys_getrusage_args), 0, sys_getrusage }, /* 117 = getrusage */ - { 5, s(struct sys_getsockopt_args), + { 5, s(struct sys_getsockopt_args), 0, sys_getsockopt }, /* 118 = getsockopt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 119 = obsolete resuba */ - { 3, s(struct sys_readv_args), + { 3, s(struct sys_readv_args), 0, sys_readv }, /* 120 = readv */ - { 3, s(struct sys_writev_args), + { 3, s(struct sys_writev_args), 0, sys_writev }, /* 121 = writev */ - { 2, s(struct sys_settimeofday_args), + { 2, s(struct sys_settimeofday_args), 0, sys_settimeofday }, /* 122 = settimeofday */ - { 3, s(struct sys_fchown_args), + { 3, s(struct sys_fchown_args), 0, sys_fchown }, /* 123 = fchown */ - { 2, s(struct sys_fchmod_args), + { 2, s(struct sys_fchmod_args), 0, sys_fchmod }, /* 124 = fchmod */ - { 6, s(struct compat_43_sys_recvfrom_args), + { 6, s(struct compat_43_sys_recvfrom_args), 0, compat_43(sys_recvfrom) }, /* 125 = compat_43 orecvfrom */ - { 2, s(struct sys_setreuid_args), + { 2, s(struct sys_setreuid_args), 0, sys_setreuid }, /* 126 = setreuid */ - { 2, s(struct sys_setregid_args), + { 2, s(struct sys_setregid_args), 0, sys_setregid }, /* 127 = setregid */ - { 2, s(struct sys_rename_args), + { 2, s(struct sys_rename_args), 0, sys_rename }, /* 128 = rename */ - { 2, s(struct compat_43_sys_truncate_args), + { 2, s(struct compat_43_sys_truncate_args), 0, compat_43(sys_truncate) }, /* 129 = compat_43 otruncate */ - { 2, s(struct compat_43_sys_ftruncate_args), + { 2, s(struct compat_43_sys_ftruncate_args), 0, compat_43(sys_ftruncate) }, /* 130 = compat_43 oftruncate */ - { 2, s(struct sys_flock_args), + { 2, s(struct sys_flock_args), 0, sys_flock }, /* 131 = flock */ - { 2, s(struct sys_mkfifo_args), + { 2, s(struct sys_mkfifo_args), 0, sys_mkfifo }, /* 132 = mkfifo */ - { 6, s(struct sys_sendto_args), + { 6, s(struct sys_sendto_args), 0, sys_sendto }, /* 133 = sendto */ - { 2, s(struct sys_shutdown_args), + { 2, s(struct sys_shutdown_args), 0, sys_shutdown }, /* 134 = shutdown */ - { 4, s(struct sys_socketpair_args), + { 4, s(struct sys_socketpair_args), 0, sys_socketpair }, /* 135 = socketpair */ - { 2, s(struct sys_mkdir_args), + { 2, s(struct sys_mkdir_args), 0, sys_mkdir }, /* 136 = mkdir */ - { 1, s(struct sys_rmdir_args), + { 1, s(struct sys_rmdir_args), 0, sys_rmdir }, /* 137 = rmdir */ - { 2, s(struct sys_utimes_args), + { 2, s(struct sys_utimes_args), 0, sys_utimes }, /* 138 = utimes */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 139 = obsolete 4.2 sigreturn */ - { 2, s(struct sys_adjtime_args), + { 2, s(struct sys_adjtime_args), 0, sys_adjtime }, /* 140 = adjtime */ - { 3, s(struct compat_43_sys_getpeername_args), + { 3, s(struct compat_43_sys_getpeername_args), 0, compat_43(sys_getpeername) }, /* 141 = compat_43 ogetpeername */ - { 0, 0, + { 0, 0, 0, compat_43(sys_gethostid) }, /* 142 = compat_43 ogethostid */ - { 1, s(struct compat_43_sys_sethostid_args), + { 1, s(struct compat_43_sys_sethostid_args), 0, compat_43(sys_sethostid) }, /* 143 = compat_43 osethostid */ - { 2, s(struct compat_43_sys_getrlimit_args), + { 2, s(struct compat_43_sys_getrlimit_args), 0, compat_43(sys_getrlimit) }, /* 144 = compat_43 ogetrlimit */ - { 2, s(struct compat_43_sys_setrlimit_args), + { 2, s(struct compat_43_sys_setrlimit_args), 0, compat_43(sys_setrlimit) }, /* 145 = compat_43 osetrlimit */ - { 2, s(struct compat_43_sys_killpg_args), + { 2, s(struct compat_43_sys_killpg_args), 0, compat_43(sys_killpg) }, /* 146 = compat_43 okillpg */ - { 0, 0, + { 0, 0, 0, sys_setsid }, /* 147 = setsid */ - { 4, s(struct sys_quotactl_args), + { 4, s(struct sys_quotactl_args), 0, sys_quotactl }, /* 148 = quotactl */ - { 0, 0, + { 0, 0, 0, compat_43(sys_quota) }, /* 149 = compat_43 oquota */ - { 3, s(struct compat_43_sys_getsockname_args), + { 3, s(struct compat_43_sys_getsockname_args), 0, compat_43(sys_getsockname) }, /* 150 = compat_43 ogetsockname */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 151 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 152 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 153 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 154 = unimplemented */ #if defined(NFSCLIENT) || defined(NFSSERVER) - { 2, s(struct sys_nfssvc_args), + { 2, s(struct sys_nfssvc_args), 0, sys_nfssvc }, /* 155 = nfssvc */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 155 = unimplemented */ #endif - { 4, s(struct compat_43_sys_getdirentries_args), + { 4, s(struct compat_43_sys_getdirentries_args), 0, compat_43(sys_getdirentries) }, /* 156 = compat_43 ogetdirentries */ - { 2, s(struct compat_25_sys_statfs_args), + { 2, s(struct compat_25_sys_statfs_args), 0, compat_25(sys_statfs) }, /* 157 = compat_25 ostatfs */ - { 2, s(struct compat_25_sys_fstatfs_args), + { 2, s(struct compat_25_sys_fstatfs_args), 0, compat_25(sys_fstatfs) }, /* 158 = compat_25 ostatfs */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 159 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 160 = unimplemented */ - { 2, s(struct sys_getfh_args), + { 2, s(struct sys_getfh_args), 0, sys_getfh }, /* 161 = getfh */ - { 2, s(struct compat_09_sys_getdomainname_args), + { 2, s(struct compat_09_sys_getdomainname_args), 0, compat_09(sys_getdomainname) }, /* 162 = compat_09 ogetdomainname */ - { 2, s(struct compat_09_sys_setdomainname_args), + { 2, s(struct compat_09_sys_setdomainname_args), 0, compat_09(sys_setdomainname) }, /* 163 = compat_09 osetdomainname */ - { 1, s(struct compat_09_sys_uname_args), + { 1, s(struct compat_09_sys_uname_args), 0, compat_09(sys_uname) }, /* 164 = compat_09 ouname */ - { 2, s(struct sys_sysarch_args), + { 2, s(struct sys_sysarch_args), 0, sys_sysarch }, /* 165 = sysarch */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 166 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 167 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 168 = unimplemented */ #if defined(SYSVSEM) && !defined(__LP64__) - { 5, s(struct compat_10_sys_semsys_args), + { 5, s(struct compat_10_sys_semsys_args), 0, compat_10(sys_semsys) }, /* 169 = compat_10 osemsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 169 = unimplemented 1.0 semsys */ #endif #if defined(SYSVMSG) && !defined(__LP64__) - { 6, s(struct compat_10_sys_msgsys_args), + { 6, s(struct compat_10_sys_msgsys_args), 0, compat_10(sys_msgsys) }, /* 170 = compat_10 omsgsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 170 = unimplemented 1.0 msgsys */ #endif #if defined(SYSVSHM) && !defined(__LP64__) - { 4, s(struct compat_10_sys_shmsys_args), + { 4, s(struct compat_10_sys_shmsys_args), 0, compat_10(sys_shmsys) }, /* 171 = compat_10 oshmsys */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 171 = unimplemented 1.0 shmsys */ #endif - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 172 = unimplemented */ - { 5, s(struct sys_pread_args), + { 5, s(struct sys_pread_args), 0, sys_pread }, /* 173 = pread */ - { 5, s(struct sys_pwrite_args), + { 5, s(struct sys_pwrite_args), 0, sys_pwrite }, /* 174 = pwrite */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 175 = unimplemented ntp_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 176 = unimplemented ntp_adjtime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 177 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 178 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 179 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 180 = unimplemented */ - { 1, s(struct sys_setgid_args), + { 1, s(struct sys_setgid_args), 0, sys_setgid }, /* 181 = setgid */ - { 1, s(struct sys_setegid_args), + { 1, s(struct sys_setegid_args), 0, sys_setegid }, /* 182 = setegid */ - { 1, s(struct sys_seteuid_args), + { 1, s(struct sys_seteuid_args), 0, sys_seteuid }, /* 183 = seteuid */ #ifdef LFS - { 3, s(struct lfs_bmapv_args), + { 3, s(struct lfs_bmapv_args), 0, lfs_bmapv }, /* 184 = lfs_bmapv */ - { 3, s(struct lfs_markv_args), + { 3, s(struct lfs_markv_args), 0, lfs_markv }, /* 185 = lfs_markv */ - { 2, s(struct lfs_segclean_args), + { 2, s(struct lfs_segclean_args), 0, lfs_segclean }, /* 186 = lfs_segclean */ - { 2, s(struct lfs_segwait_args), + { 2, s(struct lfs_segwait_args), 0, lfs_segwait }, /* 187 = lfs_segwait */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 184 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 185 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 186 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 187 = unimplemented */ #endif - { 2, s(struct compat_35_sys_stat_args), + { 2, s(struct compat_35_sys_stat_args), 0, compat_35(sys_stat) }, /* 188 = compat_35 stat35 */ - { 2, s(struct compat_35_sys_fstat_args), + { 2, s(struct compat_35_sys_fstat_args), 0, compat_35(sys_fstat) }, /* 189 = compat_35 fstat35 */ - { 2, s(struct compat_35_sys_lstat_args), + { 2, s(struct compat_35_sys_lstat_args), 0, compat_35(sys_lstat) }, /* 190 = compat_35 lstat35 */ - { 2, s(struct sys_pathconf_args), + { 2, s(struct sys_pathconf_args), 0, sys_pathconf }, /* 191 = pathconf */ - { 2, s(struct sys_fpathconf_args), + { 2, s(struct sys_fpathconf_args), 0, sys_fpathconf }, /* 192 = fpathconf */ - { 3, s(struct sys_swapctl_args), + { 3, s(struct sys_swapctl_args), 0, sys_swapctl }, /* 193 = swapctl */ - { 2, s(struct sys_getrlimit_args), + { 2, s(struct sys_getrlimit_args), 0, sys_getrlimit }, /* 194 = getrlimit */ - { 2, s(struct sys_setrlimit_args), + { 2, s(struct sys_setrlimit_args), 0, sys_setrlimit }, /* 195 = setrlimit */ - { 4, s(struct sys_getdirentries_args), + { 4, s(struct sys_getdirentries_args), 0, sys_getdirentries }, /* 196 = getdirentries */ - { 7, s(struct sys_mmap_args), + { 7, s(struct sys_mmap_args), 0, sys_mmap }, /* 197 = mmap */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 198 = __syscall (indir) */ - { 4, s(struct sys_lseek_args), + { 4, s(struct sys_lseek_args), 0, sys_lseek }, /* 199 = lseek */ - { 3, s(struct sys_truncate_args), + { 3, s(struct sys_truncate_args), 0, sys_truncate }, /* 200 = truncate */ - { 3, s(struct sys_ftruncate_args), + { 3, s(struct sys_ftruncate_args), 0, sys_ftruncate }, /* 201 = ftruncate */ - { 6, s(struct sys___sysctl_args), + { 6, s(struct sys___sysctl_args), 0, sys___sysctl }, /* 202 = __sysctl */ - { 2, s(struct sys_mlock_args), + { 2, s(struct sys_mlock_args), 0, sys_mlock }, /* 203 = mlock */ - { 2, s(struct sys_munlock_args), + { 2, s(struct sys_munlock_args), 0, sys_munlock }, /* 204 = munlock */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 205 = unimplemented sys_undelete */ - { 2, s(struct sys_futimes_args), + { 2, s(struct sys_futimes_args), 0, sys_futimes }, /* 206 = futimes */ - { 1, s(struct sys_getpgid_args), + { 1, s(struct sys_getpgid_args), 0, sys_getpgid }, /* 207 = getpgid */ - { 5, s(struct sys_xfspioctl_args), + { 5, s(struct sys_xfspioctl_args), 0, sys_xfspioctl }, /* 208 = xfspioctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 209 = unimplemented */ #ifdef LKM - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 210 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 211 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 212 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 213 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 214 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 215 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 216 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 217 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 218 = lkmnosys */ - { 0, 0, + { 0, 0, 0, sys_lkmnosys }, /* 219 = lkmnosys */ #else /* !LKM */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 210 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 211 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 212 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 213 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 214 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 215 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 216 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 217 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 218 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 219 = unimplemented */ #endif /* !LKM */ #ifdef SYSVSEM - { 4, s(struct compat_23_sys___semctl_args), + { 4, s(struct compat_23_sys___semctl_args), 0, compat_23(sys___semctl) }, /* 220 = compat_23 semctl23 */ - { 3, s(struct sys_semget_args), + { 3, s(struct sys_semget_args), 0, sys_semget }, /* 221 = semget */ - { 3, s(struct compat_35_sys_semop_args), + { 3, s(struct compat_35_sys_semop_args), 0, compat_35(sys_semop) }, /* 222 = compat_35 semop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = obsolete sys_semconfig */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 220 = unimplemented semctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 221 = unimplemented semget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 222 = unimplemented semop */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 223 = unimplemented semconfig */ #endif #ifdef SYSVMSG - { 3, s(struct compat_23_sys_msgctl_args), + { 3, s(struct compat_23_sys_msgctl_args), 0, compat_23(sys_msgctl) }, /* 224 = compat_23 msgctl23 */ - { 2, s(struct sys_msgget_args), + { 2, s(struct sys_msgget_args), 0, sys_msgget }, /* 225 = msgget */ - { 4, s(struct sys_msgsnd_args), + { 4, s(struct sys_msgsnd_args), 0, sys_msgsnd }, /* 226 = msgsnd */ - { 5, s(struct sys_msgrcv_args), + { 5, s(struct sys_msgrcv_args), 0, sys_msgrcv }, /* 227 = msgrcv */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 224 = unimplemented msgctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 225 = unimplemented msgget */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 226 = unimplemented msgsnd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 227 = unimplemented msgrcv */ #endif #ifdef SYSVSHM - { 3, s(struct sys_shmat_args), + { 3, s(struct sys_shmat_args), 0, sys_shmat }, /* 228 = shmat */ - { 3, s(struct compat_23_sys_shmctl_args), + { 3, s(struct compat_23_sys_shmctl_args), 0, compat_23(sys_shmctl) }, /* 229 = compat_23 shmctl23 */ - { 1, s(struct sys_shmdt_args), + { 1, s(struct sys_shmdt_args), 0, sys_shmdt }, /* 230 = shmdt */ - { 3, s(struct compat_35_sys_shmget_args), + { 3, s(struct compat_35_sys_shmget_args), 0, compat_35(sys_shmget) }, /* 231 = compat_35 shmget */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 228 = unimplemented shmat */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 229 = unimplemented shmctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 230 = unimplemented shmdt */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 231 = unimplemented shmget */ #endif - { 2, s(struct sys_clock_gettime_args), + { 2, s(struct sys_clock_gettime_args), 0, sys_clock_gettime }, /* 232 = clock_gettime */ - { 2, s(struct sys_clock_settime_args), + { 2, s(struct sys_clock_settime_args), 0, sys_clock_settime }, /* 233 = clock_settime */ - { 2, s(struct sys_clock_getres_args), + { 2, s(struct sys_clock_getres_args), 0, sys_clock_getres }, /* 234 = clock_getres */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 235 = unimplemented timer_create */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 236 = unimplemented timer_delete */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 237 = unimplemented timer_settime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 238 = unimplemented timer_gettime */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 239 = unimplemented timer_getoverrun */ - { 2, s(struct sys_nanosleep_args), + { 2, s(struct sys_nanosleep_args), 0, sys_nanosleep }, /* 240 = nanosleep */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 241 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 242 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 243 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 244 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 245 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 246 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 247 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 248 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 249 = unimplemented */ - { 3, s(struct sys_minherit_args), + { 3, s(struct sys_minherit_args), 0, sys_minherit }, /* 250 = minherit */ - { 1, s(struct sys_rfork_args), + { 1, s(struct sys_rfork_args), 0, sys_rfork }, /* 251 = rfork */ - { 3, s(struct sys_poll_args), + { 3, s(struct sys_poll_args), 0, sys_poll }, /* 252 = poll */ - { 0, 0, + { 0, 0, 0, sys_issetugid }, /* 253 = issetugid */ - { 3, s(struct sys_lchown_args), + { 3, s(struct sys_lchown_args), 0, sys_lchown }, /* 254 = lchown */ - { 1, s(struct sys_getsid_args), + { 1, s(struct sys_getsid_args), 0, sys_getsid }, /* 255 = getsid */ - { 3, s(struct sys_msync_args), + { 3, s(struct sys_msync_args), 0, sys_msync }, /* 256 = msync */ #ifdef SYSVSEM - { 4, s(struct compat_35_sys___semctl_args), + { 4, s(struct compat_35_sys___semctl_args), 0, compat_35(sys___semctl) }, /* 257 = compat_35 semctl35 */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 257 = unimplemented */ #endif #ifdef SYSVSHM - { 3, s(struct compat_35_sys_shmctl_args), + { 3, s(struct compat_35_sys_shmctl_args), 0, compat_35(sys_shmctl) }, /* 258 = compat_35 shmctl35 */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 258 = unimplemented */ #endif #ifdef SYSVMSG - { 3, s(struct compat_35_sys_msgctl_args), + { 3, s(struct compat_35_sys_msgctl_args), 0, compat_35(sys_msgctl) }, /* 259 = compat_35 msgctl35 */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 259 = unimplemented */ #endif - { 3, s(struct sys_getfsstat_args), + { 3, s(struct sys_getfsstat_args), 0, sys_getfsstat }, /* 260 = getfsstat */ - { 2, s(struct sys_statfs_args), + { 2, s(struct sys_statfs_args), 0, sys_statfs }, /* 261 = statfs */ - { 2, s(struct sys_fstatfs_args), + { 2, s(struct sys_fstatfs_args), 0, sys_fstatfs }, /* 262 = fstatfs */ - { 1, s(struct sys_pipe_args), + { 1, s(struct sys_pipe_args), 0, sys_pipe }, /* 263 = pipe */ - { 2, s(struct sys_fhopen_args), + { 2, s(struct sys_fhopen_args), 0, sys_fhopen }, /* 264 = fhopen */ - { 2, s(struct compat_35_sys_fhstat_args), + { 2, s(struct compat_35_sys_fhstat_args), 0, compat_35(sys_fhstat) }, /* 265 = compat_35 fhstat */ - { 2, s(struct sys_fhstatfs_args), + { 2, s(struct sys_fhstatfs_args), 0, sys_fhstatfs }, /* 266 = fhstatfs */ - { 5, s(struct sys_preadv_args), + { 5, s(struct sys_preadv_args), 0, sys_preadv }, /* 267 = preadv */ - { 5, s(struct sys_pwritev_args), + { 5, s(struct sys_pwritev_args), 0, sys_pwritev }, /* 268 = pwritev */ - { 0, 0, + { 0, 0, 0, sys_kqueue }, /* 269 = kqueue */ - { 6, s(struct sys_kevent_args), + { 6, s(struct sys_kevent_args), 0, sys_kevent }, /* 270 = kevent */ - { 1, s(struct sys_mlockall_args), + { 1, s(struct sys_mlockall_args), 0, sys_mlockall }, /* 271 = mlockall */ - { 0, 0, + { 0, 0, 0, sys_munlockall }, /* 272 = munlockall */ - { 3, s(struct sys_getpeereid_args), + { 3, s(struct sys_getpeereid_args), 0, sys_getpeereid }, /* 273 = getpeereid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 274 = unimplemented sys_extattrctl */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 275 = unimplemented sys_extattr_set_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 276 = unimplemented sys_extattr_get_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 277 = unimplemented sys_extattr_delete_file */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 278 = unimplemented sys_extattr_set_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 279 = unimplemented sys_extattr_get_fd */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 280 = unimplemented sys_extattr_delete_fd */ - { 3, s(struct sys_getresuid_args), + { 3, s(struct sys_getresuid_args), 0, sys_getresuid }, /* 281 = getresuid */ - { 3, s(struct sys_setresuid_args), + { 3, s(struct sys_setresuid_args), 0, sys_setresuid }, /* 282 = setresuid */ - { 3, s(struct sys_getresgid_args), + { 3, s(struct sys_getresgid_args), 0, sys_getresgid }, /* 283 = getresgid */ - { 3, s(struct sys_setresgid_args), + { 3, s(struct sys_setresgid_args), 0, sys_setresgid }, /* 284 = setresgid */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 285 = obsolete sys_omquery */ - { 7, s(struct sys_mquery_args), + { 7, s(struct sys_mquery_args), 0, sys_mquery }, /* 286 = mquery */ - { 1, s(struct sys_closefrom_args), + { 1, s(struct sys_closefrom_args), 0, sys_closefrom }, /* 287 = closefrom */ - { 2, s(struct sys_sigaltstack_args), + { 2, s(struct sys_sigaltstack_args), 0, sys_sigaltstack }, /* 288 = sigaltstack */ #ifdef SYSVSHM - { 3, s(struct sys_shmget_args), + { 3, s(struct sys_shmget_args), 0, sys_shmget }, /* 289 = shmget */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 289 = unimplemented shmget */ #endif #ifdef SYSVSEM - { 3, s(struct sys_semop_args), + { 3, s(struct sys_semop_args), 0, sys_semop }, /* 290 = semop */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 290 = unimplemented semop */ #endif - { 2, s(struct sys_stat_args), + { 2, s(struct sys_stat_args), 0, sys_stat }, /* 291 = stat */ - { 2, s(struct sys_fstat_args), + { 2, s(struct sys_fstat_args), 0, sys_fstat }, /* 292 = fstat */ - { 2, s(struct sys_lstat_args), + { 2, s(struct sys_lstat_args), 0, sys_lstat }, /* 293 = lstat */ - { 2, s(struct sys_fhstat_args), + { 2, s(struct sys_fhstat_args), 0, sys_fhstat }, /* 294 = fhstat */ #ifdef SYSVSEM - { 4, s(struct sys___semctl_args), + { 4, s(struct sys___semctl_args), 0, sys___semctl }, /* 295 = __semctl */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 295 = unimplemented */ #endif #ifdef SYSVSHM - { 3, s(struct sys_shmctl_args), + { 3, s(struct sys_shmctl_args), 0, sys_shmctl }, /* 296 = shmctl */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 296 = unimplemented */ #endif #ifdef SYSVMSG - { 3, s(struct sys_msgctl_args), + { 3, s(struct sys_msgctl_args), 0, sys_msgctl }, /* 297 = msgctl */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 297 = unimplemented */ #endif - { 0, 0, + { 0, 0, 0, sys_sched_yield }, /* 298 = sched_yield */ #ifdef RTHREADS - { 0, 0, + { 0, 0, 0, sys_getthrid }, /* 299 = getthrid */ - { 3, s(struct sys_thrsleep_args), + { 3, s(struct sys_thrsleep_args), 0, sys_thrsleep }, /* 300 = thrsleep */ - { 2, s(struct sys_thrwakeup_args), + { 2, s(struct sys_thrwakeup_args), 0, sys_thrwakeup }, /* 301 = thrwakeup */ - { 1, s(struct sys_threxit_args), + { 1, s(struct sys_threxit_args), 0, sys_threxit }, /* 302 = threxit */ - { 1, s(struct sys_thrsigdivert_args), + { 1, s(struct sys_thrsigdivert_args), 0, sys_thrsigdivert }, /* 303 = thrsigdivert */ #else - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 299 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 300 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 301 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 302 = unimplemented */ - { 0, 0, + { 0, 0, 0, sys_nosys }, /* 303 = unimplemented */ #endif - { 2, s(struct sys___getcwd_args), + { 2, s(struct sys___getcwd_args), 0, sys___getcwd }, /* 304 = __getcwd */ - { 2, s(struct sys_adjfreq_args), + { 2, s(struct sys_adjfreq_args), 0, sys_adjfreq }, /* 305 = adjfreq */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 18dddf6596c..aaf4c05ce06 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.99 2006/09/22 17:36:17 pedro Exp $ */ +/* $OpenBSD: syscalls.c,v 1.100 2007/11/27 18:05:59 art Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.87 2007/11/27 18:04:47 art Exp */ char *syscallnames[] = { diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index cfb45e693d4..8c16d5468c7 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.97 2006/09/22 17:36:17 pedro Exp $ */ +/* $OpenBSD: syscall.h,v 1.98 2007/11/27 18:05:59 art Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.87 2007/11/27 18:04:47 art Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 2937f05b3d7..046f0e85e11 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.99 2006/09/22 17:36:17 pedro Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.100 2007/11/27 18:05:59 art Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.86 2006/09/22 17:35:41 pedro Exp + * created from; OpenBSD: syscalls.master,v 1.87 2007/11/27 18:04:47 art Exp */ #ifdef syscallarg |