Regen: Merge the nathanw_sa branch.

This commit is contained in:
thorpej 2003-01-18 08:45:04 +00:00
parent 9b46ebe0bd
commit 6881e93b29
4 changed files with 168 additions and 166 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: svr4_syscall.h,v 1.69 2001/11/13 02:09:26 lukem Exp $ */
/* $NetBSD: svr4_syscall.h,v 1.70 2003/01/18 08:45:04 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2001/05/30 11:37:32 mrg Exp
* created from NetBSD
*/
/* syscall: "syscall" ret: "int" args: */

View File

@ -1,10 +1,10 @@
/* $NetBSD: svr4_syscallargs.h,v 1.68 2001/11/13 02:09:26 lukem Exp $ */
/* $NetBSD: svr4_syscallargs.h,v 1.69 2003/01/18 08:45:04 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2001/05/30 11:37:32 mrg Exp
* created from NetBSD
*/
#ifndef _SVR4_SYS__SYSCALLARGS_H_
@ -502,172 +502,172 @@ struct svr4_sys_socket_args {
* System call prototypes.
*/
int sys_nosys(struct proc *, void *, register_t *);
int sys_exit(struct proc *, void *, register_t *);
int sys_fork(struct proc *, void *, register_t *);
int sys_read(struct proc *, void *, register_t *);
int sys_write(struct proc *, void *, register_t *);
int svr4_sys_open(struct proc *, void *, register_t *);
int sys_close(struct proc *, void *, register_t *);
int svr4_sys_wait(struct proc *, void *, register_t *);
int svr4_sys_creat(struct proc *, void *, register_t *);
int sys_link(struct proc *, void *, register_t *);
int sys_unlink(struct proc *, void *, register_t *);
int svr4_sys_execv(struct proc *, void *, register_t *);
int sys_chdir(struct proc *, void *, register_t *);
int svr4_sys_time(struct proc *, void *, register_t *);
int svr4_sys_mknod(struct proc *, void *, register_t *);
int sys_chmod(struct proc *, void *, register_t *);
int sys___posix_chown(struct proc *, void *, register_t *);
int svr4_sys_break(struct proc *, void *, register_t *);
int svr4_sys_stat(struct proc *, void *, register_t *);
int compat_43_sys_lseek(struct proc *, void *, register_t *);
int sys_getpid(struct proc *, void *, register_t *);
int sys_setuid(struct proc *, void *, register_t *);
int sys_getuid_with_euid(struct proc *, void *, register_t *);
int svr4_sys_alarm(struct proc *, void *, register_t *);
int svr4_sys_fstat(struct proc *, void *, register_t *);
int svr4_sys_pause(struct proc *, void *, register_t *);
int svr4_sys_utime(struct proc *, void *, register_t *);
int svr4_sys_access(struct proc *, void *, register_t *);
int svr4_sys_nice(struct proc *, void *, register_t *);
int sys_sync(struct proc *, void *, register_t *);
int svr4_sys_kill(struct proc *, void *, register_t *);
int svr4_sys_pgrpsys(struct proc *, void *, register_t *);
int sys_dup(struct proc *, void *, register_t *);
int sys_pipe(struct proc *, void *, register_t *);
int svr4_sys_times(struct proc *, void *, register_t *);
int sys_setgid(struct proc *, void *, register_t *);
int sys_getgid_with_egid(struct proc *, void *, register_t *);
int svr4_sys_signal(struct proc *, void *, register_t *);
int sys_nosys(struct lwp *, void *, register_t *);
int sys_exit(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int sys_read(struct lwp *, void *, register_t *);
int sys_write(struct lwp *, void *, register_t *);
int svr4_sys_open(struct lwp *, void *, register_t *);
int sys_close(struct lwp *, void *, register_t *);
int svr4_sys_wait(struct lwp *, void *, register_t *);
int svr4_sys_creat(struct lwp *, void *, register_t *);
int sys_link(struct lwp *, void *, register_t *);
int sys_unlink(struct lwp *, void *, register_t *);
int svr4_sys_execv(struct lwp *, void *, register_t *);
int sys_chdir(struct lwp *, void *, register_t *);
int svr4_sys_time(struct lwp *, void *, register_t *);
int svr4_sys_mknod(struct lwp *, void *, register_t *);
int sys_chmod(struct lwp *, void *, register_t *);
int sys___posix_chown(struct lwp *, void *, register_t *);
int svr4_sys_break(struct lwp *, void *, register_t *);
int svr4_sys_stat(struct lwp *, void *, register_t *);
int compat_43_sys_lseek(struct lwp *, void *, register_t *);
int sys_getpid(struct lwp *, void *, register_t *);
int sys_setuid(struct lwp *, void *, register_t *);
int sys_getuid_with_euid(struct lwp *, void *, register_t *);
int svr4_sys_alarm(struct lwp *, void *, register_t *);
int svr4_sys_fstat(struct lwp *, void *, register_t *);
int svr4_sys_pause(struct lwp *, void *, register_t *);
int svr4_sys_utime(struct lwp *, void *, register_t *);
int svr4_sys_access(struct lwp *, void *, register_t *);
int svr4_sys_nice(struct lwp *, void *, register_t *);
int sys_sync(struct lwp *, void *, register_t *);
int svr4_sys_kill(struct lwp *, void *, register_t *);
int svr4_sys_pgrpsys(struct lwp *, void *, register_t *);
int sys_dup(struct lwp *, void *, register_t *);
int sys_pipe(struct lwp *, void *, register_t *);
int svr4_sys_times(struct lwp *, void *, register_t *);
int sys_setgid(struct lwp *, void *, register_t *);
int sys_getgid_with_egid(struct lwp *, void *, register_t *);
int svr4_sys_signal(struct lwp *, void *, register_t *);
#ifdef SYSVMSG
int svr4_sys_msgsys(struct proc *, void *, register_t *);
int svr4_sys_msgsys(struct lwp *, void *, register_t *);
#else
#endif
int svr4_sys_sysarch(struct proc *, void *, register_t *);
int svr4_sys_sysarch(struct lwp *, void *, register_t *);
#ifdef SYSVSHM
int svr4_sys_shmsys(struct proc *, void *, register_t *);
int svr4_sys_shmsys(struct lwp *, void *, register_t *);
#else
#endif
#ifdef SYSVSEM
int svr4_sys_semsys(struct proc *, void *, register_t *);
int svr4_sys_semsys(struct lwp *, void *, register_t *);
#else
#endif
int svr4_sys_ioctl(struct proc *, void *, register_t *);
int svr4_sys_utssys(struct proc *, void *, register_t *);
int sys_fsync(struct proc *, void *, register_t *);
int svr4_sys_execve(struct proc *, void *, register_t *);
int sys_umask(struct proc *, void *, register_t *);
int sys_chroot(struct proc *, void *, register_t *);
int svr4_sys_fcntl(struct proc *, void *, register_t *);
int svr4_sys_ulimit(struct proc *, void *, register_t *);
int sys_rmdir(struct proc *, void *, register_t *);
int sys_mkdir(struct proc *, void *, register_t *);
int svr4_sys_getdents(struct proc *, void *, register_t *);
int svr4_sys_getmsg(struct proc *, void *, register_t *);
int svr4_sys_putmsg(struct proc *, void *, register_t *);
int sys_poll(struct proc *, void *, register_t *);
int svr4_sys_lstat(struct proc *, void *, register_t *);
int sys_symlink(struct proc *, void *, register_t *);
int sys_readlink(struct proc *, void *, register_t *);
int sys_getgroups(struct proc *, void *, register_t *);
int sys_setgroups(struct proc *, void *, register_t *);
int sys_fchmod(struct proc *, void *, register_t *);
int sys___posix_fchown(struct proc *, void *, register_t *);
int svr4_sys_sigprocmask(struct proc *, void *, register_t *);
int svr4_sys_sigsuspend(struct proc *, void *, register_t *);
int svr4_sys_sigaltstack(struct proc *, void *, register_t *);
int svr4_sys_sigaction(struct proc *, void *, register_t *);
int svr4_sys_sigpending(struct proc *, void *, register_t *);
int svr4_sys_context(struct proc *, void *, register_t *);
int svr4_sys_statvfs(struct proc *, void *, register_t *);
int svr4_sys_fstatvfs(struct proc *, void *, register_t *);
int svr4_sys_waitsys(struct proc *, void *, register_t *);
int svr4_sys_hrtsys(struct proc *, void *, register_t *);
int svr4_sys_pathconf(struct proc *, void *, register_t *);
int svr4_sys_mmap(struct proc *, void *, register_t *);
int sys_mprotect(struct proc *, void *, register_t *);
int sys_munmap(struct proc *, void *, register_t *);
int svr4_sys_fpathconf(struct proc *, void *, register_t *);
int sys_vfork(struct proc *, void *, register_t *);
int sys_fchdir(struct proc *, void *, register_t *);
int sys_readv(struct proc *, void *, register_t *);
int sys_writev(struct proc *, void *, register_t *);
int svr4_sys_xstat(struct proc *, void *, register_t *);
int svr4_sys_lxstat(struct proc *, void *, register_t *);
int svr4_sys_fxstat(struct proc *, void *, register_t *);
int svr4_sys_xmknod(struct proc *, void *, register_t *);
int svr4_sys_setrlimit(struct proc *, void *, register_t *);
int svr4_sys_getrlimit(struct proc *, void *, register_t *);
int sys___posix_lchown(struct proc *, void *, register_t *);
int svr4_sys_memcntl(struct proc *, void *, register_t *);
int sys___posix_rename(struct proc *, void *, register_t *);
int svr4_sys_uname(struct proc *, void *, register_t *);
int sys_setegid(struct proc *, void *, register_t *);
int svr4_sys_sysconfig(struct proc *, void *, register_t *);
int sys_adjtime(struct proc *, void *, register_t *);
int svr4_sys_systeminfo(struct proc *, void *, register_t *);
int sys_seteuid(struct proc *, void *, register_t *);
int sys_fork(struct proc *, void *, register_t *);
int svr4_sys__lwp_info(struct proc *, void *, register_t *);
int sys_fchroot(struct proc *, void *, register_t *);
int svr4_sys_utimes(struct proc *, void *, register_t *);
int svr4_sys_vhangup(struct proc *, void *, register_t *);
int svr4_sys_gettimeofday(struct proc *, void *, register_t *);
int sys_getitimer(struct proc *, void *, register_t *);
int sys_setitimer(struct proc *, void *, register_t *);
int svr4_sys__lwp_create(struct proc *, void *, register_t *);
int svr4_sys__lwp_exit(struct proc *, void *, register_t *);
int svr4_sys__lwp_suspend(struct proc *, void *, register_t *);
int svr4_sys__lwp_continue(struct proc *, void *, register_t *);
int svr4_sys__lwp_kill(struct proc *, void *, register_t *);
int svr4_sys__lwp_self(struct proc *, void *, register_t *);
int svr4_sys__lwp_getprivate(struct proc *, void *, register_t *);
int svr4_sys__lwp_setprivate(struct proc *, void *, register_t *);
int svr4_sys__lwp_wait(struct proc *, void *, register_t *);
int svr4_sys_pread(struct proc *, void *, register_t *);
int svr4_sys_pwrite(struct proc *, void *, register_t *);
int svr4_sys_llseek(struct proc *, void *, register_t *);
int svr4_sys_acl(struct proc *, void *, register_t *);
int svr4_sys_auditsys(struct proc *, void *, register_t *);
int sys_nanosleep(struct proc *, void *, register_t *);
int svr4_sys_facl(struct proc *, void *, register_t *);
int sys_setreuid(struct proc *, void *, register_t *);
int sys_setregid(struct proc *, void *, register_t *);
int svr4_sys_resolvepath(struct proc *, void *, register_t *);
int svr4_sys_getdents64(struct proc *, void *, register_t *);
int svr4_sys_mmap64(struct proc *, void *, register_t *);
int svr4_sys_stat64(struct proc *, void *, register_t *);
int svr4_sys_lstat64(struct proc *, void *, register_t *);
int svr4_sys_fstat64(struct proc *, void *, register_t *);
int svr4_sys_statvfs64(struct proc *, void *, register_t *);
int svr4_sys_fstatvfs64(struct proc *, void *, register_t *);
int svr4_sys_setrlimit64(struct proc *, void *, register_t *);
int svr4_sys_getrlimit64(struct proc *, void *, register_t *);
int svr4_sys_pread64(struct proc *, void *, register_t *);
int svr4_sys_pwrite64(struct proc *, void *, register_t *);
int svr4_sys_creat64(struct proc *, void *, register_t *);
int svr4_sys_open64(struct proc *, void *, register_t *);
int svr4_sys_socket(struct proc *, void *, register_t *);
int sys_socketpair(struct proc *, void *, register_t *);
int sys_bind(struct proc *, void *, register_t *);
int sys_listen(struct proc *, void *, register_t *);
int compat_43_sys_accept(struct proc *, void *, register_t *);
int sys_connect(struct proc *, void *, register_t *);
int sys_shutdown(struct proc *, void *, register_t *);
int compat_43_sys_recv(struct proc *, void *, register_t *);
int compat_43_sys_recvfrom(struct proc *, void *, register_t *);
int compat_43_sys_recvmsg(struct proc *, void *, register_t *);
int compat_43_sys_send(struct proc *, void *, register_t *);
int compat_43_sys_sendmsg(struct proc *, void *, register_t *);
int sys_sendto(struct proc *, void *, register_t *);
int compat_43_sys_getpeername(struct proc *, void *, register_t *);
int compat_43_sys_getsockname(struct proc *, void *, register_t *);
int sys_getsockopt(struct proc *, void *, register_t *);
int sys_setsockopt(struct proc *, void *, register_t *);
int sys_ntp_gettime(struct proc *, void *, register_t *);
int svr4_sys_ioctl(struct lwp *, void *, register_t *);
int svr4_sys_utssys(struct lwp *, void *, register_t *);
int sys_fsync(struct lwp *, void *, register_t *);
int svr4_sys_execve(struct lwp *, void *, register_t *);
int sys_umask(struct lwp *, void *, register_t *);
int sys_chroot(struct lwp *, void *, register_t *);
int svr4_sys_fcntl(struct lwp *, void *, register_t *);
int svr4_sys_ulimit(struct lwp *, void *, register_t *);
int sys_rmdir(struct lwp *, void *, register_t *);
int sys_mkdir(struct lwp *, void *, register_t *);
int svr4_sys_getdents(struct lwp *, void *, register_t *);
int svr4_sys_getmsg(struct lwp *, void *, register_t *);
int svr4_sys_putmsg(struct lwp *, void *, register_t *);
int sys_poll(struct lwp *, void *, register_t *);
int svr4_sys_lstat(struct lwp *, void *, register_t *);
int sys_symlink(struct lwp *, void *, register_t *);
int sys_readlink(struct lwp *, void *, register_t *);
int sys_getgroups(struct lwp *, void *, register_t *);
int sys_setgroups(struct lwp *, void *, register_t *);
int sys_fchmod(struct lwp *, void *, register_t *);
int sys___posix_fchown(struct lwp *, void *, register_t *);
int svr4_sys_sigprocmask(struct lwp *, void *, register_t *);
int svr4_sys_sigsuspend(struct lwp *, void *, register_t *);
int svr4_sys_sigaltstack(struct lwp *, void *, register_t *);
int svr4_sys_sigaction(struct lwp *, void *, register_t *);
int svr4_sys_sigpending(struct lwp *, void *, register_t *);
int svr4_sys_context(struct lwp *, void *, register_t *);
int svr4_sys_statvfs(struct lwp *, void *, register_t *);
int svr4_sys_fstatvfs(struct lwp *, void *, register_t *);
int svr4_sys_waitsys(struct lwp *, void *, register_t *);
int svr4_sys_hrtsys(struct lwp *, void *, register_t *);
int svr4_sys_pathconf(struct lwp *, void *, register_t *);
int svr4_sys_mmap(struct lwp *, void *, register_t *);
int sys_mprotect(struct lwp *, void *, register_t *);
int sys_munmap(struct lwp *, void *, register_t *);
int svr4_sys_fpathconf(struct lwp *, void *, register_t *);
int sys_vfork(struct lwp *, void *, register_t *);
int sys_fchdir(struct lwp *, void *, register_t *);
int sys_readv(struct lwp *, void *, register_t *);
int sys_writev(struct lwp *, void *, register_t *);
int svr4_sys_xstat(struct lwp *, void *, register_t *);
int svr4_sys_lxstat(struct lwp *, void *, register_t *);
int svr4_sys_fxstat(struct lwp *, void *, register_t *);
int svr4_sys_xmknod(struct lwp *, void *, register_t *);
int svr4_sys_setrlimit(struct lwp *, void *, register_t *);
int svr4_sys_getrlimit(struct lwp *, void *, register_t *);
int sys___posix_lchown(struct lwp *, void *, register_t *);
int svr4_sys_memcntl(struct lwp *, void *, register_t *);
int sys___posix_rename(struct lwp *, void *, register_t *);
int svr4_sys_uname(struct lwp *, void *, register_t *);
int sys_setegid(struct lwp *, void *, register_t *);
int svr4_sys_sysconfig(struct lwp *, void *, register_t *);
int sys_adjtime(struct lwp *, void *, register_t *);
int svr4_sys_systeminfo(struct lwp *, void *, register_t *);
int sys_seteuid(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int svr4_sys__lwp_info(struct lwp *, void *, register_t *);
int sys_fchroot(struct lwp *, void *, register_t *);
int svr4_sys_utimes(struct lwp *, void *, register_t *);
int svr4_sys_vhangup(struct lwp *, void *, register_t *);
int svr4_sys_gettimeofday(struct lwp *, void *, register_t *);
int sys_getitimer(struct lwp *, void *, register_t *);
int sys_setitimer(struct lwp *, void *, register_t *);
int svr4_sys__lwp_create(struct lwp *, void *, register_t *);
int svr4_sys__lwp_exit(struct lwp *, void *, register_t *);
int svr4_sys__lwp_suspend(struct lwp *, void *, register_t *);
int svr4_sys__lwp_continue(struct lwp *, void *, register_t *);
int svr4_sys__lwp_kill(struct lwp *, void *, register_t *);
int svr4_sys__lwp_self(struct lwp *, void *, register_t *);
int svr4_sys__lwp_getprivate(struct lwp *, void *, register_t *);
int svr4_sys__lwp_setprivate(struct lwp *, void *, register_t *);
int svr4_sys__lwp_wait(struct lwp *, void *, register_t *);
int svr4_sys_pread(struct lwp *, void *, register_t *);
int svr4_sys_pwrite(struct lwp *, void *, register_t *);
int svr4_sys_llseek(struct lwp *, void *, register_t *);
int svr4_sys_acl(struct lwp *, void *, register_t *);
int svr4_sys_auditsys(struct lwp *, void *, register_t *);
int sys_nanosleep(struct lwp *, void *, register_t *);
int svr4_sys_facl(struct lwp *, void *, register_t *);
int sys_setreuid(struct lwp *, void *, register_t *);
int sys_setregid(struct lwp *, void *, register_t *);
int svr4_sys_resolvepath(struct lwp *, void *, register_t *);
int svr4_sys_getdents64(struct lwp *, void *, register_t *);
int svr4_sys_mmap64(struct lwp *, void *, register_t *);
int svr4_sys_stat64(struct lwp *, void *, register_t *);
int svr4_sys_lstat64(struct lwp *, void *, register_t *);
int svr4_sys_fstat64(struct lwp *, void *, register_t *);
int svr4_sys_statvfs64(struct lwp *, void *, register_t *);
int svr4_sys_fstatvfs64(struct lwp *, void *, register_t *);
int svr4_sys_setrlimit64(struct lwp *, void *, register_t *);
int svr4_sys_getrlimit64(struct lwp *, void *, register_t *);
int svr4_sys_pread64(struct lwp *, void *, register_t *);
int svr4_sys_pwrite64(struct lwp *, void *, register_t *);
int svr4_sys_creat64(struct lwp *, void *, register_t *);
int svr4_sys_open64(struct lwp *, void *, register_t *);
int svr4_sys_socket(struct lwp *, void *, register_t *);
int sys_socketpair(struct lwp *, void *, register_t *);
int sys_bind(struct lwp *, void *, register_t *);
int sys_listen(struct lwp *, void *, register_t *);
int compat_43_sys_accept(struct lwp *, void *, register_t *);
int sys_connect(struct lwp *, void *, register_t *);
int sys_shutdown(struct lwp *, void *, register_t *);
int compat_43_sys_recv(struct lwp *, void *, register_t *);
int compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
int compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
int compat_43_sys_send(struct lwp *, void *, register_t *);
int compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
int sys_sendto(struct lwp *, void *, register_t *);
int compat_43_sys_getpeername(struct lwp *, void *, register_t *);
int compat_43_sys_getsockname(struct lwp *, void *, register_t *);
int sys_getsockopt(struct lwp *, void *, register_t *);
int sys_setsockopt(struct lwp *, void *, register_t *);
int sys_ntp_gettime(struct lwp *, void *, register_t *);
#if defined(NTP) || !defined(_KERNEL)
int sys_ntp_adjtime(struct proc *, void *, register_t *);
int sys_ntp_adjtime(struct lwp *, void *, register_t *);
#else
#endif
#endif /* _SVR4_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: svr4_syscalls.c,v 1.69 2001/11/13 02:09:26 lukem Exp $ */
/* $NetBSD: svr4_syscalls.c,v 1.70 2003/01/18 08:45:04 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2001/05/30 11:37:32 mrg Exp
* created from NetBSD
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_syscalls.c,v 1.69 2001/11/13 02:09:26 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_syscalls.c,v 1.70 2003/01/18 08:45:04 thorpej Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -20,6 +20,7 @@ __KERNEL_RCSID(0, "$NetBSD: svr4_syscalls.c,v 1.69 2001/11/13 02:09:26 lukem Exp
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/sa.h>
#include <sys/syscallargs.h>
#include <compat/svr4/svr4_types.h>
#include <compat/svr4/svr4_time.h>

View File

@ -1,14 +1,14 @@
/* $NetBSD: svr4_sysent.c,v 1.71 2001/11/13 02:09:26 lukem Exp $ */
/* $NetBSD: svr4_sysent.c,v 1.72 2003/01/18 08:45:04 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2001/05/30 11:37:32 mrg Exp
* created from NetBSD
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_sysent.c,v 1.71 2001/11/13 02:09:26 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_sysent.c,v 1.72 2003/01/18 08:45:04 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
@ -19,6 +19,7 @@ __KERNEL_RCSID(0, "$NetBSD: svr4_sysent.c,v 1.71 2001/11/13 02:09:26 lukem Exp $
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/sa.h>
#include <sys/syscallargs.h>
#include <compat/svr4/svr4_types.h>
#include <compat/svr4/svr4_time.h>