diff --git a/sys/compat/hpux/hpux_syscall.h b/sys/compat/hpux/hpux_syscall.h index 5d3a2cd1e39c..50517dee5523 100644 --- a/sys/compat/hpux/hpux_syscall.h +++ b/sys/compat/hpux/hpux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: hpux_syscall.h,v 1.33 2002/11/01 20:32:13 jdolecek Exp $ */ +/* $NetBSD: hpux_syscall.h,v 1.34 2003/01/18 07:37:33 thorpej Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2001/06/06 16:17:40 thorpej Exp + * created from NetBSD */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/hpux/hpux_syscallargs.h b/sys/compat/hpux/hpux_syscallargs.h index 7d281c5615ae..1bc5054961a2 100644 --- a/sys/compat/hpux/hpux_syscallargs.h +++ b/sys/compat/hpux/hpux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: hpux_syscallargs.h,v 1.30 2001/11/13 02:08:18 lukem Exp $ */ +/* $NetBSD: hpux_syscallargs.h,v 1.31 2003/01/18 07:37:34 thorpej Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2001/06/06 16:17:40 thorpej Exp + * created from NetBSD */ #ifndef _HPUX_SYS__SYSCALLARGS_H_ @@ -424,169 +424,169 @@ struct hpux_sys_shmctl_args { * System call prototypes. */ -int sys_nosys(struct proc *, void *, register_t *); -int sys_exit(struct proc *, void *, register_t *); -int hpux_sys_fork(struct proc *, void *, register_t *); -int hpux_sys_read(struct proc *, void *, register_t *); -int hpux_sys_write(struct proc *, void *, register_t *); -int hpux_sys_open(struct proc *, void *, register_t *); -int sys_close(struct proc *, void *, register_t *); -int hpux_sys_wait(struct proc *, void *, register_t *); -int hpux_sys_creat(struct proc *, void *, register_t *); -int sys_link(struct proc *, void *, register_t *); -int hpux_sys_unlink(struct proc *, void *, register_t *); -int hpux_sys_execv(struct proc *, void *, register_t *); -int hpux_sys_chdir(struct proc *, void *, register_t *); -int hpux_sys_time_6x(struct proc *, void *, register_t *); -int hpux_sys_mknod(struct proc *, void *, register_t *); -int hpux_sys_chmod(struct proc *, void *, register_t *); -int hpux_sys_chown(struct proc *, void *, register_t *); -int sys_obreak(struct proc *, void *, register_t *); -int hpux_sys_stat_6x(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(struct proc *, void *, register_t *); -int hpux_sys_stime_6x(struct proc *, void *, register_t *); +int sys_nosys(struct lwp *, void *, register_t *); +int sys_exit(struct lwp *, void *, register_t *); +int hpux_sys_fork(struct lwp *, void *, register_t *); +int hpux_sys_read(struct lwp *, void *, register_t *); +int hpux_sys_write(struct lwp *, void *, register_t *); +int hpux_sys_open(struct lwp *, void *, register_t *); +int sys_close(struct lwp *, void *, register_t *); +int hpux_sys_wait(struct lwp *, void *, register_t *); +int hpux_sys_creat(struct lwp *, void *, register_t *); +int sys_link(struct lwp *, void *, register_t *); +int hpux_sys_unlink(struct lwp *, void *, register_t *); +int hpux_sys_execv(struct lwp *, void *, register_t *); +int hpux_sys_chdir(struct lwp *, void *, register_t *); +int hpux_sys_time_6x(struct lwp *, void *, register_t *); +int hpux_sys_mknod(struct lwp *, void *, register_t *); +int hpux_sys_chmod(struct lwp *, void *, register_t *); +int hpux_sys_chown(struct lwp *, void *, register_t *); +int sys_obreak(struct lwp *, void *, register_t *); +int hpux_sys_stat_6x(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(struct lwp *, void *, register_t *); +int hpux_sys_stime_6x(struct lwp *, void *, register_t *); #if 0 -int hpux_sys_ptrace(struct proc *, void *, register_t *); +int hpux_sys_ptrace(struct lwp *, void *, register_t *); #else #endif -int hpux_sys_alarm_6x(struct proc *, void *, register_t *); -int hpux_sys_fstat_6x(struct proc *, void *, register_t *); -int hpux_sys_pause_6x(struct proc *, void *, register_t *); -int hpux_sys_utime_6x(struct proc *, void *, register_t *); -int hpux_sys_stty_6x(struct proc *, void *, register_t *); -int hpux_sys_gtty_6x(struct proc *, void *, register_t *); -int hpux_sys_access(struct proc *, void *, register_t *); -int hpux_sys_nice_6x(struct proc *, void *, register_t *); -int hpux_sys_ftime_6x(struct proc *, void *, register_t *); -int sys_sync(struct proc *, void *, register_t *); -int hpux_sys_kill(struct proc *, void *, register_t *); -int hpux_sys_stat(struct proc *, void *, register_t *); -int hpux_sys_setpgrp_6x(struct proc *, void *, register_t *); -int hpux_sys_lstat(struct proc *, void *, register_t *); -int sys_dup(struct proc *, void *, register_t *); -int sys_pipe(struct proc *, void *, register_t *); -int hpux_sys_times_6x(struct proc *, void *, register_t *); -int sys_profil(struct proc *, void *, register_t *); -int sys_setgid(struct proc *, void *, register_t *); -int sys_getgid(struct proc *, void *, register_t *); -int hpux_sys_ssig_6x(struct proc *, void *, register_t *); -int hpux_sys_ioctl(struct proc *, void *, register_t *); -int hpux_sys_symlink(struct proc *, void *, register_t *); -int hpux_sys_utssys(struct proc *, void *, register_t *); -int hpux_sys_readlink(struct proc *, void *, register_t *); -int hpux_sys_execve(struct proc *, void *, register_t *); -int sys_umask(struct proc *, void *, register_t *); -int sys_chroot(struct proc *, void *, register_t *); -int hpux_sys_fcntl(struct proc *, void *, register_t *); -int hpux_sys_ulimit(struct proc *, void *, register_t *); -int hpux_sys_vfork(struct proc *, void *, register_t *); -int hpux_sys_read(struct proc *, void *, register_t *); -int hpux_sys_write(struct proc *, void *, register_t *); -int hpux_sys_mmap(struct proc *, void *, register_t *); -int sys_munmap(struct proc *, void *, register_t *); -int sys_mprotect(struct proc *, void *, register_t *); -int sys_getgroups(struct proc *, void *, register_t *); -int sys_setgroups(struct proc *, void *, register_t *); -int hpux_sys_getpgrp2(struct proc *, void *, register_t *); -int hpux_sys_setpgrp2(struct proc *, void *, register_t *); -int sys_setitimer(struct proc *, void *, register_t *); -int hpux_sys_wait3(struct proc *, void *, register_t *); -int sys_getitimer(struct proc *, void *, register_t *); -int sys_dup2(struct proc *, void *, register_t *); -int hpux_sys_fstat(struct proc *, void *, register_t *); -int sys_select(struct proc *, void *, register_t *); -int sys_fsync(struct proc *, void *, register_t *); -int hpux_sys_sigreturn(struct proc *, void *, register_t *); -int hpux_sys_sigvec(struct proc *, void *, register_t *); -int hpux_sys_sigblock(struct proc *, void *, register_t *); -int hpux_sys_sigsetmask(struct proc *, void *, register_t *); -int hpux_sys_sigpause(struct proc *, void *, register_t *); -int compat_43_sys_sigstack(struct proc *, void *, register_t *); -int sys_gettimeofday(struct proc *, void *, register_t *); -int hpux_sys_readv(struct proc *, void *, register_t *); -int hpux_sys_writev(struct proc *, void *, register_t *); -int sys_settimeofday(struct proc *, void *, register_t *); -int sys___posix_fchown(struct proc *, void *, register_t *); -int sys_fchmod(struct proc *, void *, register_t *); -int hpux_sys_setresuid(struct proc *, void *, register_t *); -int hpux_sys_setresgid(struct proc *, void *, register_t *); -int hpux_sys_rename(struct proc *, void *, register_t *); -int hpux_sys_truncate(struct proc *, void *, register_t *); -int compat_43_sys_ftruncate(struct proc *, void *, register_t *); -int hpux_sys_sysconf(struct proc *, void *, register_t *); -int hpux_sys_mkdir(struct proc *, void *, register_t *); -int hpux_sys_rmdir(struct proc *, void *, register_t *); -int hpux_sys_getrlimit(struct proc *, void *, register_t *); -int hpux_sys_setrlimit(struct proc *, void *, register_t *); -int hpux_sys_rtprio(struct proc *, void *, register_t *); -int hpux_sys_netioctl(struct proc *, void *, register_t *); -int hpux_sys_lockf(struct proc *, void *, register_t *); +int hpux_sys_alarm_6x(struct lwp *, void *, register_t *); +int hpux_sys_fstat_6x(struct lwp *, void *, register_t *); +int hpux_sys_pause_6x(struct lwp *, void *, register_t *); +int hpux_sys_utime_6x(struct lwp *, void *, register_t *); +int hpux_sys_stty_6x(struct lwp *, void *, register_t *); +int hpux_sys_gtty_6x(struct lwp *, void *, register_t *); +int hpux_sys_access(struct lwp *, void *, register_t *); +int hpux_sys_nice_6x(struct lwp *, void *, register_t *); +int hpux_sys_ftime_6x(struct lwp *, void *, register_t *); +int sys_sync(struct lwp *, void *, register_t *); +int hpux_sys_kill(struct lwp *, void *, register_t *); +int hpux_sys_stat(struct lwp *, void *, register_t *); +int hpux_sys_setpgrp_6x(struct lwp *, void *, register_t *); +int hpux_sys_lstat(struct lwp *, void *, register_t *); +int sys_dup(struct lwp *, void *, register_t *); +int sys_pipe(struct lwp *, void *, register_t *); +int hpux_sys_times_6x(struct lwp *, void *, register_t *); +int sys_profil(struct lwp *, void *, register_t *); +int sys_setgid(struct lwp *, void *, register_t *); +int sys_getgid(struct lwp *, void *, register_t *); +int hpux_sys_ssig_6x(struct lwp *, void *, register_t *); +int hpux_sys_ioctl(struct lwp *, void *, register_t *); +int hpux_sys_symlink(struct lwp *, void *, register_t *); +int hpux_sys_utssys(struct lwp *, void *, register_t *); +int hpux_sys_readlink(struct lwp *, void *, register_t *); +int hpux_sys_execve(struct lwp *, void *, register_t *); +int sys_umask(struct lwp *, void *, register_t *); +int sys_chroot(struct lwp *, void *, register_t *); +int hpux_sys_fcntl(struct lwp *, void *, register_t *); +int hpux_sys_ulimit(struct lwp *, void *, register_t *); +int hpux_sys_vfork(struct lwp *, void *, register_t *); +int hpux_sys_read(struct lwp *, void *, register_t *); +int hpux_sys_write(struct lwp *, void *, register_t *); +int hpux_sys_mmap(struct lwp *, void *, register_t *); +int sys_munmap(struct lwp *, void *, register_t *); +int sys_mprotect(struct lwp *, void *, register_t *); +int sys_getgroups(struct lwp *, void *, register_t *); +int sys_setgroups(struct lwp *, void *, register_t *); +int hpux_sys_getpgrp2(struct lwp *, void *, register_t *); +int hpux_sys_setpgrp2(struct lwp *, void *, register_t *); +int sys_setitimer(struct lwp *, void *, register_t *); +int hpux_sys_wait3(struct lwp *, void *, register_t *); +int sys_getitimer(struct lwp *, void *, register_t *); +int sys_dup2(struct lwp *, void *, register_t *); +int hpux_sys_fstat(struct lwp *, void *, register_t *); +int sys_select(struct lwp *, void *, register_t *); +int sys_fsync(struct lwp *, void *, register_t *); +int hpux_sys_sigreturn(struct lwp *, void *, register_t *); +int hpux_sys_sigvec(struct lwp *, void *, register_t *); +int hpux_sys_sigblock(struct lwp *, void *, register_t *); +int hpux_sys_sigsetmask(struct lwp *, void *, register_t *); +int hpux_sys_sigpause(struct lwp *, void *, register_t *); +int compat_43_sys_sigstack(struct lwp *, void *, register_t *); +int sys_gettimeofday(struct lwp *, void *, register_t *); +int hpux_sys_readv(struct lwp *, void *, register_t *); +int hpux_sys_writev(struct lwp *, void *, register_t *); +int sys_settimeofday(struct lwp *, void *, register_t *); +int sys___posix_fchown(struct lwp *, void *, register_t *); +int sys_fchmod(struct lwp *, void *, register_t *); +int hpux_sys_setresuid(struct lwp *, void *, register_t *); +int hpux_sys_setresgid(struct lwp *, void *, register_t *); +int hpux_sys_rename(struct lwp *, void *, register_t *); +int hpux_sys_truncate(struct lwp *, void *, register_t *); +int compat_43_sys_ftruncate(struct lwp *, void *, register_t *); +int hpux_sys_sysconf(struct lwp *, void *, register_t *); +int hpux_sys_mkdir(struct lwp *, void *, register_t *); +int hpux_sys_rmdir(struct lwp *, void *, register_t *); +int hpux_sys_getrlimit(struct lwp *, void *, register_t *); +int hpux_sys_setrlimit(struct lwp *, void *, register_t *); +int hpux_sys_rtprio(struct lwp *, void *, register_t *); +int hpux_sys_netioctl(struct lwp *, void *, register_t *); +int hpux_sys_lockf(struct lwp *, void *, register_t *); #ifdef SYSVSEM -int sys_semget(struct proc *, void *, register_t *); -int hpux_sys_osemctl(struct proc *, void *, register_t *); -int sys_semop(struct proc *, void *, register_t *); +int sys_semget(struct lwp *, void *, register_t *); +int hpux_sys_osemctl(struct lwp *, void *, register_t *); +int sys_semop(struct lwp *, void *, register_t *); #else #endif #ifdef SYSVMSG -int sys_msgget(struct proc *, void *, register_t *); -int hpux_sys_omsgctl(struct proc *, void *, register_t *); -int sys_msgsnd(struct proc *, void *, register_t *); -int sys_msgrcv(struct proc *, void *, register_t *); +int sys_msgget(struct lwp *, void *, register_t *); +int hpux_sys_omsgctl(struct lwp *, void *, register_t *); +int sys_msgsnd(struct lwp *, void *, register_t *); +int sys_msgrcv(struct lwp *, void *, register_t *); #else #endif #ifdef SYSVSHM -int sys_shmget(struct proc *, void *, register_t *); -int hpux_sys_oshmctl(struct proc *, void *, register_t *); -int sys_shmat(struct proc *, void *, register_t *); -int sys_shmdt(struct proc *, void *, register_t *); +int sys_shmget(struct lwp *, void *, register_t *); +int hpux_sys_oshmctl(struct lwp *, void *, register_t *); +int sys_shmat(struct lwp *, void *, register_t *); +int sys_shmdt(struct lwp *, void *, register_t *); #else #endif -int hpux_sys_advise(struct proc *, void *, register_t *); -int hpux_sys_getcontext(struct proc *, void *, register_t *); -int hpux_sys_getaccess(struct proc *, void *, register_t *); -int hpux_sys_waitpid(struct proc *, void *, register_t *); -int sys_pathconf(struct proc *, void *, register_t *); -int sys_fpathconf(struct proc *, void *, register_t *); -int compat_43_sys_getdirentries(struct proc *, void *, register_t *); -int compat_09_sys_getdomainname(struct proc *, void *, register_t *); -int compat_09_sys_setdomainname(struct proc *, void *, register_t *); -int hpux_sys_sigaction(struct proc *, void *, register_t *); -int hpux_sys_sigprocmask(struct proc *, void *, register_t *); -int hpux_sys_sigpending(struct proc *, void *, register_t *); -int hpux_sys_sigsuspend(struct proc *, void *, register_t *); -int compat_43_sys_getdtablesize(struct proc *, void *, register_t *); -int sys_poll(struct proc *, void *, register_t *); -int sys_fchdir(struct proc *, void *, register_t *); -int compat_43_sys_accept(struct proc *, void *, register_t *); -int sys_bind(struct proc *, void *, register_t *); -int sys_connect(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_listen(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 hpux_sys_setsockopt2(struct proc *, void *, register_t *); -int sys_shutdown(struct proc *, void *, register_t *); -int sys_socket(struct proc *, void *, register_t *); -int sys_socketpair(struct proc *, void *, register_t *); +int hpux_sys_advise(struct lwp *, void *, register_t *); +int hpux_sys_getcontext(struct lwp *, void *, register_t *); +int hpux_sys_getaccess(struct lwp *, void *, register_t *); +int hpux_sys_waitpid(struct lwp *, void *, register_t *); +int sys_pathconf(struct lwp *, void *, register_t *); +int sys_fpathconf(struct lwp *, void *, register_t *); +int compat_43_sys_getdirentries(struct lwp *, void *, register_t *); +int compat_09_sys_getdomainname(struct lwp *, void *, register_t *); +int compat_09_sys_setdomainname(struct lwp *, void *, register_t *); +int hpux_sys_sigaction(struct lwp *, void *, register_t *); +int hpux_sys_sigprocmask(struct lwp *, void *, register_t *); +int hpux_sys_sigpending(struct lwp *, void *, register_t *); +int hpux_sys_sigsuspend(struct lwp *, void *, register_t *); +int compat_43_sys_getdtablesize(struct lwp *, void *, register_t *); +int sys_poll(struct lwp *, void *, register_t *); +int sys_fchdir(struct lwp *, void *, register_t *); +int compat_43_sys_accept(struct lwp *, void *, register_t *); +int sys_bind(struct lwp *, void *, register_t *); +int sys_connect(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_listen(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 hpux_sys_setsockopt2(struct lwp *, void *, register_t *); +int sys_shutdown(struct lwp *, void *, register_t *); +int sys_socket(struct lwp *, void *, register_t *); +int sys_socketpair(struct lwp *, void *, register_t *); #ifdef SYSVSEM -int hpux_sys_semctl(struct proc *, void *, register_t *); +int hpux_sys_semctl(struct lwp *, void *, register_t *); #else #endif #ifdef SYSVMSG -int hpux_sys_msgctl(struct proc *, void *, register_t *); +int hpux_sys_msgctl(struct lwp *, void *, register_t *); #else #endif #ifdef SYSVSHM -int hpux_sys_shmctl(struct proc *, void *, register_t *); +int hpux_sys_shmctl(struct lwp *, void *, register_t *); #else #endif #endif /* _HPUX_SYS__SYSCALLARGS_H_ */ diff --git a/sys/compat/hpux/hpux_syscalls.c b/sys/compat/hpux/hpux_syscalls.c index 847859ac20cb..ff8a2d5fdac9 100644 --- a/sys/compat/hpux/hpux_syscalls.c +++ b/sys/compat/hpux/hpux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: hpux_syscalls.c,v 1.36 2001/11/13 02:08:19 lukem Exp $ */ +/* $NetBSD: hpux_syscalls.c,v 1.37 2003/01/18 07:37:33 thorpej Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2001/06/06 16:17:40 thorpej Exp + * created from NetBSD */ #include -__KERNEL_RCSID(0, "$NetBSD: hpux_syscalls.c,v 1.36 2001/11/13 02:08:19 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hpux_syscalls.c,v 1.37 2003/01/18 07:37:33 thorpej Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -21,6 +21,7 @@ __KERNEL_RCSID(0, "$NetBSD: hpux_syscalls.c,v 1.36 2001/11/13 02:08:19 lukem Exp #include #include #include +#include #include #include #include diff --git a/sys/compat/hpux/hpux_sysent.c b/sys/compat/hpux/hpux_sysent.c index 3d1df65e0751..ea63398b2606 100644 --- a/sys/compat/hpux/hpux_sysent.c +++ b/sys/compat/hpux/hpux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: hpux_sysent.c,v 1.39 2002/11/01 20:32:13 jdolecek Exp $ */ +/* $NetBSD: hpux_sysent.c,v 1.40 2003/01/18 07:37:32 thorpej Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.26 2001/06/06 16:17:40 thorpej Exp + * created from NetBSD */ #include -__KERNEL_RCSID(0, "$NetBSD: hpux_sysent.c,v 1.39 2002/11/01 20:32:13 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hpux_sysent.c,v 1.40 2003/01/18 07:37:32 thorpej Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -20,6 +20,7 @@ __KERNEL_RCSID(0, "$NetBSD: hpux_sysent.c,v 1.39 2002/11/01 20:32:13 jdolecek Ex #include #include #include +#include #include #include #include