Index: head/sys/alpha/osf1/osf1_proto.h =================================================================== --- head/sys/alpha/osf1/osf1_proto.h (revision 63986) +++ head/sys/alpha/osf1/osf1_proto.h (revision 63987) @@ -1,355 +1,355 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.2 2000/05/09 18:23:16 bde Exp + * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.3 2000/07/29 00:16:26 peter Exp */ #ifndef _OSF1_SYSPROTO_H_ #define _OSF1_SYSPROTO_H_ #include #include struct proc; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) struct osf1_wait4_args { int pid; char pid_[PAD_(int)]; int * status; char status_[PAD_(int *)]; int options; char options_[PAD_(int)]; struct osf1_rusage * rusage; char rusage_[PAD_(struct osf1_rusage *)]; }; struct osf1_mknod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; int dev; char dev_[PAD_(int)]; }; struct osf1_getfsstat_args { struct osf1_statfs * buf; char buf_[PAD_(struct osf1_statfs *)]; long bufsize; char bufsize_[PAD_(long)]; int flags; char flags_[PAD_(int)]; }; struct osf1_lseek_args { int fd; char fd_[PAD_(int)]; off_t offset; char offset_[PAD_(off_t)]; int whence; char whence_[PAD_(int)]; }; struct osf1_mount_args { int type; char type_[PAD_(int)]; char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct osf1_unmount_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct osf1_setuid_args { uid_t uid; char uid_[PAD_(uid_t)]; }; struct osf1_access_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct osf1_kill_args { int pid; char pid_[PAD_(int)]; int signum; char signum_[PAD_(int)]; }; struct osf1_set_program_attributes_args { vm_offset_t text_start; char text_start_[PAD_(vm_offset_t)]; vm_offset_t text_len; char text_len_[PAD_(vm_offset_t)]; vm_offset_t bss_start; char bss_start_[PAD_(vm_offset_t)]; vm_offset_t bss_len; char bss_len_[PAD_(vm_offset_t)]; }; struct osf1_open_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct osf1_sigprocmask_args { int how; char how_[PAD_(int)]; osf1_sigset_t mask; char mask_[PAD_(osf1_sigset_t)]; }; struct osf1_sigpending_args { struct proc * p; char p_[PAD_(struct proc *)]; osf1_sigset_t * mask; char mask_[PAD_(osf1_sigset_t *)]; }; struct osf1_classcntl_args { int opcode; char opcode_[PAD_(int)]; int arg1; char arg1_[PAD_(int)]; int arg2; char arg2_[PAD_(int)]; int arg3; char arg3_[PAD_(int)]; }; struct osf1_ioctl_args { int fd; char fd_[PAD_(int)]; int com; char com_[PAD_(int)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct osf1_reboot_args { int opt; char opt_[PAD_(int)]; }; struct osf1_execve_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; char ** envp; char envp_[PAD_(char **)]; }; struct osf1_stat_args { char * path; char path_[PAD_(char *)]; struct osf1_stat * ub; char ub_[PAD_(struct osf1_stat *)]; }; struct osf1_lstat_args { char * path; char path_[PAD_(char *)]; struct osf1_stat * ub; char ub_[PAD_(struct osf1_stat *)]; }; struct osf1_mmap_args { caddr_t addr; char addr_[PAD_(caddr_t)]; size_t len; char len_[PAD_(size_t)]; int prot; char prot_[PAD_(int)]; int flags; char flags_[PAD_(int)]; int fd; char fd_[PAD_(int)]; off_t pos; char pos_[PAD_(off_t)]; }; struct osf1_madvise_args { register_t dummy; }; struct osf1_setpgrp_args { int pid; char pid_[PAD_(int)]; int pgid; char pgid_[PAD_(int)]; }; struct osf1_setitimer_args { u_int which; char which_[PAD_(u_int)]; struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)]; }; struct osf1_table_args { long id; char id_[PAD_(long)]; long index; char index_[PAD_(long)]; void * addr; char addr_[PAD_(void *)]; long nel; char nel_[PAD_(long)]; u_long lel; char lel_[PAD_(u_long)]; }; struct osf1_getitimer_args { u_int which; char which_[PAD_(u_int)]; struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; }; struct osf1_fstat_args { int fd; char fd_[PAD_(int)]; void * sb; char sb_[PAD_(void *)]; }; struct osf1_fcntl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; void * arg; char arg_[PAD_(void *)]; }; struct osf1_select_args { u_int nd; char nd_[PAD_(u_int)]; fd_set * in; char in_[PAD_(fd_set *)]; fd_set * ou; char ou_[PAD_(fd_set *)]; fd_set * ex; char ex_[PAD_(fd_set *)]; struct timeval * tv; char tv_[PAD_(struct timeval *)]; }; struct osf1_socket_args { int domain; char domain_[PAD_(int)]; int type; char type_[PAD_(int)]; int protocol; char protocol_[PAD_(int)]; }; struct osf1_sigreturn_args { struct osigcontext * sigcntxp; char sigcntxp_[PAD_(struct osigcontext *)]; }; struct osf1_sigsuspend_args { osf1_sigset_t ss; char ss_[PAD_(osf1_sigset_t)]; }; struct osf1_osigstack_args { struct sigstack * nss; char nss_[PAD_(struct sigstack *)]; struct sigstack * oss; char oss_[PAD_(struct sigstack *)]; }; struct osf1_gettimeofday_args { struct timeval * tp; char tp_[PAD_(struct timeval *)]; struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; }; struct osf1_getrusage_args { long who; char who_[PAD_(long)]; void * rusage; char rusage_[PAD_(void *)]; }; struct osf1_readv_args { int fd; char fd_[PAD_(int)]; struct osf1_iovec * iovp; char iovp_[PAD_(struct osf1_iovec *)]; u_int iovcnt; char iovcnt_[PAD_(u_int)]; }; struct osf1_writev_args { int fd; char fd_[PAD_(int)]; struct osf1_iovec * iovp; char iovp_[PAD_(struct osf1_iovec *)]; u_int iovcnt; char iovcnt_[PAD_(u_int)]; }; struct osf1_truncate_args { char * path; char path_[PAD_(char *)]; off_t length; char length_[PAD_(off_t)]; }; struct osf1_ftruncate_args { int fd; char fd_[PAD_(int)]; off_t length; char length_[PAD_(off_t)]; }; struct osf1_setgid_args { gid_t gid; char gid_[PAD_(gid_t)]; }; struct osf1_sendto_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; size_t len; char len_[PAD_(size_t)]; int flags; char flags_[PAD_(int)]; struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; int tolen; char tolen_[PAD_(int)]; }; struct osf1_getrlimit_args { u_int which; char which_[PAD_(u_int)]; struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; }; struct osf1_setrlimit_args { u_int which; char which_[PAD_(u_int)]; struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; }; struct osf1_sigaction_args { long signum; char signum_[PAD_(long)]; struct osf1_sigaction * nsa; char nsa_[PAD_(struct osf1_sigaction *)]; struct osf1_sigaction * osa; char osa_[PAD_(struct osf1_sigaction *)]; void * sigtramp; char sigtramp_[PAD_(void *)]; }; struct osf1_statfs_args { char * path; char path_[PAD_(char *)]; struct osf1_statfs * buf; char buf_[PAD_(struct osf1_statfs *)]; int len; char len_[PAD_(int)]; }; struct osf1_fstatfs_args { int fd; char fd_[PAD_(int)]; struct osf1_statfs * buf; char buf_[PAD_(struct osf1_statfs *)]; int len; char len_[PAD_(int)]; }; struct osf1_msync_args { caddr_t addr; char addr_[PAD_(caddr_t)]; size_t len; char len_[PAD_(size_t)]; int flags; char flags_[PAD_(int)]; }; struct osf1_signal_args { int signum; char signum_[PAD_(int)]; void * handler; char handler_[PAD_(void *)]; }; struct osf1_sigaltstack_args { struct osf1_sigaltstack * nss; char nss_[PAD_(struct osf1_sigaltstack *)]; struct osf1_sigaltstack * oss; char oss_[PAD_(struct osf1_sigaltstack *)]; }; struct osf1_sysinfo_args { int cmd; char cmd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; long count; char count_[PAD_(long)]; }; struct osf1_proplist_syscall_args { register_t dummy; }; struct osf1_ntpadjtime_args { void * tp; char tp_[PAD_(void *)]; }; struct osf1_ntpgettime_args { void * tp; char tp_[PAD_(void *)]; }; struct osf1_pathconf_args { char * path; char path_[PAD_(char *)]; int name; char name_[PAD_(int)]; }; struct osf1_fpathconf_args { int fd; char fd_[PAD_(int)]; int name; char name_[PAD_(int)]; }; struct osf1_uswitch_args { long cmd; char cmd_[PAD_(long)]; long mask; char mask_[PAD_(long)]; }; struct osf1_usleep_thread_args { struct timeval * sleep; char sleep_[PAD_(struct timeval *)]; struct timeval * slept; char slept_[PAD_(struct timeval *)]; }; struct osf1_getsysinfo_args { u_long op; char op_[PAD_(u_long)]; caddr_t buffer; char buffer_[PAD_(caddr_t)]; u_long nbytes; char nbytes_[PAD_(u_long)]; caddr_t arg; char arg_[PAD_(caddr_t)]; u_long flag; char flag_[PAD_(u_long)]; }; struct osf1_setsysinfo_args { u_long op; char op_[PAD_(u_long)]; caddr_t buffer; char buffer_[PAD_(caddr_t)]; u_long nbytes; char nbytes_[PAD_(u_long)]; caddr_t arg; char arg_[PAD_(caddr_t)]; u_long flag; char flag_[PAD_(u_long)]; }; int osf1_wait4 __P((struct proc *, struct osf1_wait4_args *)); int osf1_mknod __P((struct proc *, struct osf1_mknod_args *)); int osf1_getfsstat __P((struct proc *, struct osf1_getfsstat_args *)); int osf1_lseek __P((struct proc *, struct osf1_lseek_args *)); int osf1_mount __P((struct proc *, struct osf1_mount_args *)); int osf1_unmount __P((struct proc *, struct osf1_unmount_args *)); int osf1_setuid __P((struct proc *, struct osf1_setuid_args *)); int osf1_access __P((struct proc *, struct osf1_access_args *)); int osf1_kill __P((struct proc *, struct osf1_kill_args *)); int osf1_set_program_attributes __P((struct proc *, struct osf1_set_program_attributes_args *)); int osf1_open __P((struct proc *, struct osf1_open_args *)); int osf1_sigprocmask __P((struct proc *, struct osf1_sigprocmask_args *)); int osf1_sigpending __P((struct proc *, struct osf1_sigpending_args *)); int osf1_classcntl __P((struct proc *, struct osf1_classcntl_args *)); int osf1_ioctl __P((struct proc *, struct osf1_ioctl_args *)); int osf1_reboot __P((struct proc *, struct osf1_reboot_args *)); int osf1_execve __P((struct proc *, struct osf1_execve_args *)); int osf1_stat __P((struct proc *, struct osf1_stat_args *)); int osf1_lstat __P((struct proc *, struct osf1_lstat_args *)); int osf1_mmap __P((struct proc *, struct osf1_mmap_args *)); int osf1_madvise __P((struct proc *, struct osf1_madvise_args *)); int osf1_setpgrp __P((struct proc *, struct osf1_setpgrp_args *)); int osf1_setitimer __P((struct proc *, struct osf1_setitimer_args *)); int osf1_table __P((struct proc *, struct osf1_table_args *)); int osf1_getitimer __P((struct proc *, struct osf1_getitimer_args *)); int osf1_fstat __P((struct proc *, struct osf1_fstat_args *)); int osf1_fcntl __P((struct proc *, struct osf1_fcntl_args *)); int osf1_select __P((struct proc *, struct osf1_select_args *)); int osf1_socket __P((struct proc *, struct osf1_socket_args *)); int osf1_sigreturn __P((struct proc *, struct osf1_sigreturn_args *)); int osf1_sigsuspend __P((struct proc *, struct osf1_sigsuspend_args *)); int osf1_osigstack __P((struct proc *, struct osf1_osigstack_args *)); int osf1_gettimeofday __P((struct proc *, struct osf1_gettimeofday_args *)); int osf1_getrusage __P((struct proc *, struct osf1_getrusage_args *)); int osf1_readv __P((struct proc *, struct osf1_readv_args *)); int osf1_writev __P((struct proc *, struct osf1_writev_args *)); int osf1_truncate __P((struct proc *, struct osf1_truncate_args *)); int osf1_ftruncate __P((struct proc *, struct osf1_ftruncate_args *)); int osf1_setgid __P((struct proc *, struct osf1_setgid_args *)); int osf1_sendto __P((struct proc *, struct osf1_sendto_args *)); int osf1_getrlimit __P((struct proc *, struct osf1_getrlimit_args *)); int osf1_setrlimit __P((struct proc *, struct osf1_setrlimit_args *)); int osf1_sigaction __P((struct proc *, struct osf1_sigaction_args *)); int osf1_statfs __P((struct proc *, struct osf1_statfs_args *)); int osf1_fstatfs __P((struct proc *, struct osf1_fstatfs_args *)); int osf1_msync __P((struct proc *, struct osf1_msync_args *)); int osf1_signal __P((struct proc *, struct osf1_signal_args *)); int osf1_sigaltstack __P((struct proc *, struct osf1_sigaltstack_args *)); int osf1_sysinfo __P((struct proc *, struct osf1_sysinfo_args *)); int osf1_proplist_syscall __P((struct proc *, struct osf1_proplist_syscall_args *)); int osf1_ntpadjtime __P((struct proc *, struct osf1_ntpadjtime_args *)); int osf1_ntpgettime __P((struct proc *, struct osf1_ntpgettime_args *)); int osf1_pathconf __P((struct proc *, struct osf1_pathconf_args *)); int osf1_fpathconf __P((struct proc *, struct osf1_fpathconf_args *)); int osf1_uswitch __P((struct proc *, struct osf1_uswitch_args *)); int osf1_usleep_thread __P((struct proc *, struct osf1_usleep_thread_args *)); int osf1_getsysinfo __P((struct proc *, struct osf1_getsysinfo_args *)); int osf1_setsysinfo __P((struct proc *, struct osf1_setsysinfo_args *)); #ifdef COMPAT_43 #endif /* COMPAT_43 */ #undef PAD_ #endif /* !_OSF1_SYSPROTO_H_ */ Index: head/sys/alpha/osf1/osf1_syscall.h =================================================================== --- head/sys/alpha/osf1/osf1_syscall.h (revision 63986) +++ head/sys/alpha/osf1/osf1_syscall.h (revision 63987) @@ -1,160 +1,160 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.2 2000/05/09 18:23:16 bde Exp + * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.3 2000/07/29 00:16:26 peter Exp */ #define OSF1_SYS_nosys 0 -#define OSF1_SYS_exit 1 +#define OSF1_SYS_sys_exit 1 #define OSF1_SYS_fork 2 #define OSF1_SYS_read 3 #define OSF1_SYS_write 4 #define OSF1_SYS_close 6 #define OSF1_SYS_osf1_wait4 7 #define OSF1_SYS_link 9 #define OSF1_SYS_unlink 10 #define OSF1_SYS_chdir 12 #define OSF1_SYS_fchdir 13 #define OSF1_SYS_osf1_mknod 14 #define OSF1_SYS_chmod 15 #define OSF1_SYS_chown 16 #define OSF1_SYS_obreak 17 #define OSF1_SYS_osf1_getfsstat 18 #define OSF1_SYS_osf1_lseek 19 #define OSF1_SYS_getpid 20 #define OSF1_SYS_osf1_mount 21 #define OSF1_SYS_osf1_unmount 22 #define OSF1_SYS_osf1_setuid 23 #define OSF1_SYS_getuid 24 #define OSF1_SYS_recvfrom 29 #define OSF1_SYS_accept 30 #define OSF1_SYS_getpeername 31 #define OSF1_SYS_getsockname 32 #define OSF1_SYS_osf1_access 33 #define OSF1_SYS_sync 36 #define OSF1_SYS_osf1_kill 37 #define OSF1_SYS_setpgid 39 #define OSF1_SYS_dup 41 #define OSF1_SYS_pipe 42 #define OSF1_SYS_osf1_set_program_attributes 43 #define OSF1_SYS_osf1_open 45 /* 46 is obsolete sigaction */ #define OSF1_SYS_getgid 47 #define OSF1_SYS_osf1_sigprocmask 48 #define OSF1_SYS_getlogin 49 #define OSF1_SYS_setlogin 50 #define OSF1_SYS_acct 51 #define OSF1_SYS_osf1_sigpending 52 #define OSF1_SYS_osf1_classcntl 53 #define OSF1_SYS_osf1_ioctl 54 #define OSF1_SYS_osf1_reboot 55 #define OSF1_SYS_revoke 56 #define OSF1_SYS_symlink 57 #define OSF1_SYS_readlink 58 #define OSF1_SYS_osf1_execve 59 #define OSF1_SYS_umask 60 #define OSF1_SYS_chroot 61 #define OSF1_SYS_getpgrp 63 #define OSF1_SYS_ogetpagesize 64 #define OSF1_SYS_vfork 66 #define OSF1_SYS_osf1_stat 67 #define OSF1_SYS_osf1_lstat 68 #define OSF1_SYS_osf1_mmap 71 #define OSF1_SYS_munmap 73 #define OSF1_SYS_mprotect 74 #define OSF1_SYS_osf1_madvise 75 #define OSF1_SYS_getgroups 79 #define OSF1_SYS_setgroups 80 #define OSF1_SYS_osf1_setpgrp 82 #define OSF1_SYS_osf1_setitimer 83 #define OSF1_SYS_osf1_table 85 #define OSF1_SYS_osf1_getitimer 86 #define OSF1_SYS_ogethostname 87 #define OSF1_SYS_osethostname 88 #define OSF1_SYS_getdtablesize 89 #define OSF1_SYS_dup2 90 #define OSF1_SYS_osf1_fstat 91 #define OSF1_SYS_osf1_fcntl 92 #define OSF1_SYS_osf1_select 93 #define OSF1_SYS_poll 94 #define OSF1_SYS_fsync 95 #define OSF1_SYS_setpriority 96 #define OSF1_SYS_osf1_socket 97 #define OSF1_SYS_connect 98 #define OSF1_SYS_oaccept 99 #define OSF1_SYS_getpriority 100 #define OSF1_SYS_osend 101 #define OSF1_SYS_orecv 102 #define OSF1_SYS_osf1_sigreturn 103 #define OSF1_SYS_bind 104 #define OSF1_SYS_setsockopt 105 #define OSF1_SYS_listen 106 #define OSF1_SYS_osf1_sigsuspend 111 #define OSF1_SYS_osf1_osigstack 112 #define OSF1_SYS_osf1_gettimeofday 116 #define OSF1_SYS_osf1_getrusage 117 #define OSF1_SYS_getsockopt 118 #define OSF1_SYS_osf1_readv 120 #define OSF1_SYS_osf1_writev 121 #define OSF1_SYS_settimeofday 122 #define OSF1_SYS_fchown 123 #define OSF1_SYS_fchmod 124 #define OSF1_SYS_orecvfrom 125 #define OSF1_SYS_setreuid 126 #define OSF1_SYS_setregid 127 #define OSF1_SYS_rename 128 #define OSF1_SYS_osf1_truncate 129 #define OSF1_SYS_osf1_ftruncate 130 #define OSF1_SYS_flock 131 #define OSF1_SYS_osf1_setgid 132 #define OSF1_SYS_osf1_sendto 133 #define OSF1_SYS_shutdown 134 #define OSF1_SYS_mkdir 136 #define OSF1_SYS_rmdir 137 #define OSF1_SYS_utimes 138 /* 139 is obsolete 4.2 sigreturn */ #define OSF1_SYS_ogetpeername 141 #define OSF1_SYS_ogethostid 142 #define OSF1_SYS_osethostid 143 #define OSF1_SYS_osf1_getrlimit 144 #define OSF1_SYS_osf1_setrlimit 145 #define OSF1_SYS_setsid 147 #define OSF1_SYS_oquota 149 #define OSF1_SYS_ogetsockname 150 #define OSF1_SYS_osf1_sigaction 156 #define OSF1_SYS_ogetdirentries 159 #define OSF1_SYS_osf1_statfs 160 #define OSF1_SYS_osf1_fstatfs 161 #define OSF1_SYS_getdomainname 165 #define OSF1_SYS_setdomainname 166 #define OSF1_SYS_msgctl 200 #define OSF1_SYS_msgget 201 #define OSF1_SYS_msgrcv 202 #define OSF1_SYS_msgsnd 203 #define OSF1_SYS___semctl 204 #define OSF1_SYS_semget 205 #define OSF1_SYS_semop 206 #define OSF1_SYS_uname 207 #define OSF1_SYS_lchown 208 #define OSF1_SYS_shmat 209 #define OSF1_SYS_shmctl 210 #define OSF1_SYS_shmdt 211 #define OSF1_SYS_shmget 212 #define OSF1_SYS_osf1_msync 217 #define OSF1_SYS_osf1_signal 218 #define OSF1_SYS_getpgid 233 #define OSF1_SYS_getsid 234 #define OSF1_SYS_osf1_sigaltstack 235 #define OSF1_SYS_osf1_sysinfo 241 #define OSF1_SYS_osf1_proplist_syscall 244 #define OSF1_SYS_osf1_ntpadjtime 245 #define OSF1_SYS_osf1_ntpgettime 246 #define OSF1_SYS_osf1_pathconf 247 #define OSF1_SYS_osf1_fpathconf 248 #define OSF1_SYS_osf1_uswitch 250 #define OSF1_SYS_osf1_usleep_thread 251 #define OSF1_SYS_osf1_getsysinfo 256 #define OSF1_SYS_osf1_setsysinfo 257 #define OSF1_SYS_MAXSYSCALL 301 Index: head/sys/alpha/osf1/osf1_sysent.c =================================================================== --- head/sys/alpha/osf1/osf1_sysent.c (revision 63986) +++ head/sys/alpha/osf1/osf1_sysent.c (revision 63987) @@ -1,322 +1,322 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.2 2000/05/09 18:23:16 bde Exp + * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.3 2000/07/29 00:16:26 peter Exp */ #include "opt_compat.h" #include #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent osf1_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = nosys */ - { AS(rexit_args), (sy_call_t *)exit }, /* 1 = exit */ + { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = sys_exit */ { 0, (sy_call_t *)fork }, /* 2 = fork */ { AS(read_args), (sy_call_t *)read }, /* 3 = read */ { AS(write_args), (sy_call_t *)write }, /* 4 = write */ { 0, (sy_call_t *)nosys }, /* 5 = old open */ { AS(close_args), (sy_call_t *)close }, /* 6 = close */ { AS(osf1_wait4_args), (sy_call_t *)osf1_wait4 }, /* 7 = osf1_wait4 */ { 0, (sy_call_t *)nosys }, /* 8 = old creat */ { AS(link_args), (sy_call_t *)link }, /* 9 = link */ { AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */ { 0, (sy_call_t *)nosys }, /* 11 = execv */ { AS(chdir_args), (sy_call_t *)chdir }, /* 12 = chdir */ { AS(fchdir_args), (sy_call_t *)fchdir }, /* 13 = fchdir */ { AS(osf1_mknod_args), (sy_call_t *)osf1_mknod }, /* 14 = osf1_mknod */ { AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */ { AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */ { AS(obreak_args), (sy_call_t *)obreak }, /* 17 = obreak */ { AS(osf1_getfsstat_args), (sy_call_t *)osf1_getfsstat }, /* 18 = osf1_getfsstat */ { AS(osf1_lseek_args), (sy_call_t *)osf1_lseek }, /* 19 = osf1_lseek */ { 0, (sy_call_t *)getpid }, /* 20 = getpid */ { AS(osf1_mount_args), (sy_call_t *)osf1_mount }, /* 21 = osf1_mount */ { AS(osf1_unmount_args), (sy_call_t *)osf1_unmount }, /* 22 = osf1_unmount */ { AS(osf1_setuid_args), (sy_call_t *)osf1_setuid }, /* 23 = osf1_setuid */ { 0, (sy_call_t *)getuid }, /* 24 = getuid */ { 0, (sy_call_t *)nosys }, /* 25 = exec_with_loader */ { 0, (sy_call_t *)nosys }, /* 26 = ptrace */ { 0, (sy_call_t *)nosys }, /* 27 = recvmsg */ { 0, (sy_call_t *)nosys }, /* 28 = sendmsg */ { AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */ { AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */ { AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */ { AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */ { AS(osf1_access_args), (sy_call_t *)osf1_access }, /* 33 = osf1_access */ { 0, (sy_call_t *)nosys }, /* 34 = chflags */ { 0, (sy_call_t *)nosys }, /* 35 = fchflags */ { 0, (sy_call_t *)sync }, /* 36 = sync */ { AS(osf1_kill_args), (sy_call_t *)osf1_kill }, /* 37 = osf1_kill */ { 0, (sy_call_t *)nosys }, /* 38 = old stat */ { AS(setpgid_args), (sy_call_t *)setpgid }, /* 39 = setpgid */ { 0, (sy_call_t *)nosys }, /* 40 = old lstat */ { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ { 0, (sy_call_t *)pipe }, /* 42 = pipe */ { AS(osf1_set_program_attributes_args), (sy_call_t *)osf1_set_program_attributes }, /* 43 = osf1_set_program_attributes */ { 0, (sy_call_t *)nosys }, /* 44 = profil */ { AS(osf1_open_args), (sy_call_t *)osf1_open }, /* 45 = osf1_open */ { 0, (sy_call_t *)nosys }, /* 46 = obsolete sigaction */ { 0, (sy_call_t *)getgid }, /* 47 = getgid */ { AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask }, /* 48 = osf1_sigprocmask */ { AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */ { AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */ { AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */ { AS(osf1_sigpending_args), (sy_call_t *)osf1_sigpending }, /* 52 = osf1_sigpending */ { AS(osf1_classcntl_args), (sy_call_t *)osf1_classcntl }, /* 53 = osf1_classcntl */ { AS(osf1_ioctl_args), (sy_call_t *)osf1_ioctl }, /* 54 = osf1_ioctl */ { AS(osf1_reboot_args), (sy_call_t *)osf1_reboot }, /* 55 = osf1_reboot */ { AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */ { AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */ { AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */ { AS(osf1_execve_args), (sy_call_t *)osf1_execve }, /* 59 = osf1_execve */ { AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ { 0, (sy_call_t *)nosys }, /* 62 = old fstat */ { 0, (sy_call_t *)getpgrp }, /* 63 = getpgrp */ { 0, (sy_call_t *)ogetpagesize }, /* 64 = ogetpagesize */ { 0, (sy_call_t *)nosys }, /* 65 = mremap */ { 0, (sy_call_t *)vfork }, /* 66 = vfork */ { AS(osf1_stat_args), (sy_call_t *)osf1_stat }, /* 67 = osf1_stat */ { AS(osf1_lstat_args), (sy_call_t *)osf1_lstat }, /* 68 = osf1_lstat */ { 0, (sy_call_t *)nosys }, /* 69 = sbrk */ { 0, (sy_call_t *)nosys }, /* 70 = sstk */ { AS(osf1_mmap_args), (sy_call_t *)osf1_mmap }, /* 71 = osf1_mmap */ { 0, (sy_call_t *)nosys }, /* 72 = ovadvise */ { AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */ { AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */ { 0, (sy_call_t *)osf1_madvise }, /* 75 = osf1_madvise */ { 0, (sy_call_t *)nosys }, /* 76 = old vhangup */ { 0, (sy_call_t *)nosys }, /* 77 = kmodcall */ { 0, (sy_call_t *)nosys }, /* 78 = mincore */ { AS(getgroups_args), (sy_call_t *)getgroups }, /* 79 = getgroups */ { AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */ { 0, (sy_call_t *)nosys }, /* 81 = old getpgrp */ { AS(osf1_setpgrp_args), (sy_call_t *)osf1_setpgrp }, /* 82 = osf1_setpgrp */ { AS(osf1_setitimer_args), (sy_call_t *)osf1_setitimer }, /* 83 = osf1_setitimer */ { 0, (sy_call_t *)nosys }, /* 84 = old wait */ { AS(osf1_table_args), (sy_call_t *)osf1_table }, /* 85 = osf1_table */ { AS(osf1_getitimer_args), (sy_call_t *)osf1_getitimer }, /* 86 = osf1_getitimer */ { AS(gethostname_args), (sy_call_t *)ogethostname }, /* 87 = ogethostname */ { AS(sethostname_args), (sy_call_t *)osethostname }, /* 88 = osethostname */ { 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */ { AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */ { AS(osf1_fstat_args), (sy_call_t *)osf1_fstat }, /* 91 = osf1_fstat */ { AS(osf1_fcntl_args), (sy_call_t *)osf1_fcntl }, /* 92 = osf1_fcntl */ { AS(osf1_select_args), (sy_call_t *)osf1_select }, /* 93 = osf1_select */ { AS(poll_args), (sy_call_t *)poll }, /* 94 = poll */ { AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */ { AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */ { AS(osf1_socket_args), (sy_call_t *)osf1_socket }, /* 97 = osf1_socket */ { AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */ { AS(accept_args), (sy_call_t *)oaccept }, /* 99 = oaccept */ { AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */ { AS(osend_args), (sy_call_t *)osend }, /* 101 = osend */ { AS(orecv_args), (sy_call_t *)orecv }, /* 102 = orecv */ { AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn }, /* 103 = osf1_sigreturn */ { AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */ { AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */ { AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */ { 0, (sy_call_t *)nosys }, /* 107 = plock */ { 0, (sy_call_t *)nosys }, /* 108 = old sigvec */ { 0, (sy_call_t *)nosys }, /* 109 = old sigblock */ { 0, (sy_call_t *)nosys }, /* 110 = old sigsetmask */ { AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend }, /* 111 = osf1_sigsuspend */ { AS(osf1_osigstack_args), (sy_call_t *)osf1_osigstack }, /* 112 = osf1_osigstack */ { 0, (sy_call_t *)nosys }, /* 113 = old recvmsg */ { 0, (sy_call_t *)nosys }, /* 114 = old sendmsg */ { 0, (sy_call_t *)nosys }, /* 115 = vtrace */ { AS(osf1_gettimeofday_args), (sy_call_t *)osf1_gettimeofday }, /* 116 = osf1_gettimeofday */ { AS(osf1_getrusage_args), (sy_call_t *)osf1_getrusage }, /* 117 = osf1_getrusage */ { AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */ { 0, (sy_call_t *)nosys }, /* 119 = */ { AS(osf1_readv_args), (sy_call_t *)osf1_readv }, /* 120 = osf1_readv */ { AS(osf1_writev_args), (sy_call_t *)osf1_writev }, /* 121 = osf1_writev */ { AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */ { AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */ { AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */ { AS(recvfrom_args), (sy_call_t *)orecvfrom }, /* 125 = orecvfrom */ { AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */ { AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */ { AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */ { AS(osf1_truncate_args), (sy_call_t *)osf1_truncate }, /* 129 = osf1_truncate */ { AS(osf1_ftruncate_args), (sy_call_t *)osf1_ftruncate }, /* 130 = osf1_ftruncate */ { AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */ { AS(osf1_setgid_args), (sy_call_t *)osf1_setgid }, /* 132 = osf1_setgid */ { AS(osf1_sendto_args), (sy_call_t *)osf1_sendto }, /* 133 = osf1_sendto */ { AS(shutdown_args), (sy_call_t *)shutdown }, /* 134 = shutdown */ { 0, (sy_call_t *)nosys }, /* 135 = socketpair */ { AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */ { AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */ { AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */ { 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */ { 0, (sy_call_t *)nosys }, /* 140 = adjtime */ { AS(ogetpeername_args), (sy_call_t *)ogetpeername }, /* 141 = ogetpeername */ { 0, (sy_call_t *)ogethostid }, /* 142 = ogethostid */ { AS(osethostid_args), (sy_call_t *)osethostid }, /* 143 = osethostid */ { AS(osf1_getrlimit_args), (sy_call_t *)osf1_getrlimit }, /* 144 = osf1_getrlimit */ { AS(osf1_setrlimit_args), (sy_call_t *)osf1_setrlimit }, /* 145 = osf1_setrlimit */ { 0, (sy_call_t *)nosys }, /* 146 = old killpg */ { 0, (sy_call_t *)setsid }, /* 147 = setsid */ { 0, (sy_call_t *)nosys }, /* 148 = quotactl */ { 0, (sy_call_t *)oquota }, /* 149 = oquota */ { AS(getsockname_args), (sy_call_t *)ogetsockname }, /* 150 = ogetsockname */ { 0, (sy_call_t *)nosys }, /* 151 = */ { 0, (sy_call_t *)nosys }, /* 152 = */ { 0, (sy_call_t *)nosys }, /* 153 = */ { 0, (sy_call_t *)nosys }, /* 154 = */ { 0, (sy_call_t *)nosys }, /* 155 = */ { AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction }, /* 156 = osf1_sigaction */ { 0, (sy_call_t *)nosys }, /* 157 = */ { 0, (sy_call_t *)nosys }, /* 158 = nfssvc */ { AS(ogetdirentries_args), (sy_call_t *)ogetdirentries }, /* 159 = ogetdirentries */ { AS(osf1_statfs_args), (sy_call_t *)osf1_statfs }, /* 160 = osf1_statfs */ { AS(osf1_fstatfs_args), (sy_call_t *)osf1_fstatfs }, /* 161 = osf1_fstatfs */ { 0, (sy_call_t *)nosys }, /* 162 = */ { 0, (sy_call_t *)nosys }, /* 163 = async_daemon */ { 0, (sy_call_t *)nosys }, /* 164 = getfh */ { AS(getdomainname_args), (sy_call_t *)getdomainname }, /* 165 = getdomainname */ { AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 166 = setdomainname */ { 0, (sy_call_t *)nosys }, /* 167 = */ { 0, (sy_call_t *)nosys }, /* 168 = */ { 0, (sy_call_t *)nosys }, /* 169 = exportfs */ { 0, (sy_call_t *)nosys }, /* 170 = */ { 0, (sy_call_t *)nosys }, /* 171 = */ { 0, (sy_call_t *)nosys }, /* 172 = alt msgctl */ { 0, (sy_call_t *)nosys }, /* 173 = alt msgget */ { 0, (sy_call_t *)nosys }, /* 174 = alt msgrcv */ { 0, (sy_call_t *)nosys }, /* 175 = alt msgsnd */ { 0, (sy_call_t *)nosys }, /* 176 = alt semctl */ { 0, (sy_call_t *)nosys }, /* 177 = alt semget */ { 0, (sy_call_t *)nosys }, /* 178 = alt semop */ { 0, (sy_call_t *)nosys }, /* 179 = alt uname */ { 0, (sy_call_t *)nosys }, /* 180 = */ { 0, (sy_call_t *)nosys }, /* 181 = alt plock */ { 0, (sy_call_t *)nosys }, /* 182 = lockf */ { 0, (sy_call_t *)nosys }, /* 183 = */ { 0, (sy_call_t *)nosys }, /* 184 = getmnt */ { 0, (sy_call_t *)nosys }, /* 185 = */ { 0, (sy_call_t *)nosys }, /* 186 = unmount */ { 0, (sy_call_t *)nosys }, /* 187 = alt sigpending */ { 0, (sy_call_t *)nosys }, /* 188 = alt setsid */ { 0, (sy_call_t *)nosys }, /* 189 = */ { 0, (sy_call_t *)nosys }, /* 190 = */ { 0, (sy_call_t *)nosys }, /* 191 = */ { 0, (sy_call_t *)nosys }, /* 192 = */ { 0, (sy_call_t *)nosys }, /* 193 = */ { 0, (sy_call_t *)nosys }, /* 194 = */ { 0, (sy_call_t *)nosys }, /* 195 = */ { 0, (sy_call_t *)nosys }, /* 196 = */ { 0, (sy_call_t *)nosys }, /* 197 = */ { 0, (sy_call_t *)nosys }, /* 198 = */ { 0, (sy_call_t *)nosys }, /* 199 = swapon */ { AS(msgctl_args), (sy_call_t *)msgctl }, /* 200 = msgctl */ { AS(msgget_args), (sy_call_t *)msgget }, /* 201 = msgget */ { AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 202 = msgrcv */ { AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 203 = msgsnd */ { AS(__semctl_args), (sy_call_t *)__semctl }, /* 204 = __semctl */ { AS(semget_args), (sy_call_t *)semget }, /* 205 = semget */ { AS(semop_args), (sy_call_t *)semop }, /* 206 = semop */ { AS(uname_args), (sy_call_t *)uname }, /* 207 = uname */ { AS(lchown_args), (sy_call_t *)lchown }, /* 208 = lchown */ { AS(shmat_args), (sy_call_t *)shmat }, /* 209 = shmat */ { AS(shmctl_args), (sy_call_t *)shmctl }, /* 210 = shmctl */ { AS(shmdt_args), (sy_call_t *)shmdt }, /* 211 = shmdt */ { AS(shmget_args), (sy_call_t *)shmget }, /* 212 = shmget */ { 0, (sy_call_t *)nosys }, /* 213 = mvalid */ { 0, (sy_call_t *)nosys }, /* 214 = getaddressconf */ { 0, (sy_call_t *)nosys }, /* 215 = msleep */ { 0, (sy_call_t *)nosys }, /* 216 = mwakeup */ { AS(osf1_msync_args), (sy_call_t *)osf1_msync }, /* 217 = osf1_msync */ { AS(osf1_signal_args), (sy_call_t *)osf1_signal }, /* 218 = osf1_signal */ { 0, (sy_call_t *)nosys }, /* 219 = utc gettime */ { 0, (sy_call_t *)nosys }, /* 220 = utc adjtime */ { 0, (sy_call_t *)nosys }, /* 221 = */ { 0, (sy_call_t *)nosys }, /* 222 = security */ { 0, (sy_call_t *)nosys }, /* 223 = kloadcall */ { 0, (sy_call_t *)nosys }, /* 224 = */ { 0, (sy_call_t *)nosys }, /* 225 = */ { 0, (sy_call_t *)nosys }, /* 226 = */ { 0, (sy_call_t *)nosys }, /* 227 = */ { 0, (sy_call_t *)nosys }, /* 228 = */ { 0, (sy_call_t *)nosys }, /* 229 = */ { 0, (sy_call_t *)nosys }, /* 230 = */ { 0, (sy_call_t *)nosys }, /* 231 = */ { 0, (sy_call_t *)nosys }, /* 232 = */ { AS(getpgid_args), (sy_call_t *)getpgid }, /* 233 = getpgid */ { AS(getsid_args), (sy_call_t *)getsid }, /* 234 = getsid */ { AS(osf1_sigaltstack_args), (sy_call_t *)osf1_sigaltstack }, /* 235 = osf1_sigaltstack */ { 0, (sy_call_t *)nosys }, /* 236 = waitid */ { 0, (sy_call_t *)nosys }, /* 237 = priocntlset */ { 0, (sy_call_t *)nosys }, /* 238 = sigsendset */ { 0, (sy_call_t *)nosys }, /* 239 = */ { 0, (sy_call_t *)nosys }, /* 240 = msfs_syscall */ { AS(osf1_sysinfo_args), (sy_call_t *)osf1_sysinfo }, /* 241 = osf1_sysinfo */ { 0, (sy_call_t *)nosys }, /* 242 = uadmin */ { 0, (sy_call_t *)nosys }, /* 243 = fuser */ { 0, (sy_call_t *)osf1_proplist_syscall }, /* 244 = osf1_proplist_syscall */ { AS(osf1_ntpadjtime_args), (sy_call_t *)osf1_ntpadjtime }, /* 245 = osf1_ntpadjtime */ { AS(osf1_ntpgettime_args), (sy_call_t *)osf1_ntpgettime }, /* 246 = osf1_ntpgettime */ { AS(osf1_pathconf_args), (sy_call_t *)osf1_pathconf }, /* 247 = osf1_pathconf */ { AS(osf1_fpathconf_args), (sy_call_t *)osf1_fpathconf }, /* 248 = osf1_fpathconf */ { 0, (sy_call_t *)nosys }, /* 249 = */ { AS(osf1_uswitch_args), (sy_call_t *)osf1_uswitch }, /* 250 = osf1_uswitch */ { AS(osf1_usleep_thread_args), (sy_call_t *)osf1_usleep_thread }, /* 251 = osf1_usleep_thread */ { 0, (sy_call_t *)nosys }, /* 252 = audcntl */ { 0, (sy_call_t *)nosys }, /* 253 = audgen */ { 0, (sy_call_t *)nosys }, /* 254 = sysfs */ { 0, (sy_call_t *)nosys }, /* 255 = */ { AS(osf1_getsysinfo_args), (sy_call_t *)osf1_getsysinfo }, /* 256 = osf1_getsysinfo */ { AS(osf1_setsysinfo_args), (sy_call_t *)osf1_setsysinfo }, /* 257 = osf1_setsysinfo */ { 0, (sy_call_t *)nosys }, /* 258 = afs_syscall */ { 0, (sy_call_t *)nosys }, /* 259 = swapctl */ { 0, (sy_call_t *)nosys }, /* 260 = memcntl */ { 0, (sy_call_t *)nosys }, /* 261 = */ { 0, (sy_call_t *)nosys }, /* 262 = */ { 0, (sy_call_t *)nosys }, /* 263 = */ { 0, (sy_call_t *)nosys }, /* 264 = */ { 0, (sy_call_t *)nosys }, /* 265 = */ { 0, (sy_call_t *)nosys }, /* 266 = */ { 0, (sy_call_t *)nosys }, /* 267 = */ { 0, (sy_call_t *)nosys }, /* 268 = */ { 0, (sy_call_t *)nosys }, /* 269 = */ { 0, (sy_call_t *)nosys }, /* 270 = */ { 0, (sy_call_t *)nosys }, /* 271 = */ { 0, (sy_call_t *)nosys }, /* 272 = */ { 0, (sy_call_t *)nosys }, /* 273 = */ { 0, (sy_call_t *)nosys }, /* 274 = */ { 0, (sy_call_t *)nosys }, /* 275 = */ { 0, (sy_call_t *)nosys }, /* 276 = */ { 0, (sy_call_t *)nosys }, /* 277 = */ { 0, (sy_call_t *)nosys }, /* 278 = */ { 0, (sy_call_t *)nosys }, /* 279 = */ { 0, (sy_call_t *)nosys }, /* 280 = */ { 0, (sy_call_t *)nosys }, /* 281 = */ { 0, (sy_call_t *)nosys }, /* 282 = */ { 0, (sy_call_t *)nosys }, /* 283 = */ { 0, (sy_call_t *)nosys }, /* 284 = */ { 0, (sy_call_t *)nosys }, /* 285 = */ { 0, (sy_call_t *)nosys }, /* 286 = */ { 0, (sy_call_t *)nosys }, /* 287 = */ { 0, (sy_call_t *)nosys }, /* 288 = */ { 0, (sy_call_t *)nosys }, /* 289 = */ { 0, (sy_call_t *)nosys }, /* 290 = */ { 0, (sy_call_t *)nosys }, /* 291 = */ { 0, (sy_call_t *)nosys }, /* 292 = */ { 0, (sy_call_t *)nosys }, /* 293 = */ { 0, (sy_call_t *)nosys }, /* 294 = */ { 0, (sy_call_t *)nosys }, /* 295 = */ { 0, (sy_call_t *)nosys }, /* 296 = */ { 0, (sy_call_t *)nosys }, /* 297 = */ { 0, (sy_call_t *)nosys }, /* 298 = */ { 0, (sy_call_t *)nosys }, /* 299 = */ { 0, (sy_call_t *)nosys }, /* 300 = */ }; Index: head/sys/compat/svr4/svr4_proto.h =================================================================== --- head/sys/compat/svr4/svr4_proto.h (revision 63986) +++ head/sys/compat/svr4/svr4_proto.h (revision 63987) @@ -1,475 +1,475 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ #ifndef _SVR4_SYSPROTO_H_ #define _SVR4_SYSPROTO_H_ #include #include struct proc; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) struct svr4_sys_open_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_wait_args { int * status; char status_[PAD_(int *)]; }; struct svr4_sys_creat_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_execv_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; }; struct svr4_sys_time_args { time_t * t; char t_[PAD_(time_t *)]; }; struct svr4_sys_mknod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; int dev; char dev_[PAD_(int)]; }; struct svr4_sys_break_args { caddr_t nsize; char nsize_[PAD_(caddr_t)]; }; struct svr4_sys_stat_args { char * path; char path_[PAD_(char *)]; struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; }; struct svr4_sys_alarm_args { unsigned sec; char sec_[PAD_(unsigned)]; }; struct svr4_sys_fstat_args { int fd; char fd_[PAD_(int)]; struct svr4_stat * sb; char sb_[PAD_(struct svr4_stat *)]; }; struct svr4_sys_pause_args { register_t dummy; }; struct svr4_sys_utime_args { char * path; char path_[PAD_(char *)]; struct svr4_utimbuf * ubuf; char ubuf_[PAD_(struct svr4_utimbuf *)]; }; struct svr4_sys_access_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_nice_args { int prio; char prio_[PAD_(int)]; }; struct svr4_sys_kill_args { int pid; char pid_[PAD_(int)]; int signum; char signum_[PAD_(int)]; }; struct svr4_sys_pgrpsys_args { int cmd; char cmd_[PAD_(int)]; int pid; char pid_[PAD_(int)]; int pgid; char pgid_[PAD_(int)]; }; struct svr4_sys_times_args { struct tms * tp; char tp_[PAD_(struct tms *)]; }; struct svr4_sys_signal_args { int signum; char signum_[PAD_(int)]; svr4_sig_t handler; char handler_[PAD_(svr4_sig_t)]; }; #if defined(NOTYET) struct svr4_sys_msgsys_args { int what; char what_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; #else #endif struct svr4_sys_sysarch_args { int op; char op_[PAD_(int)]; void * a1; char a1_[PAD_(void *)]; }; struct svr4_sys_ioctl_args { int fd; char fd_[PAD_(int)]; u_long com; char com_[PAD_(u_long)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct svr4_sys_utssys_args { void * a1; char a1_[PAD_(void *)]; void * a2; char a2_[PAD_(void *)]; int sel; char sel_[PAD_(int)]; void * a3; char a3_[PAD_(void *)]; }; struct svr4_sys_execve_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; char ** envp; char envp_[PAD_(char **)]; }; struct svr4_sys_fcntl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; char * arg; char arg_[PAD_(char *)]; }; struct svr4_sys_ulimit_args { int cmd; char cmd_[PAD_(int)]; long newlimit; char newlimit_[PAD_(long)]; }; struct svr4_sys_getdents_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; int nbytes; char nbytes_[PAD_(int)]; }; struct svr4_sys_getmsg_args { int fd; char fd_[PAD_(int)]; struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; int * flags; char flags_[PAD_(int *)]; }; struct svr4_sys_putmsg_args { int fd; char fd_[PAD_(int)]; struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_poll_args { struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; unsigned int nfds; char nfds_[PAD_(unsigned int)]; int timeout; char timeout_[PAD_(int)]; }; struct svr4_sys_lstat_args { char * path; char path_[PAD_(char *)]; struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; }; struct svr4_sys_sigprocmask_args { int how; char how_[PAD_(int)]; svr4_sigset_t * set; char set_[PAD_(svr4_sigset_t *)]; svr4_sigset_t * oset; char oset_[PAD_(svr4_sigset_t *)]; }; struct svr4_sys_sigsuspend_args { svr4_sigset_t * ss; char ss_[PAD_(svr4_sigset_t *)]; }; struct svr4_sys_sigaltstack_args { struct svr4_sigaltstack * nss; char nss_[PAD_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * oss; char oss_[PAD_(struct svr4_sigaltstack *)]; }; struct svr4_sys_sigaction_args { int signum; char signum_[PAD_(int)]; struct svr4_sigaction * nsa; char nsa_[PAD_(struct svr4_sigaction *)]; struct svr4_sigaction * osa; char osa_[PAD_(struct svr4_sigaction *)]; }; struct svr4_sys_sigpending_args { int what; char what_[PAD_(int)]; svr4_sigset_t * mask; char mask_[PAD_(svr4_sigset_t *)]; }; struct svr4_sys_context_args { int func; char func_[PAD_(int)]; struct svr4_ucontext * uc; char uc_[PAD_(struct svr4_ucontext *)]; }; struct svr4_sys_statvfs_args { char * path; char path_[PAD_(char *)]; struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; }; struct svr4_sys_fstatvfs_args { int fd; char fd_[PAD_(int)]; struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; }; struct svr4_sys_waitsys_args { int grp; char grp_[PAD_(int)]; int id; char id_[PAD_(int)]; union svr4_siginfo * info; char info_[PAD_(union svr4_siginfo *)]; int options; char options_[PAD_(int)]; }; struct svr4_sys_hrtsys_args { int cmd; char cmd_[PAD_(int)]; int fun; char fun_[PAD_(int)]; int sub; char sub_[PAD_(int)]; void * rv1; char rv1_[PAD_(void *)]; void * rv2; char rv2_[PAD_(void *)]; }; struct svr4_sys_pathconf_args { char * path; char path_[PAD_(char *)]; int name; char name_[PAD_(int)]; }; struct svr4_sys_mmap_args { caddr_t addr; char addr_[PAD_(caddr_t)]; svr4_size_t len; char len_[PAD_(svr4_size_t)]; int prot; char prot_[PAD_(int)]; int flags; char flags_[PAD_(int)]; int fd; char fd_[PAD_(int)]; svr4_off_t pos; char pos_[PAD_(svr4_off_t)]; }; struct svr4_sys_fpathconf_args { int fd; char fd_[PAD_(int)]; int name; char name_[PAD_(int)]; }; struct svr4_sys_xstat_args { int two; char two_[PAD_(int)]; char * path; char path_[PAD_(char *)]; struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; }; struct svr4_sys_lxstat_args { int two; char two_[PAD_(int)]; char * path; char path_[PAD_(char *)]; struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; }; struct svr4_sys_fxstat_args { int two; char two_[PAD_(int)]; int fd; char fd_[PAD_(int)]; struct svr4_xstat * sb; char sb_[PAD_(struct svr4_xstat *)]; }; struct svr4_sys_xmknod_args { int two; char two_[PAD_(int)]; char * path; char path_[PAD_(char *)]; svr4_mode_t mode; char mode_[PAD_(svr4_mode_t)]; svr4_dev_t dev; char dev_[PAD_(svr4_dev_t)]; }; struct svr4_sys_setrlimit_args { int which; char which_[PAD_(int)]; const struct svr4_rlimit * rlp; char rlp_[PAD_(const struct svr4_rlimit *)]; }; struct svr4_sys_getrlimit_args { int which; char which_[PAD_(int)]; struct svr4_rlimit * rlp; char rlp_[PAD_(struct svr4_rlimit *)]; }; struct svr4_sys_memcntl_args { void * addr; char addr_[PAD_(void *)]; svr4_size_t len; char len_[PAD_(svr4_size_t)]; int cmd; char cmd_[PAD_(int)]; void * arg; char arg_[PAD_(void *)]; int attr; char attr_[PAD_(int)]; int mask; char mask_[PAD_(int)]; }; struct svr4_sys_uname_args { struct svr4_utsname * name; char name_[PAD_(struct svr4_utsname *)]; int dummy; char dummy_[PAD_(int)]; }; struct svr4_sys_sysconfig_args { int name; char name_[PAD_(int)]; }; struct svr4_sys_systeminfo_args { int what; char what_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; long len; char len_[PAD_(long)]; }; struct svr4_sys_fchroot_args { int fd; char fd_[PAD_(int)]; }; struct svr4_sys_utimes_args { char * path; char path_[PAD_(char *)]; struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; }; struct svr4_sys_vhangup_args { register_t dummy; }; struct svr4_sys_gettimeofday_args { struct timeval * tp; char tp_[PAD_(struct timeval *)]; }; struct svr4_sys_llseek_args { int fd; char fd_[PAD_(int)]; long offset1; char offset1_[PAD_(long)]; long offset2; char offset2_[PAD_(long)]; int whence; char whence_[PAD_(int)]; }; struct svr4_sys_acl_args { char * path; char path_[PAD_(char *)]; int cmd; char cmd_[PAD_(int)]; int num; char num_[PAD_(int)]; struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; }; struct svr4_sys_auditsys_args { int code; char code_[PAD_(int)]; int a1; char a1_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; struct svr4_sys_facl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; int num; char num_[PAD_(int)]; struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; }; struct svr4_sys_resolvepath_args { const char * path; char path_[PAD_(const char *)]; char * buf; char buf_[PAD_(char *)]; size_t bufsiz; char bufsiz_[PAD_(size_t)]; }; struct svr4_sys_getdents64_args { int fd; char fd_[PAD_(int)]; struct svr4_dirent64 * dp; char dp_[PAD_(struct svr4_dirent64 *)]; int nbytes; char nbytes_[PAD_(int)]; }; struct svr4_sys_mmap64_args { void * addr; char addr_[PAD_(void *)]; svr4_size_t len; char len_[PAD_(svr4_size_t)]; int prot; char prot_[PAD_(int)]; int flags; char flags_[PAD_(int)]; int fd; char fd_[PAD_(int)]; svr4_off64_t pos; char pos_[PAD_(svr4_off64_t)]; }; struct svr4_sys_stat64_args { char * path; char path_[PAD_(char *)]; struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; }; struct svr4_sys_lstat64_args { char * path; char path_[PAD_(char *)]; struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; }; struct svr4_sys_fstat64_args { int fd; char fd_[PAD_(int)]; struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; }; struct svr4_sys_statvfs64_args { char * path; char path_[PAD_(char *)]; struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; }; struct svr4_sys_fstatvfs64_args { int fd; char fd_[PAD_(int)]; struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; }; struct svr4_sys_setrlimit64_args { int which; char which_[PAD_(int)]; const struct svr4_rlimit64 * rlp; char rlp_[PAD_(const struct svr4_rlimit64 *)]; }; struct svr4_sys_getrlimit64_args { int which; char which_[PAD_(int)]; struct svr4_rlimit64 * rlp; char rlp_[PAD_(struct svr4_rlimit64 *)]; }; struct svr4_sys_creat64_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_open64_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_socket_args { int domain; char domain_[PAD_(int)]; int type; char type_[PAD_(int)]; int protocol; char protocol_[PAD_(int)]; }; struct svr4_sys_recv_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; int len; char len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_send_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; int len; char len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_sendto_args { int s; char s_[PAD_(int)]; void * buf; char buf_[PAD_(void *)]; size_t len; char len_[PAD_(size_t)]; int flags; char flags_[PAD_(int)]; struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; int tolen; char tolen_[PAD_(int)]; }; int svr4_sys_open __P((struct proc *, struct svr4_sys_open_args *)); int svr4_sys_wait __P((struct proc *, struct svr4_sys_wait_args *)); int svr4_sys_creat __P((struct proc *, struct svr4_sys_creat_args *)); int svr4_sys_execv __P((struct proc *, struct svr4_sys_execv_args *)); int svr4_sys_time __P((struct proc *, struct svr4_sys_time_args *)); int svr4_sys_mknod __P((struct proc *, struct svr4_sys_mknod_args *)); int svr4_sys_break __P((struct proc *, struct svr4_sys_break_args *)); int svr4_sys_stat __P((struct proc *, struct svr4_sys_stat_args *)); int svr4_sys_alarm __P((struct proc *, struct svr4_sys_alarm_args *)); int svr4_sys_fstat __P((struct proc *, struct svr4_sys_fstat_args *)); int svr4_sys_pause __P((struct proc *, struct svr4_sys_pause_args *)); int svr4_sys_utime __P((struct proc *, struct svr4_sys_utime_args *)); int svr4_sys_access __P((struct proc *, struct svr4_sys_access_args *)); int svr4_sys_nice __P((struct proc *, struct svr4_sys_nice_args *)); int svr4_sys_kill __P((struct proc *, struct svr4_sys_kill_args *)); int svr4_sys_pgrpsys __P((struct proc *, struct svr4_sys_pgrpsys_args *)); int svr4_sys_times __P((struct proc *, struct svr4_sys_times_args *)); int svr4_sys_signal __P((struct proc *, struct svr4_sys_signal_args *)); #if defined(NOTYET) int svr4_sys_msgsys __P((struct proc *, struct svr4_sys_msgsys_args *)); #else #endif int svr4_sys_sysarch __P((struct proc *, struct svr4_sys_sysarch_args *)); int svr4_sys_ioctl __P((struct proc *, struct svr4_sys_ioctl_args *)); int svr4_sys_utssys __P((struct proc *, struct svr4_sys_utssys_args *)); int svr4_sys_execve __P((struct proc *, struct svr4_sys_execve_args *)); int svr4_sys_fcntl __P((struct proc *, struct svr4_sys_fcntl_args *)); int svr4_sys_ulimit __P((struct proc *, struct svr4_sys_ulimit_args *)); int svr4_sys_getdents __P((struct proc *, struct svr4_sys_getdents_args *)); int svr4_sys_getmsg __P((struct proc *, struct svr4_sys_getmsg_args *)); int svr4_sys_putmsg __P((struct proc *, struct svr4_sys_putmsg_args *)); int svr4_sys_poll __P((struct proc *, struct svr4_sys_poll_args *)); int svr4_sys_lstat __P((struct proc *, struct svr4_sys_lstat_args *)); int svr4_sys_sigprocmask __P((struct proc *, struct svr4_sys_sigprocmask_args *)); int svr4_sys_sigsuspend __P((struct proc *, struct svr4_sys_sigsuspend_args *)); int svr4_sys_sigaltstack __P((struct proc *, struct svr4_sys_sigaltstack_args *)); int svr4_sys_sigaction __P((struct proc *, struct svr4_sys_sigaction_args *)); int svr4_sys_sigpending __P((struct proc *, struct svr4_sys_sigpending_args *)); int svr4_sys_context __P((struct proc *, struct svr4_sys_context_args *)); int svr4_sys_statvfs __P((struct proc *, struct svr4_sys_statvfs_args *)); int svr4_sys_fstatvfs __P((struct proc *, struct svr4_sys_fstatvfs_args *)); int svr4_sys_waitsys __P((struct proc *, struct svr4_sys_waitsys_args *)); int svr4_sys_hrtsys __P((struct proc *, struct svr4_sys_hrtsys_args *)); int svr4_sys_pathconf __P((struct proc *, struct svr4_sys_pathconf_args *)); int svr4_sys_mmap __P((struct proc *, struct svr4_sys_mmap_args *)); int svr4_sys_fpathconf __P((struct proc *, struct svr4_sys_fpathconf_args *)); int svr4_sys_xstat __P((struct proc *, struct svr4_sys_xstat_args *)); int svr4_sys_lxstat __P((struct proc *, struct svr4_sys_lxstat_args *)); int svr4_sys_fxstat __P((struct proc *, struct svr4_sys_fxstat_args *)); int svr4_sys_xmknod __P((struct proc *, struct svr4_sys_xmknod_args *)); int svr4_sys_setrlimit __P((struct proc *, struct svr4_sys_setrlimit_args *)); int svr4_sys_getrlimit __P((struct proc *, struct svr4_sys_getrlimit_args *)); int svr4_sys_memcntl __P((struct proc *, struct svr4_sys_memcntl_args *)); int svr4_sys_uname __P((struct proc *, struct svr4_sys_uname_args *)); int svr4_sys_sysconfig __P((struct proc *, struct svr4_sys_sysconfig_args *)); int svr4_sys_systeminfo __P((struct proc *, struct svr4_sys_systeminfo_args *)); int svr4_sys_fchroot __P((struct proc *, struct svr4_sys_fchroot_args *)); int svr4_sys_utimes __P((struct proc *, struct svr4_sys_utimes_args *)); int svr4_sys_vhangup __P((struct proc *, struct svr4_sys_vhangup_args *)); int svr4_sys_gettimeofday __P((struct proc *, struct svr4_sys_gettimeofday_args *)); int svr4_sys_llseek __P((struct proc *, struct svr4_sys_llseek_args *)); int svr4_sys_acl __P((struct proc *, struct svr4_sys_acl_args *)); int svr4_sys_auditsys __P((struct proc *, struct svr4_sys_auditsys_args *)); int svr4_sys_facl __P((struct proc *, struct svr4_sys_facl_args *)); int svr4_sys_resolvepath __P((struct proc *, struct svr4_sys_resolvepath_args *)); int svr4_sys_getdents64 __P((struct proc *, struct svr4_sys_getdents64_args *)); int svr4_sys_mmap64 __P((struct proc *, struct svr4_sys_mmap64_args *)); int svr4_sys_stat64 __P((struct proc *, struct svr4_sys_stat64_args *)); int svr4_sys_lstat64 __P((struct proc *, struct svr4_sys_lstat64_args *)); int svr4_sys_fstat64 __P((struct proc *, struct svr4_sys_fstat64_args *)); int svr4_sys_statvfs64 __P((struct proc *, struct svr4_sys_statvfs64_args *)); int svr4_sys_fstatvfs64 __P((struct proc *, struct svr4_sys_fstatvfs64_args *)); int svr4_sys_setrlimit64 __P((struct proc *, struct svr4_sys_setrlimit64_args *)); int svr4_sys_getrlimit64 __P((struct proc *, struct svr4_sys_getrlimit64_args *)); int svr4_sys_creat64 __P((struct proc *, struct svr4_sys_creat64_args *)); int svr4_sys_open64 __P((struct proc *, struct svr4_sys_open64_args *)); int svr4_sys_socket __P((struct proc *, struct svr4_sys_socket_args *)); int svr4_sys_recv __P((struct proc *, struct svr4_sys_recv_args *)); int svr4_sys_send __P((struct proc *, struct svr4_sys_send_args *)); int svr4_sys_sendto __P((struct proc *, struct svr4_sys_sendto_args *)); #ifdef COMPAT_43 #if defined(NOTYET) #else #endif #endif /* COMPAT_43 */ #undef PAD_ #endif /* !_SVR4_SYSPROTO_H_ */ Index: head/sys/compat/svr4/svr4_syscall.h =================================================================== --- head/sys/compat/svr4/svr4_syscall.h (revision 63986) +++ head/sys/compat/svr4/svr4_syscall.h (revision 63987) @@ -1,145 +1,145 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ -#define SVR4_SYS_exit 1 +#define SVR4_SYS_sys_exit 1 #define SVR4_SYS_fork 2 #define SVR4_SYS_read 3 #define SVR4_SYS_write 4 #define SVR4_SYS_svr4_sys_open 5 #define SVR4_SYS_close 6 #define SVR4_SYS_svr4_sys_wait 7 #define SVR4_SYS_svr4_sys_creat 8 #define SVR4_SYS_link 9 #define SVR4_SYS_unlink 10 #define SVR4_SYS_svr4_sys_execv 11 #define SVR4_SYS_chdir 12 #define SVR4_SYS_svr4_sys_time 13 #define SVR4_SYS_svr4_sys_mknod 14 #define SVR4_SYS_chmod 15 #define SVR4_SYS_chown 16 #define SVR4_SYS_svr4_sys_break 17 #define SVR4_SYS_svr4_sys_stat 18 #define SVR4_SYS_lseek 19 #define SVR4_SYS_getpid 20 #define SVR4_SYS_setuid 23 #define SVR4_SYS_getuid 24 #define SVR4_SYS_svr4_sys_alarm 27 #define SVR4_SYS_svr4_sys_fstat 28 #define SVR4_SYS_svr4_sys_pause 29 #define SVR4_SYS_svr4_sys_utime 30 #define SVR4_SYS_svr4_sys_access 33 #define SVR4_SYS_svr4_sys_nice 34 #define SVR4_SYS_sync 36 #define SVR4_SYS_svr4_sys_kill 37 #define SVR4_SYS_svr4_sys_pgrpsys 39 #define SVR4_SYS_dup 41 #define SVR4_SYS_pipe 42 #define SVR4_SYS_svr4_sys_times 43 #define SVR4_SYS_setgid 46 #define SVR4_SYS_getgid 47 #define SVR4_SYS_svr4_sys_signal 48 #define SVR4_SYS_svr4_sys_msgsys 49 #define SVR4_SYS_svr4_sys_sysarch 50 #define SVR4_SYS_svr4_sys_ioctl 54 #define SVR4_SYS_svr4_sys_utssys 57 #define SVR4_SYS_fsync 58 #define SVR4_SYS_svr4_sys_execve 59 #define SVR4_SYS_umask 60 #define SVR4_SYS_chroot 61 #define SVR4_SYS_svr4_sys_fcntl 62 #define SVR4_SYS_svr4_sys_ulimit 63 #define SVR4_SYS_rmdir 79 #define SVR4_SYS_mkdir 80 #define SVR4_SYS_svr4_sys_getdents 81 #define SVR4_SYS_svr4_sys_getmsg 85 #define SVR4_SYS_svr4_sys_putmsg 86 #define SVR4_SYS_svr4_sys_poll 87 #define SVR4_SYS_svr4_sys_lstat 88 #define SVR4_SYS_symlink 89 #define SVR4_SYS_readlink 90 #define SVR4_SYS_getgroups 91 #define SVR4_SYS_setgroups 92 #define SVR4_SYS_fchmod 93 #define SVR4_SYS_fchown 94 #define SVR4_SYS_svr4_sys_sigprocmask 95 #define SVR4_SYS_svr4_sys_sigsuspend 96 #define SVR4_SYS_svr4_sys_sigaltstack 97 #define SVR4_SYS_svr4_sys_sigaction 98 #define SVR4_SYS_svr4_sys_sigpending 99 #define SVR4_SYS_svr4_sys_context 100 #define SVR4_SYS_svr4_sys_statvfs 103 #define SVR4_SYS_svr4_sys_fstatvfs 104 #define SVR4_SYS_svr4_sys_waitsys 107 #define SVR4_SYS_svr4_sys_hrtsys 109 #define SVR4_SYS_svr4_sys_pathconf 113 #define SVR4_SYS_svr4_sys_mmap 115 #define SVR4_SYS_mprotect 116 #define SVR4_SYS_munmap 117 #define SVR4_SYS_svr4_sys_fpathconf 118 #define SVR4_SYS_vfork 119 #define SVR4_SYS_fchdir 120 #define SVR4_SYS_readv 121 #define SVR4_SYS_writev 122 #define SVR4_SYS_svr4_sys_xstat 123 #define SVR4_SYS_svr4_sys_lxstat 124 #define SVR4_SYS_svr4_sys_fxstat 125 #define SVR4_SYS_svr4_sys_xmknod 126 #define SVR4_SYS_svr4_sys_setrlimit 128 #define SVR4_SYS_svr4_sys_getrlimit 129 #define SVR4_SYS_lchown 130 #define SVR4_SYS_svr4_sys_memcntl 131 #define SVR4_SYS_rename 134 #define SVR4_SYS_svr4_sys_uname 135 #define SVR4_SYS_setegid 136 #define SVR4_SYS_svr4_sys_sysconfig 137 #define SVR4_SYS_adjtime 138 #define SVR4_SYS_svr4_sys_systeminfo 139 #define SVR4_SYS_seteuid 141 #define SVR4_SYS_svr4_sys_fchroot 153 #define SVR4_SYS_svr4_sys_utimes 154 #define SVR4_SYS_svr4_sys_vhangup 155 #define SVR4_SYS_svr4_sys_gettimeofday 156 #define SVR4_SYS_getitimer 157 #define SVR4_SYS_setitimer 158 #define SVR4_SYS_svr4_sys_llseek 175 #define SVR4_SYS_svr4_sys_acl 185 #define SVR4_SYS_svr4_sys_auditsys 186 #define SVR4_SYS_nanosleep 199 #define SVR4_SYS_svr4_sys_facl 200 #define SVR4_SYS_setreuid 202 #define SVR4_SYS_setregid 203 #define SVR4_SYS_svr4_sys_resolvepath 209 #define SVR4_SYS_svr4_sys_getdents64 213 #define SVR4_SYS_svr4_sys_mmap64 214 #define SVR4_SYS_svr4_sys_stat64 215 #define SVR4_SYS_svr4_sys_lstat64 216 #define SVR4_SYS_svr4_sys_fstat64 217 #define SVR4_SYS_svr4_sys_statvfs64 218 #define SVR4_SYS_svr4_sys_fstatvfs64 219 #define SVR4_SYS_svr4_sys_setrlimit64 220 #define SVR4_SYS_svr4_sys_getrlimit64 221 #define SVR4_SYS_svr4_sys_creat64 224 #define SVR4_SYS_svr4_sys_open64 225 #define SVR4_SYS_svr4_sys_socket 230 #define SVR4_SYS_socketpair 231 #define SVR4_SYS_bind 232 #define SVR4_SYS_listen 233 #define SVR4_SYS_accept 234 #define SVR4_SYS_connect 235 #define SVR4_SYS_shutdown 236 #define SVR4_SYS_svr4_sys_recv 237 #define SVR4_SYS_recvfrom 238 #define SVR4_SYS_recvmsg 239 #define SVR4_SYS_svr4_sys_send 240 #define SVR4_SYS_sendmsg 241 #define SVR4_SYS_svr4_sys_sendto 242 #define SVR4_SYS_getpeername 243 #define SVR4_SYS_getsockname 244 #define SVR4_SYS_getsockopt 245 #define SVR4_SYS_setsockopt 246 #define SVR4_SYS_MAXSYSCALL 250 Index: head/sys/compat/svr4/svr4_syscallnames.c =================================================================== --- head/sys/compat/svr4/svr4_syscallnames.c (revision 63986) +++ head/sys/compat/svr4/svr4_syscallnames.c (revision 63987) @@ -1,264 +1,264 @@ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ char *svr4_syscallnames[] = { "#0", /* 0 = unused */ - "exit", /* 1 = exit */ + "sys_exit", /* 1 = sys_exit */ "fork", /* 2 = fork */ "read", /* 3 = read */ "write", /* 4 = write */ "svr4_sys_open", /* 5 = svr4_sys_open */ "close", /* 6 = close */ "svr4_sys_wait", /* 7 = svr4_sys_wait */ "svr4_sys_creat", /* 8 = svr4_sys_creat */ "link", /* 9 = link */ "unlink", /* 10 = unlink */ "svr4_sys_execv", /* 11 = svr4_sys_execv */ "chdir", /* 12 = chdir */ "svr4_sys_time", /* 13 = svr4_sys_time */ "svr4_sys_mknod", /* 14 = svr4_sys_mknod */ "chmod", /* 15 = chmod */ "chown", /* 16 = chown */ "svr4_sys_break", /* 17 = svr4_sys_break */ "svr4_sys_stat", /* 18 = svr4_sys_stat */ "lseek", /* 19 = lseek */ "getpid", /* 20 = getpid */ "#21", /* 21 = old_mount */ "#22", /* 22 = sysv_umount */ "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "#25", /* 25 = stime */ "#26", /* 26 = ptrace */ "svr4_sys_alarm", /* 27 = svr4_sys_alarm */ "svr4_sys_fstat", /* 28 = svr4_sys_fstat */ "svr4_sys_pause", /* 29 = svr4_sys_pause */ "svr4_sys_utime", /* 30 = svr4_sys_utime */ "#31", /* 31 = stty */ "#32", /* 32 = gtty */ "svr4_sys_access", /* 33 = svr4_sys_access */ "svr4_sys_nice", /* 34 = svr4_sys_nice */ "#35", /* 35 = statfs */ "sync", /* 36 = sync */ "svr4_sys_kill", /* 37 = svr4_sys_kill */ "#38", /* 38 = fstatfs */ "svr4_sys_pgrpsys", /* 39 = svr4_sys_pgrpsys */ "#40", /* 40 = xenix */ "dup", /* 41 = dup */ "pipe", /* 42 = pipe */ "svr4_sys_times", /* 43 = svr4_sys_times */ "#44", /* 44 = profil */ "#45", /* 45 = plock */ "setgid", /* 46 = setgid */ "getgid", /* 47 = getgid */ "svr4_sys_signal", /* 48 = svr4_sys_signal */ #if defined(NOTYET) "svr4_sys_msgsys", /* 49 = svr4_sys_msgsys */ #else "#49", /* 49 = msgsys */ #endif "svr4_sys_sysarch", /* 50 = svr4_sys_sysarch */ "#51", /* 51 = acct */ "#52", /* 52 = shmsys */ "#53", /* 53 = semsys */ "svr4_sys_ioctl", /* 54 = svr4_sys_ioctl */ "#55", /* 55 = uadmin */ "#56", /* 56 = exch */ "svr4_sys_utssys", /* 57 = svr4_sys_utssys */ "fsync", /* 58 = fsync */ "svr4_sys_execve", /* 59 = svr4_sys_execve */ "umask", /* 60 = umask */ "chroot", /* 61 = chroot */ "svr4_sys_fcntl", /* 62 = svr4_sys_fcntl */ "svr4_sys_ulimit", /* 63 = svr4_sys_ulimit */ "#64", /* 64 = reserved */ "#65", /* 65 = reserved */ "#66", /* 66 = reserved */ "#67", /* 67 = reserved */ "#68", /* 68 = reserved */ "#69", /* 69 = reserved */ "#70", /* 70 = advfs */ "#71", /* 71 = unadvfs */ "#72", /* 72 = rmount */ "#73", /* 73 = rumount */ "#74", /* 74 = rfstart */ "#75", /* 75 = sigret */ "#76", /* 76 = rdebug */ "#77", /* 77 = rfstop */ "#78", /* 78 = rfsys */ "rmdir", /* 79 = rmdir */ "mkdir", /* 80 = mkdir */ "svr4_sys_getdents", /* 81 = svr4_sys_getdents */ "#82", /* 82 = libattach */ "#83", /* 83 = libdetach */ "#84", /* 84 = sysfs */ "svr4_sys_getmsg", /* 85 = svr4_sys_getmsg */ "svr4_sys_putmsg", /* 86 = svr4_sys_putmsg */ "svr4_sys_poll", /* 87 = svr4_sys_poll */ "svr4_sys_lstat", /* 88 = svr4_sys_lstat */ "symlink", /* 89 = symlink */ "readlink", /* 90 = readlink */ "getgroups", /* 91 = getgroups */ "setgroups", /* 92 = setgroups */ "fchmod", /* 93 = fchmod */ "fchown", /* 94 = fchown */ "svr4_sys_sigprocmask", /* 95 = svr4_sys_sigprocmask */ "svr4_sys_sigsuspend", /* 96 = svr4_sys_sigsuspend */ "svr4_sys_sigaltstack", /* 97 = svr4_sys_sigaltstack */ "svr4_sys_sigaction", /* 98 = svr4_sys_sigaction */ "svr4_sys_sigpending", /* 99 = svr4_sys_sigpending */ "svr4_sys_context", /* 100 = svr4_sys_context */ "#101", /* 101 = evsys */ "#102", /* 102 = evtrapret */ "svr4_sys_statvfs", /* 103 = svr4_sys_statvfs */ "svr4_sys_fstatvfs", /* 104 = svr4_sys_fstatvfs */ "#105", /* 105 = whoknows */ "#106", /* 106 = nfssvc */ "svr4_sys_waitsys", /* 107 = svr4_sys_waitsys */ "#108", /* 108 = sigsendsys */ "svr4_sys_hrtsys", /* 109 = svr4_sys_hrtsys */ "#110", /* 110 = acancel */ "#111", /* 111 = async */ "#112", /* 112 = priocntlsys */ "svr4_sys_pathconf", /* 113 = svr4_sys_pathconf */ "#114", /* 114 = mincore */ "svr4_sys_mmap", /* 115 = svr4_sys_mmap */ "mprotect", /* 116 = mprotect */ "munmap", /* 117 = munmap */ "svr4_sys_fpathconf", /* 118 = svr4_sys_fpathconf */ "vfork", /* 119 = vfork */ "fchdir", /* 120 = fchdir */ "readv", /* 121 = readv */ "writev", /* 122 = writev */ "svr4_sys_xstat", /* 123 = svr4_sys_xstat */ "svr4_sys_lxstat", /* 124 = svr4_sys_lxstat */ "svr4_sys_fxstat", /* 125 = svr4_sys_fxstat */ "svr4_sys_xmknod", /* 126 = svr4_sys_xmknod */ "#127", /* 127 = clocal */ "svr4_sys_setrlimit", /* 128 = svr4_sys_setrlimit */ "svr4_sys_getrlimit", /* 129 = svr4_sys_getrlimit */ "lchown", /* 130 = lchown */ "svr4_sys_memcntl", /* 131 = svr4_sys_memcntl */ "#132", /* 132 = getpmsg */ "#133", /* 133 = putpmsg */ "rename", /* 134 = rename */ "svr4_sys_uname", /* 135 = svr4_sys_uname */ "setegid", /* 136 = setegid */ "svr4_sys_sysconfig", /* 137 = svr4_sys_sysconfig */ "adjtime", /* 138 = adjtime */ "svr4_sys_systeminfo", /* 139 = svr4_sys_systeminfo */ "#140", /* 140 = notused */ "seteuid", /* 141 = seteuid */ "#142", /* 142 = vtrace */ "#143", /* 143 = { */ "#144", /* 144 = sigtimedwait */ "#145", /* 145 = lwp_info */ "#146", /* 146 = yield */ "#147", /* 147 = lwp_sema_wait */ "#148", /* 148 = lwp_sema_post */ "#149", /* 149 = lwp_sema_trywait */ "#150", /* 150 = notused */ "#151", /* 151 = notused */ "#152", /* 152 = modctl */ "svr4_sys_fchroot", /* 153 = svr4_sys_fchroot */ "svr4_sys_utimes", /* 154 = svr4_sys_utimes */ "svr4_sys_vhangup", /* 155 = svr4_sys_vhangup */ "svr4_sys_gettimeofday", /* 156 = svr4_sys_gettimeofday */ "getitimer", /* 157 = getitimer */ "setitimer", /* 158 = setitimer */ "#159", /* 159 = lwp_create */ "#160", /* 160 = lwp_exit */ "#161", /* 161 = lwp_suspend */ "#162", /* 162 = lwp_continue */ "#163", /* 163 = lwp_kill */ "#164", /* 164 = lwp_self */ "#165", /* 165 = lwp_getprivate */ "#166", /* 166 = lwp_setprivate */ "#167", /* 167 = lwp_wait */ "#168", /* 168 = lwp_mutex_unlock */ "#169", /* 169 = lwp_mutex_lock */ "#170", /* 170 = lwp_cond_wait */ "#171", /* 171 = lwp_cond_signal */ "#172", /* 172 = lwp_cond_broadcast */ "#173", /* 173 = { */ "#174", /* 174 = { */ "svr4_sys_llseek", /* 175 = svr4_sys_llseek */ "#176", /* 176 = inst_sync */ "#177", /* 177 = whoknows */ "#178", /* 178 = kaio */ "#179", /* 179 = whoknows */ "#180", /* 180 = whoknows */ "#181", /* 181 = whoknows */ "#182", /* 182 = whoknows */ "#183", /* 183 = whoknows */ "#184", /* 184 = tsolsys */ "svr4_sys_acl", /* 185 = svr4_sys_acl */ "svr4_sys_auditsys", /* 186 = svr4_sys_auditsys */ "#187", /* 187 = processor_bind */ "#188", /* 188 = processor_info */ "#189", /* 189 = p_online */ "#190", /* 190 = sigqueue */ "#191", /* 191 = clock_gettime */ "#192", /* 192 = clock_settime */ "#193", /* 193 = clock_getres */ "#194", /* 194 = timer_create */ "#195", /* 195 = timer_delete */ "#196", /* 196 = timer_settime */ "#197", /* 197 = timer_gettime */ "#198", /* 198 = timer_overrun */ "nanosleep", /* 199 = nanosleep */ "svr4_sys_facl", /* 200 = svr4_sys_facl */ "#201", /* 201 = door */ "setreuid", /* 202 = setreuid */ "setregid", /* 203 = setregid */ "#204", /* 204 = install_utrap */ "#205", /* 205 = signotify */ "#206", /* 206 = schedctl */ "#207", /* 207 = pset */ "#208", /* 208 = whoknows */ "svr4_sys_resolvepath", /* 209 = svr4_sys_resolvepath */ "#210", /* 210 = signotifywait */ "#211", /* 211 = lwp_sigredirect */ "#212", /* 212 = lwp_alarm */ "svr4_sys_getdents64", /* 213 = svr4_sys_getdents64 */ "svr4_sys_mmap64", /* 214 = svr4_sys_mmap64 */ "svr4_sys_stat64", /* 215 = svr4_sys_stat64 */ "svr4_sys_lstat64", /* 216 = svr4_sys_lstat64 */ "svr4_sys_fstat64", /* 217 = svr4_sys_fstat64 */ "svr4_sys_statvfs64", /* 218 = svr4_sys_statvfs64 */ "svr4_sys_fstatvfs64", /* 219 = svr4_sys_fstatvfs64 */ "svr4_sys_setrlimit64", /* 220 = svr4_sys_setrlimit64 */ "svr4_sys_getrlimit64", /* 221 = svr4_sys_getrlimit64 */ "#222", /* 222 = pread64 */ "#223", /* 223 = pwrite64 */ "svr4_sys_creat64", /* 224 = svr4_sys_creat64 */ "svr4_sys_open64", /* 225 = svr4_sys_open64 */ "#226", /* 226 = rpcsys */ "#227", /* 227 = whoknows */ "#228", /* 228 = whoknows */ "#229", /* 229 = whoknows */ "svr4_sys_socket", /* 230 = svr4_sys_socket */ "socketpair", /* 231 = socketpair */ "bind", /* 232 = bind */ "listen", /* 233 = listen */ "accept", /* 234 = accept */ "connect", /* 235 = connect */ "shutdown", /* 236 = shutdown */ "svr4_sys_recv", /* 237 = svr4_sys_recv */ "recvfrom", /* 238 = recvfrom */ "recvmsg", /* 239 = recvmsg */ "svr4_sys_send", /* 240 = svr4_sys_send */ "sendmsg", /* 241 = sendmsg */ "svr4_sys_sendto", /* 242 = svr4_sys_sendto */ "getpeername", /* 243 = getpeername */ "getsockname", /* 244 = getsockname */ "getsockopt", /* 245 = getsockopt */ "setsockopt", /* 246 = setsockopt */ "#247", /* 247 = sockconfig */ "#248", /* 248 = { */ "#249", /* 249 = { */ }; Index: head/sys/compat/svr4/svr4_sysent.c =================================================================== --- head/sys/compat/svr4/svr4_sysent.c (revision 63986) +++ head/sys/compat/svr4/svr4_sysent.c (revision 63987) @@ -1,276 +1,276 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ #include #include #include #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent svr4_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = unused */ - { AS(rexit_args), (sy_call_t *)exit }, /* 1 = exit */ + { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = sys_exit */ { 0, (sy_call_t *)fork }, /* 2 = fork */ { AS(read_args), (sy_call_t *)read }, /* 3 = read */ { AS(write_args), (sy_call_t *)write }, /* 4 = write */ { AS(svr4_sys_open_args), (sy_call_t *)svr4_sys_open }, /* 5 = svr4_sys_open */ { AS(close_args), (sy_call_t *)close }, /* 6 = close */ { AS(svr4_sys_wait_args), (sy_call_t *)svr4_sys_wait }, /* 7 = svr4_sys_wait */ { AS(svr4_sys_creat_args), (sy_call_t *)svr4_sys_creat }, /* 8 = svr4_sys_creat */ { AS(link_args), (sy_call_t *)link }, /* 9 = link */ { AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */ { AS(svr4_sys_execv_args), (sy_call_t *)svr4_sys_execv }, /* 11 = svr4_sys_execv */ { AS(chdir_args), (sy_call_t *)chdir }, /* 12 = chdir */ { AS(svr4_sys_time_args), (sy_call_t *)svr4_sys_time }, /* 13 = svr4_sys_time */ { AS(svr4_sys_mknod_args), (sy_call_t *)svr4_sys_mknod }, /* 14 = svr4_sys_mknod */ { AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */ { AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */ { AS(svr4_sys_break_args), (sy_call_t *)svr4_sys_break }, /* 17 = svr4_sys_break */ { AS(svr4_sys_stat_args), (sy_call_t *)svr4_sys_stat }, /* 18 = svr4_sys_stat */ { AS(lseek_args), (sy_call_t *)lseek }, /* 19 = lseek */ { 0, (sy_call_t *)getpid }, /* 20 = getpid */ { 0, (sy_call_t *)nosys }, /* 21 = old_mount */ { 0, (sy_call_t *)nosys }, /* 22 = sysv_umount */ { AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */ { 0, (sy_call_t *)getuid }, /* 24 = getuid */ { 0, (sy_call_t *)nosys }, /* 25 = stime */ { 0, (sy_call_t *)nosys }, /* 26 = ptrace */ { AS(svr4_sys_alarm_args), (sy_call_t *)svr4_sys_alarm }, /* 27 = svr4_sys_alarm */ { AS(svr4_sys_fstat_args), (sy_call_t *)svr4_sys_fstat }, /* 28 = svr4_sys_fstat */ { 0, (sy_call_t *)svr4_sys_pause }, /* 29 = svr4_sys_pause */ { AS(svr4_sys_utime_args), (sy_call_t *)svr4_sys_utime }, /* 30 = svr4_sys_utime */ { 0, (sy_call_t *)nosys }, /* 31 = stty */ { 0, (sy_call_t *)nosys }, /* 32 = gtty */ { AS(svr4_sys_access_args), (sy_call_t *)svr4_sys_access }, /* 33 = svr4_sys_access */ { AS(svr4_sys_nice_args), (sy_call_t *)svr4_sys_nice }, /* 34 = svr4_sys_nice */ { 0, (sy_call_t *)nosys }, /* 35 = statfs */ { 0, (sy_call_t *)sync }, /* 36 = sync */ { AS(svr4_sys_kill_args), (sy_call_t *)svr4_sys_kill }, /* 37 = svr4_sys_kill */ { 0, (sy_call_t *)nosys }, /* 38 = fstatfs */ { AS(svr4_sys_pgrpsys_args), (sy_call_t *)svr4_sys_pgrpsys }, /* 39 = svr4_sys_pgrpsys */ { 0, (sy_call_t *)nosys }, /* 40 = xenix */ { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ { 0, (sy_call_t *)pipe }, /* 42 = pipe */ { AS(svr4_sys_times_args), (sy_call_t *)svr4_sys_times }, /* 43 = svr4_sys_times */ { 0, (sy_call_t *)nosys }, /* 44 = profil */ { 0, (sy_call_t *)nosys }, /* 45 = plock */ { AS(setgid_args), (sy_call_t *)setgid }, /* 46 = setgid */ { 0, (sy_call_t *)getgid }, /* 47 = getgid */ { AS(svr4_sys_signal_args), (sy_call_t *)svr4_sys_signal }, /* 48 = svr4_sys_signal */ #if defined(NOTYET) { AS(svr4_sys_msgsys_args), (sy_call_t *)svr4_sys_msgsys }, /* 49 = svr4_sys_msgsys */ #else { 0, (sy_call_t *)nosys }, /* 49 = msgsys */ #endif { AS(svr4_sys_sysarch_args), (sy_call_t *)svr4_sys_sysarch }, /* 50 = svr4_sys_sysarch */ { 0, (sy_call_t *)nosys }, /* 51 = acct */ { 0, (sy_call_t *)nosys }, /* 52 = shmsys */ { 0, (sy_call_t *)nosys }, /* 53 = semsys */ { AS(svr4_sys_ioctl_args), (sy_call_t *)svr4_sys_ioctl }, /* 54 = svr4_sys_ioctl */ { 0, (sy_call_t *)nosys }, /* 55 = uadmin */ { 0, (sy_call_t *)nosys }, /* 56 = exch */ { AS(svr4_sys_utssys_args), (sy_call_t *)svr4_sys_utssys }, /* 57 = svr4_sys_utssys */ { AS(fsync_args), (sy_call_t *)fsync }, /* 58 = fsync */ { AS(svr4_sys_execve_args), (sy_call_t *)svr4_sys_execve }, /* 59 = svr4_sys_execve */ { AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ { AS(svr4_sys_fcntl_args), (sy_call_t *)svr4_sys_fcntl }, /* 62 = svr4_sys_fcntl */ { AS(svr4_sys_ulimit_args), (sy_call_t *)svr4_sys_ulimit }, /* 63 = svr4_sys_ulimit */ { 0, (sy_call_t *)nosys }, /* 64 = reserved */ { 0, (sy_call_t *)nosys }, /* 65 = reserved */ { 0, (sy_call_t *)nosys }, /* 66 = reserved */ { 0, (sy_call_t *)nosys }, /* 67 = reserved */ { 0, (sy_call_t *)nosys }, /* 68 = reserved */ { 0, (sy_call_t *)nosys }, /* 69 = reserved */ { 0, (sy_call_t *)nosys }, /* 70 = advfs */ { 0, (sy_call_t *)nosys }, /* 71 = unadvfs */ { 0, (sy_call_t *)nosys }, /* 72 = rmount */ { 0, (sy_call_t *)nosys }, /* 73 = rumount */ { 0, (sy_call_t *)nosys }, /* 74 = rfstart */ { 0, (sy_call_t *)nosys }, /* 75 = sigret */ { 0, (sy_call_t *)nosys }, /* 76 = rdebug */ { 0, (sy_call_t *)nosys }, /* 77 = rfstop */ { 0, (sy_call_t *)nosys }, /* 78 = rfsys */ { AS(rmdir_args), (sy_call_t *)rmdir }, /* 79 = rmdir */ { AS(mkdir_args), (sy_call_t *)mkdir }, /* 80 = mkdir */ { AS(svr4_sys_getdents_args), (sy_call_t *)svr4_sys_getdents }, /* 81 = svr4_sys_getdents */ { 0, (sy_call_t *)nosys }, /* 82 = libattach */ { 0, (sy_call_t *)nosys }, /* 83 = libdetach */ { 0, (sy_call_t *)nosys }, /* 84 = sysfs */ { AS(svr4_sys_getmsg_args), (sy_call_t *)svr4_sys_getmsg }, /* 85 = svr4_sys_getmsg */ { AS(svr4_sys_putmsg_args), (sy_call_t *)svr4_sys_putmsg }, /* 86 = svr4_sys_putmsg */ { AS(svr4_sys_poll_args), (sy_call_t *)svr4_sys_poll }, /* 87 = svr4_sys_poll */ { AS(svr4_sys_lstat_args), (sy_call_t *)svr4_sys_lstat }, /* 88 = svr4_sys_lstat */ { AS(symlink_args), (sy_call_t *)symlink }, /* 89 = symlink */ { AS(readlink_args), (sy_call_t *)readlink }, /* 90 = readlink */ { AS(getgroups_args), (sy_call_t *)getgroups }, /* 91 = getgroups */ { AS(setgroups_args), (sy_call_t *)setgroups }, /* 92 = setgroups */ { AS(fchmod_args), (sy_call_t *)fchmod }, /* 93 = fchmod */ { AS(fchown_args), (sy_call_t *)fchown }, /* 94 = fchown */ { AS(svr4_sys_sigprocmask_args), (sy_call_t *)svr4_sys_sigprocmask }, /* 95 = svr4_sys_sigprocmask */ { AS(svr4_sys_sigsuspend_args), (sy_call_t *)svr4_sys_sigsuspend }, /* 96 = svr4_sys_sigsuspend */ { AS(svr4_sys_sigaltstack_args), (sy_call_t *)svr4_sys_sigaltstack }, /* 97 = svr4_sys_sigaltstack */ { AS(svr4_sys_sigaction_args), (sy_call_t *)svr4_sys_sigaction }, /* 98 = svr4_sys_sigaction */ { AS(svr4_sys_sigpending_args), (sy_call_t *)svr4_sys_sigpending }, /* 99 = svr4_sys_sigpending */ { AS(svr4_sys_context_args), (sy_call_t *)svr4_sys_context }, /* 100 = svr4_sys_context */ { 0, (sy_call_t *)nosys }, /* 101 = evsys */ { 0, (sy_call_t *)nosys }, /* 102 = evtrapret */ { AS(svr4_sys_statvfs_args), (sy_call_t *)svr4_sys_statvfs }, /* 103 = svr4_sys_statvfs */ { AS(svr4_sys_fstatvfs_args), (sy_call_t *)svr4_sys_fstatvfs }, /* 104 = svr4_sys_fstatvfs */ { 0, (sy_call_t *)nosys }, /* 105 = whoknows */ { 0, (sy_call_t *)nosys }, /* 106 = nfssvc */ { AS(svr4_sys_waitsys_args), (sy_call_t *)svr4_sys_waitsys }, /* 107 = svr4_sys_waitsys */ { 0, (sy_call_t *)nosys }, /* 108 = sigsendsys */ { AS(svr4_sys_hrtsys_args), (sy_call_t *)svr4_sys_hrtsys }, /* 109 = svr4_sys_hrtsys */ { 0, (sy_call_t *)nosys }, /* 110 = acancel */ { 0, (sy_call_t *)nosys }, /* 111 = async */ { 0, (sy_call_t *)nosys }, /* 112 = priocntlsys */ { AS(svr4_sys_pathconf_args), (sy_call_t *)svr4_sys_pathconf }, /* 113 = svr4_sys_pathconf */ { 0, (sy_call_t *)nosys }, /* 114 = mincore */ { AS(svr4_sys_mmap_args), (sy_call_t *)svr4_sys_mmap }, /* 115 = svr4_sys_mmap */ { AS(mprotect_args), (sy_call_t *)mprotect }, /* 116 = mprotect */ { AS(munmap_args), (sy_call_t *)munmap }, /* 117 = munmap */ { AS(svr4_sys_fpathconf_args), (sy_call_t *)svr4_sys_fpathconf }, /* 118 = svr4_sys_fpathconf */ { 0, (sy_call_t *)vfork }, /* 119 = vfork */ { AS(fchdir_args), (sy_call_t *)fchdir }, /* 120 = fchdir */ { AS(readv_args), (sy_call_t *)readv }, /* 121 = readv */ { AS(writev_args), (sy_call_t *)writev }, /* 122 = writev */ { AS(svr4_sys_xstat_args), (sy_call_t *)svr4_sys_xstat }, /* 123 = svr4_sys_xstat */ { AS(svr4_sys_lxstat_args), (sy_call_t *)svr4_sys_lxstat }, /* 124 = svr4_sys_lxstat */ { AS(svr4_sys_fxstat_args), (sy_call_t *)svr4_sys_fxstat }, /* 125 = svr4_sys_fxstat */ { AS(svr4_sys_xmknod_args), (sy_call_t *)svr4_sys_xmknod }, /* 126 = svr4_sys_xmknod */ { 0, (sy_call_t *)nosys }, /* 127 = clocal */ { AS(svr4_sys_setrlimit_args), (sy_call_t *)svr4_sys_setrlimit }, /* 128 = svr4_sys_setrlimit */ { AS(svr4_sys_getrlimit_args), (sy_call_t *)svr4_sys_getrlimit }, /* 129 = svr4_sys_getrlimit */ { AS(lchown_args), (sy_call_t *)lchown }, /* 130 = lchown */ { AS(svr4_sys_memcntl_args), (sy_call_t *)svr4_sys_memcntl }, /* 131 = svr4_sys_memcntl */ { 0, (sy_call_t *)nosys }, /* 132 = getpmsg */ { 0, (sy_call_t *)nosys }, /* 133 = putpmsg */ { AS(rename_args), (sy_call_t *)rename }, /* 134 = rename */ { AS(svr4_sys_uname_args), (sy_call_t *)svr4_sys_uname }, /* 135 = svr4_sys_uname */ { AS(setegid_args), (sy_call_t *)setegid }, /* 136 = setegid */ { AS(svr4_sys_sysconfig_args), (sy_call_t *)svr4_sys_sysconfig }, /* 137 = svr4_sys_sysconfig */ { AS(adjtime_args), (sy_call_t *)adjtime }, /* 138 = adjtime */ { AS(svr4_sys_systeminfo_args), (sy_call_t *)svr4_sys_systeminfo }, /* 139 = svr4_sys_systeminfo */ { 0, (sy_call_t *)nosys }, /* 140 = notused */ { AS(seteuid_args), (sy_call_t *)seteuid }, /* 141 = seteuid */ { 0, (sy_call_t *)nosys }, /* 142 = vtrace */ { 0, (sy_call_t *)nosys }, /* 143 = { */ { 0, (sy_call_t *)nosys }, /* 144 = sigtimedwait */ { 0, (sy_call_t *)nosys }, /* 145 = lwp_info */ { 0, (sy_call_t *)nosys }, /* 146 = yield */ { 0, (sy_call_t *)nosys }, /* 147 = lwp_sema_wait */ { 0, (sy_call_t *)nosys }, /* 148 = lwp_sema_post */ { 0, (sy_call_t *)nosys }, /* 149 = lwp_sema_trywait */ { 0, (sy_call_t *)nosys }, /* 150 = notused */ { 0, (sy_call_t *)nosys }, /* 151 = notused */ { 0, (sy_call_t *)nosys }, /* 152 = modctl */ { AS(svr4_sys_fchroot_args), (sy_call_t *)svr4_sys_fchroot }, /* 153 = svr4_sys_fchroot */ { AS(svr4_sys_utimes_args), (sy_call_t *)svr4_sys_utimes }, /* 154 = svr4_sys_utimes */ { 0, (sy_call_t *)svr4_sys_vhangup }, /* 155 = svr4_sys_vhangup */ { AS(svr4_sys_gettimeofday_args), (sy_call_t *)svr4_sys_gettimeofday }, /* 156 = svr4_sys_gettimeofday */ { AS(getitimer_args), (sy_call_t *)getitimer }, /* 157 = getitimer */ { AS(setitimer_args), (sy_call_t *)setitimer }, /* 158 = setitimer */ { 0, (sy_call_t *)nosys }, /* 159 = lwp_create */ { 0, (sy_call_t *)nosys }, /* 160 = lwp_exit */ { 0, (sy_call_t *)nosys }, /* 161 = lwp_suspend */ { 0, (sy_call_t *)nosys }, /* 162 = lwp_continue */ { 0, (sy_call_t *)nosys }, /* 163 = lwp_kill */ { 0, (sy_call_t *)nosys }, /* 164 = lwp_self */ { 0, (sy_call_t *)nosys }, /* 165 = lwp_getprivate */ { 0, (sy_call_t *)nosys }, /* 166 = lwp_setprivate */ { 0, (sy_call_t *)nosys }, /* 167 = lwp_wait */ { 0, (sy_call_t *)nosys }, /* 168 = lwp_mutex_unlock */ { 0, (sy_call_t *)nosys }, /* 169 = lwp_mutex_lock */ { 0, (sy_call_t *)nosys }, /* 170 = lwp_cond_wait */ { 0, (sy_call_t *)nosys }, /* 171 = lwp_cond_signal */ { 0, (sy_call_t *)nosys }, /* 172 = lwp_cond_broadcast */ { 0, (sy_call_t *)nosys }, /* 173 = { */ { 0, (sy_call_t *)nosys }, /* 174 = { */ { AS(svr4_sys_llseek_args), (sy_call_t *)svr4_sys_llseek }, /* 175 = svr4_sys_llseek */ { 0, (sy_call_t *)nosys }, /* 176 = inst_sync */ { 0, (sy_call_t *)nosys }, /* 177 = whoknows */ { 0, (sy_call_t *)nosys }, /* 178 = kaio */ { 0, (sy_call_t *)nosys }, /* 179 = whoknows */ { 0, (sy_call_t *)nosys }, /* 180 = whoknows */ { 0, (sy_call_t *)nosys }, /* 181 = whoknows */ { 0, (sy_call_t *)nosys }, /* 182 = whoknows */ { 0, (sy_call_t *)nosys }, /* 183 = whoknows */ { 0, (sy_call_t *)nosys }, /* 184 = tsolsys */ { AS(svr4_sys_acl_args), (sy_call_t *)svr4_sys_acl }, /* 185 = svr4_sys_acl */ { AS(svr4_sys_auditsys_args), (sy_call_t *)svr4_sys_auditsys }, /* 186 = svr4_sys_auditsys */ { 0, (sy_call_t *)nosys }, /* 187 = processor_bind */ { 0, (sy_call_t *)nosys }, /* 188 = processor_info */ { 0, (sy_call_t *)nosys }, /* 189 = p_online */ { 0, (sy_call_t *)nosys }, /* 190 = sigqueue */ { 0, (sy_call_t *)nosys }, /* 191 = clock_gettime */ { 0, (sy_call_t *)nosys }, /* 192 = clock_settime */ { 0, (sy_call_t *)nosys }, /* 193 = clock_getres */ { 0, (sy_call_t *)nosys }, /* 194 = timer_create */ { 0, (sy_call_t *)nosys }, /* 195 = timer_delete */ { 0, (sy_call_t *)nosys }, /* 196 = timer_settime */ { 0, (sy_call_t *)nosys }, /* 197 = timer_gettime */ { 0, (sy_call_t *)nosys }, /* 198 = timer_overrun */ { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 199 = nanosleep */ { AS(svr4_sys_facl_args), (sy_call_t *)svr4_sys_facl }, /* 200 = svr4_sys_facl */ { 0, (sy_call_t *)nosys }, /* 201 = door */ { AS(setreuid_args), (sy_call_t *)setreuid }, /* 202 = setreuid */ { AS(setregid_args), (sy_call_t *)setregid }, /* 203 = setregid */ { 0, (sy_call_t *)nosys }, /* 204 = install_utrap */ { 0, (sy_call_t *)nosys }, /* 205 = signotify */ { 0, (sy_call_t *)nosys }, /* 206 = schedctl */ { 0, (sy_call_t *)nosys }, /* 207 = pset */ { 0, (sy_call_t *)nosys }, /* 208 = whoknows */ { AS(svr4_sys_resolvepath_args), (sy_call_t *)svr4_sys_resolvepath }, /* 209 = svr4_sys_resolvepath */ { 0, (sy_call_t *)nosys }, /* 210 = signotifywait */ { 0, (sy_call_t *)nosys }, /* 211 = lwp_sigredirect */ { 0, (sy_call_t *)nosys }, /* 212 = lwp_alarm */ { AS(svr4_sys_getdents64_args), (sy_call_t *)svr4_sys_getdents64 }, /* 213 = svr4_sys_getdents64 */ { AS(svr4_sys_mmap64_args), (sy_call_t *)svr4_sys_mmap64 }, /* 214 = svr4_sys_mmap64 */ { AS(svr4_sys_stat64_args), (sy_call_t *)svr4_sys_stat64 }, /* 215 = svr4_sys_stat64 */ { AS(svr4_sys_lstat64_args), (sy_call_t *)svr4_sys_lstat64 }, /* 216 = svr4_sys_lstat64 */ { AS(svr4_sys_fstat64_args), (sy_call_t *)svr4_sys_fstat64 }, /* 217 = svr4_sys_fstat64 */ { AS(svr4_sys_statvfs64_args), (sy_call_t *)svr4_sys_statvfs64 }, /* 218 = svr4_sys_statvfs64 */ { AS(svr4_sys_fstatvfs64_args), (sy_call_t *)svr4_sys_fstatvfs64 }, /* 219 = svr4_sys_fstatvfs64 */ { AS(svr4_sys_setrlimit64_args), (sy_call_t *)svr4_sys_setrlimit64 }, /* 220 = svr4_sys_setrlimit64 */ { AS(svr4_sys_getrlimit64_args), (sy_call_t *)svr4_sys_getrlimit64 }, /* 221 = svr4_sys_getrlimit64 */ { 0, (sy_call_t *)nosys }, /* 222 = pread64 */ { 0, (sy_call_t *)nosys }, /* 223 = pwrite64 */ { AS(svr4_sys_creat64_args), (sy_call_t *)svr4_sys_creat64 }, /* 224 = svr4_sys_creat64 */ { AS(svr4_sys_open64_args), (sy_call_t *)svr4_sys_open64 }, /* 225 = svr4_sys_open64 */ { 0, (sy_call_t *)nosys }, /* 226 = rpcsys */ { 0, (sy_call_t *)nosys }, /* 227 = whoknows */ { 0, (sy_call_t *)nosys }, /* 228 = whoknows */ { 0, (sy_call_t *)nosys }, /* 229 = whoknows */ { AS(svr4_sys_socket_args), (sy_call_t *)svr4_sys_socket }, /* 230 = svr4_sys_socket */ { AS(socketpair_args), (sy_call_t *)socketpair }, /* 231 = socketpair */ { AS(bind_args), (sy_call_t *)bind }, /* 232 = bind */ { AS(listen_args), (sy_call_t *)listen }, /* 233 = listen */ { AS(accept_args), (sy_call_t *)accept }, /* 234 = accept */ { AS(connect_args), (sy_call_t *)connect }, /* 235 = connect */ { AS(shutdown_args), (sy_call_t *)shutdown }, /* 236 = shutdown */ { AS(svr4_sys_recv_args), (sy_call_t *)svr4_sys_recv }, /* 237 = svr4_sys_recv */ { AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 238 = recvfrom */ { AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 239 = recvmsg */ { AS(svr4_sys_send_args), (sy_call_t *)svr4_sys_send }, /* 240 = svr4_sys_send */ { AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 241 = sendmsg */ { AS(svr4_sys_sendto_args), (sy_call_t *)svr4_sys_sendto }, /* 242 = svr4_sys_sendto */ { AS(getpeername_args), (sy_call_t *)getpeername }, /* 243 = getpeername */ { AS(getsockname_args), (sy_call_t *)getsockname }, /* 244 = getsockname */ { AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 245 = getsockopt */ { AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 246 = setsockopt */ { 0, (sy_call_t *)nosys }, /* 247 = sockconfig */ { 0, (sy_call_t *)nosys }, /* 248 = { */ { 0, (sy_call_t *)nosys }, /* 249 = { */ }; Index: head/sys/i386/ibcs2/ibcs2_proto.h =================================================================== --- head/sys/i386/ibcs2/ibcs2_proto.h (revision 63986) +++ head/sys/i386/ibcs2/ibcs2_proto.h (revision 63987) @@ -1,340 +1,340 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.10 2000/05/09 17:54:30 bde Exp + * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.11 2000/07/29 00:16:27 peter Exp */ #ifndef _IBCS2_SYSPROTO_H_ #define _IBCS2_SYSPROTO_H_ #include #include struct proc; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) struct ibcs2_read_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; u_int nbytes; char nbytes_[PAD_(u_int)]; }; struct ibcs2_open_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct ibcs2_wait_args { int a1; char a1_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; }; struct ibcs2_creat_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct ibcs2_unlink_args { char * path; char path_[PAD_(char *)]; }; struct ibcs2_execv_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; }; struct ibcs2_chdir_args { char * path; char path_[PAD_(char *)]; }; struct ibcs2_time_args { ibcs2_time_t * tp; char tp_[PAD_(ibcs2_time_t *)]; }; struct ibcs2_mknod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; int dev; char dev_[PAD_(int)]; }; struct ibcs2_chmod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct ibcs2_chown_args { char * path; char path_[PAD_(char *)]; int uid; char uid_[PAD_(int)]; int gid; char gid_[PAD_(int)]; }; struct ibcs2_stat_args { char * path; char path_[PAD_(char *)]; struct ibcs2_stat * st; char st_[PAD_(struct ibcs2_stat *)]; }; struct ibcs2_lseek_args { int fd; char fd_[PAD_(int)]; long offset; char offset_[PAD_(long)]; int whence; char whence_[PAD_(int)]; }; struct ibcs2_mount_args { char * special; char special_[PAD_(char *)]; char * dir; char dir_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int fstype; char fstype_[PAD_(int)]; char * data; char data_[PAD_(char *)]; int len; char len_[PAD_(int)]; }; struct ibcs2_umount_args { char * name; char name_[PAD_(char *)]; }; struct ibcs2_setuid_args { int uid; char uid_[PAD_(int)]; }; struct ibcs2_stime_args { long * timep; char timep_[PAD_(long *)]; }; struct ibcs2_alarm_args { unsigned sec; char sec_[PAD_(unsigned)]; }; struct ibcs2_fstat_args { int fd; char fd_[PAD_(int)]; struct ibcs2_stat * st; char st_[PAD_(struct ibcs2_stat *)]; }; struct ibcs2_pause_args { register_t dummy; }; struct ibcs2_utime_args { char * path; char path_[PAD_(char *)]; struct ibcs2_utimbuf * buf; char buf_[PAD_(struct ibcs2_utimbuf *)]; }; struct ibcs2_stty_args { int fd; char fd_[PAD_(int)]; struct sgttyb * buf; char buf_[PAD_(struct sgttyb *)]; }; struct ibcs2_gtty_args { int fd; char fd_[PAD_(int)]; struct sgttyb * buf; char buf_[PAD_(struct sgttyb *)]; }; struct ibcs2_access_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct ibcs2_nice_args { int incr; char incr_[PAD_(int)]; }; struct ibcs2_statfs_args { char * path; char path_[PAD_(char *)]; struct ibcs2_statfs * buf; char buf_[PAD_(struct ibcs2_statfs *)]; int len; char len_[PAD_(int)]; int fstype; char fstype_[PAD_(int)]; }; struct ibcs2_kill_args { int pid; char pid_[PAD_(int)]; int signo; char signo_[PAD_(int)]; }; struct ibcs2_fstatfs_args { int fd; char fd_[PAD_(int)]; struct ibcs2_statfs * buf; char buf_[PAD_(struct ibcs2_statfs *)]; int len; char len_[PAD_(int)]; int fstype; char fstype_[PAD_(int)]; }; struct ibcs2_pgrpsys_args { int type; char type_[PAD_(int)]; caddr_t dummy; char dummy_[PAD_(caddr_t)]; int pid; char pid_[PAD_(int)]; int pgid; char pgid_[PAD_(int)]; }; struct ibcs2_xenix_args { int a1; char a1_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; struct ibcs2_times_args { struct tms * tp; char tp_[PAD_(struct tms *)]; }; struct ibcs2_plock_args { int cmd; char cmd_[PAD_(int)]; }; struct ibcs2_setgid_args { int gid; char gid_[PAD_(int)]; }; struct ibcs2_sigsys_args { int sig; char sig_[PAD_(int)]; ibcs2_sig_t fp; char fp_[PAD_(ibcs2_sig_t)]; }; struct ibcs2_msgsys_args { int which; char which_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; int a6; char a6_[PAD_(int)]; }; struct ibcs2_sysi86_args { int cmd; char cmd_[PAD_(int)]; int * arg; char arg_[PAD_(int *)]; }; struct ibcs2_shmsys_args { int which; char which_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; }; struct ibcs2_semsys_args { int which; char which_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; struct ibcs2_ioctl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct ibcs2_uadmin_args { int cmd; char cmd_[PAD_(int)]; int func; char func_[PAD_(int)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct ibcs2_utssys_args { int a1; char a1_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int flag; char flag_[PAD_(int)]; }; struct ibcs2_execve_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; char ** envp; char envp_[PAD_(char **)]; }; struct ibcs2_fcntl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; char * arg; char arg_[PAD_(char *)]; }; struct ibcs2_ulimit_args { int cmd; char cmd_[PAD_(int)]; int newlimit; char newlimit_[PAD_(int)]; }; struct ibcs2_rmdir_args { char * path; char path_[PAD_(char *)]; }; struct ibcs2_mkdir_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct ibcs2_getdents_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; int nbytes; char nbytes_[PAD_(int)]; }; struct ibcs2_sysfs_args { int cmd; char cmd_[PAD_(int)]; caddr_t d1; char d1_[PAD_(caddr_t)]; char * buf; char buf_[PAD_(char *)]; }; struct ibcs2_getmsg_args { int fd; char fd_[PAD_(int)]; struct ibcs2_stropts * ctl; char ctl_[PAD_(struct ibcs2_stropts *)]; struct ibcs2_stropts * dat; char dat_[PAD_(struct ibcs2_stropts *)]; int * flags; char flags_[PAD_(int *)]; }; struct ibcs2_putmsg_args { int fd; char fd_[PAD_(int)]; struct ibcs2_stropts * ctl; char ctl_[PAD_(struct ibcs2_stropts *)]; struct ibcs2_stropts * dat; char dat_[PAD_(struct ibcs2_stropts *)]; int flags; char flags_[PAD_(int)]; }; struct ibcs2_poll_args { struct ibcs2_poll * fds; char fds_[PAD_(struct ibcs2_poll *)]; long nfds; char nfds_[PAD_(long)]; int timeout; char timeout_[PAD_(int)]; }; struct ibcs2_secure_args { int cmd; char cmd_[PAD_(int)]; int a1; char a1_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; struct ibcs2_symlink_args { char * path; char path_[PAD_(char *)]; char * link; char link_[PAD_(char *)]; }; struct ibcs2_lstat_args { char * path; char path_[PAD_(char *)]; struct ibcs2_stat * st; char st_[PAD_(struct ibcs2_stat *)]; }; struct ibcs2_readlink_args { char * path; char path_[PAD_(char *)]; char * buf; char buf_[PAD_(char *)]; int count; char count_[PAD_(int)]; }; struct ibcs2_isc_args { register_t dummy; }; int ibcs2_read __P((struct proc *, struct ibcs2_read_args *)); int ibcs2_open __P((struct proc *, struct ibcs2_open_args *)); int ibcs2_wait __P((struct proc *, struct ibcs2_wait_args *)); int ibcs2_creat __P((struct proc *, struct ibcs2_creat_args *)); int ibcs2_unlink __P((struct proc *, struct ibcs2_unlink_args *)); int ibcs2_execv __P((struct proc *, struct ibcs2_execv_args *)); int ibcs2_chdir __P((struct proc *, struct ibcs2_chdir_args *)); int ibcs2_time __P((struct proc *, struct ibcs2_time_args *)); int ibcs2_mknod __P((struct proc *, struct ibcs2_mknod_args *)); int ibcs2_chmod __P((struct proc *, struct ibcs2_chmod_args *)); int ibcs2_chown __P((struct proc *, struct ibcs2_chown_args *)); int ibcs2_stat __P((struct proc *, struct ibcs2_stat_args *)); int ibcs2_lseek __P((struct proc *, struct ibcs2_lseek_args *)); int ibcs2_mount __P((struct proc *, struct ibcs2_mount_args *)); int ibcs2_umount __P((struct proc *, struct ibcs2_umount_args *)); int ibcs2_setuid __P((struct proc *, struct ibcs2_setuid_args *)); int ibcs2_stime __P((struct proc *, struct ibcs2_stime_args *)); int ibcs2_alarm __P((struct proc *, struct ibcs2_alarm_args *)); int ibcs2_fstat __P((struct proc *, struct ibcs2_fstat_args *)); int ibcs2_pause __P((struct proc *, struct ibcs2_pause_args *)); int ibcs2_utime __P((struct proc *, struct ibcs2_utime_args *)); int ibcs2_stty __P((struct proc *, struct ibcs2_stty_args *)); int ibcs2_gtty __P((struct proc *, struct ibcs2_gtty_args *)); int ibcs2_access __P((struct proc *, struct ibcs2_access_args *)); int ibcs2_nice __P((struct proc *, struct ibcs2_nice_args *)); int ibcs2_statfs __P((struct proc *, struct ibcs2_statfs_args *)); int ibcs2_kill __P((struct proc *, struct ibcs2_kill_args *)); int ibcs2_fstatfs __P((struct proc *, struct ibcs2_fstatfs_args *)); int ibcs2_pgrpsys __P((struct proc *, struct ibcs2_pgrpsys_args *)); int ibcs2_xenix __P((struct proc *, struct ibcs2_xenix_args *)); int ibcs2_times __P((struct proc *, struct ibcs2_times_args *)); int ibcs2_plock __P((struct proc *, struct ibcs2_plock_args *)); int ibcs2_setgid __P((struct proc *, struct ibcs2_setgid_args *)); int ibcs2_sigsys __P((struct proc *, struct ibcs2_sigsys_args *)); int ibcs2_msgsys __P((struct proc *, struct ibcs2_msgsys_args *)); int ibcs2_sysi86 __P((struct proc *, struct ibcs2_sysi86_args *)); int ibcs2_shmsys __P((struct proc *, struct ibcs2_shmsys_args *)); int ibcs2_semsys __P((struct proc *, struct ibcs2_semsys_args *)); int ibcs2_ioctl __P((struct proc *, struct ibcs2_ioctl_args *)); int ibcs2_uadmin __P((struct proc *, struct ibcs2_uadmin_args *)); int ibcs2_utssys __P((struct proc *, struct ibcs2_utssys_args *)); int ibcs2_execve __P((struct proc *, struct ibcs2_execve_args *)); int ibcs2_fcntl __P((struct proc *, struct ibcs2_fcntl_args *)); int ibcs2_ulimit __P((struct proc *, struct ibcs2_ulimit_args *)); int ibcs2_rmdir __P((struct proc *, struct ibcs2_rmdir_args *)); int ibcs2_mkdir __P((struct proc *, struct ibcs2_mkdir_args *)); int ibcs2_getdents __P((struct proc *, struct ibcs2_getdents_args *)); int ibcs2_sysfs __P((struct proc *, struct ibcs2_sysfs_args *)); int ibcs2_getmsg __P((struct proc *, struct ibcs2_getmsg_args *)); int ibcs2_putmsg __P((struct proc *, struct ibcs2_putmsg_args *)); int ibcs2_poll __P((struct proc *, struct ibcs2_poll_args *)); int ibcs2_secure __P((struct proc *, struct ibcs2_secure_args *)); int ibcs2_symlink __P((struct proc *, struct ibcs2_symlink_args *)); int ibcs2_lstat __P((struct proc *, struct ibcs2_lstat_args *)); int ibcs2_readlink __P((struct proc *, struct ibcs2_readlink_args *)); int ibcs2_isc __P((struct proc *, struct ibcs2_isc_args *)); #ifdef COMPAT_43 #endif /* COMPAT_43 */ #undef PAD_ #endif /* !_IBCS2_SYSPROTO_H_ */ Index: head/sys/i386/ibcs2/ibcs2_syscall.h =================================================================== --- head/sys/i386/ibcs2/ibcs2_syscall.h (revision 63986) +++ head/sys/i386/ibcs2/ibcs2_syscall.h (revision 63987) @@ -1,92 +1,92 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.10 2000/05/09 17:54:30 bde Exp + * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.11 2000/07/29 00:16:27 peter Exp */ #define IBCS2_SYS_syscall 0 -#define IBCS2_SYS_exit 1 +#define IBCS2_SYS_sys_exit 1 #define IBCS2_SYS_fork 2 #define IBCS2_SYS_ibcs2_read 3 #define IBCS2_SYS_write 4 #define IBCS2_SYS_ibcs2_open 5 #define IBCS2_SYS_close 6 #define IBCS2_SYS_ibcs2_wait 7 #define IBCS2_SYS_ibcs2_creat 8 #define IBCS2_SYS_link 9 #define IBCS2_SYS_ibcs2_unlink 10 #define IBCS2_SYS_ibcs2_execv 11 #define IBCS2_SYS_ibcs2_chdir 12 #define IBCS2_SYS_ibcs2_time 13 #define IBCS2_SYS_ibcs2_mknod 14 #define IBCS2_SYS_ibcs2_chmod 15 #define IBCS2_SYS_ibcs2_chown 16 #define IBCS2_SYS_obreak 17 #define IBCS2_SYS_ibcs2_stat 18 #define IBCS2_SYS_ibcs2_lseek 19 #define IBCS2_SYS_getpid 20 #define IBCS2_SYS_ibcs2_mount 21 #define IBCS2_SYS_ibcs2_umount 22 #define IBCS2_SYS_ibcs2_setuid 23 #define IBCS2_SYS_getuid 24 #define IBCS2_SYS_ibcs2_stime 25 #define IBCS2_SYS_ptrace 26 #define IBCS2_SYS_ibcs2_alarm 27 #define IBCS2_SYS_ibcs2_fstat 28 #define IBCS2_SYS_ibcs2_pause 29 #define IBCS2_SYS_ibcs2_utime 30 #define IBCS2_SYS_ibcs2_stty 31 #define IBCS2_SYS_ibcs2_gtty 32 #define IBCS2_SYS_ibcs2_access 33 #define IBCS2_SYS_ibcs2_nice 34 #define IBCS2_SYS_ibcs2_statfs 35 #define IBCS2_SYS_sync 36 #define IBCS2_SYS_ibcs2_kill 37 #define IBCS2_SYS_ibcs2_fstatfs 38 #define IBCS2_SYS_ibcs2_pgrpsys 39 #define IBCS2_SYS_ibcs2_xenix 40 #define IBCS2_SYS_dup 41 #define IBCS2_SYS_pipe 42 #define IBCS2_SYS_ibcs2_times 43 #define IBCS2_SYS_profil 44 #define IBCS2_SYS_ibcs2_plock 45 #define IBCS2_SYS_ibcs2_setgid 46 #define IBCS2_SYS_getgid 47 #define IBCS2_SYS_ibcs2_sigsys 48 #define IBCS2_SYS_ibcs2_msgsys 49 #define IBCS2_SYS_ibcs2_sysi86 50 #define IBCS2_SYS_ibcs2_shmsys 52 #define IBCS2_SYS_ibcs2_semsys 53 #define IBCS2_SYS_ibcs2_ioctl 54 #define IBCS2_SYS_ibcs2_uadmin 55 #define IBCS2_SYS_ibcs2_utssys 57 #define IBCS2_SYS_fsync 58 #define IBCS2_SYS_ibcs2_execve 59 #define IBCS2_SYS_umask 60 #define IBCS2_SYS_chroot 61 #define IBCS2_SYS_ibcs2_fcntl 62 #define IBCS2_SYS_ibcs2_ulimit 63 /* 70 is obsolete rfs_advfs */ /* 71 is obsolete rfs_unadvfs */ /* 72 is obsolete rfs_rmount */ /* 73 is obsolete rfs_rumount */ /* 74 is obsolete rfs_rfstart */ /* 75 is obsolete rfs_sigret */ /* 76 is obsolete rfs_rdebug */ /* 77 is obsolete rfs_rfstop */ #define IBCS2_SYS_ibcs2_rmdir 79 #define IBCS2_SYS_ibcs2_mkdir 80 #define IBCS2_SYS_ibcs2_getdents 81 #define IBCS2_SYS_ibcs2_sysfs 84 #define IBCS2_SYS_ibcs2_getmsg 85 #define IBCS2_SYS_ibcs2_putmsg 86 #define IBCS2_SYS_ibcs2_poll 87 #define IBCS2_SYS_ibcs2_secure 89 #define IBCS2_SYS_ibcs2_symlink 90 #define IBCS2_SYS_ibcs2_lstat 91 #define IBCS2_SYS_ibcs2_readlink 92 #define IBCS2_SYS_sigreturn 103 #define IBCS2_SYS_ibcs2_isc 105 #define IBCS2_SYS_MAXSYSCALL 128 Index: head/sys/i386/ibcs2/ibcs2_sysent.c =================================================================== --- head/sys/i386/ibcs2/ibcs2_sysent.c (revision 63986) +++ head/sys/i386/ibcs2/ibcs2_sysent.c (revision 63987) @@ -1,148 +1,148 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.10 2000/05/09 17:54:30 bde Exp + * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.11 2000/07/29 00:16:27 peter Exp */ #include #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent ibcs2_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = syscall */ - { AS(rexit_args), (sy_call_t *)exit }, /* 1 = exit */ + { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = sys_exit */ { 0, (sy_call_t *)fork }, /* 2 = fork */ { AS(ibcs2_read_args), (sy_call_t *)ibcs2_read }, /* 3 = ibcs2_read */ { AS(write_args), (sy_call_t *)write }, /* 4 = write */ { AS(ibcs2_open_args), (sy_call_t *)ibcs2_open }, /* 5 = ibcs2_open */ { AS(close_args), (sy_call_t *)close }, /* 6 = close */ { AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait }, /* 7 = ibcs2_wait */ { AS(ibcs2_creat_args), (sy_call_t *)ibcs2_creat }, /* 8 = ibcs2_creat */ { AS(link_args), (sy_call_t *)link }, /* 9 = link */ { AS(ibcs2_unlink_args), (sy_call_t *)ibcs2_unlink }, /* 10 = ibcs2_unlink */ { AS(ibcs2_execv_args), (sy_call_t *)ibcs2_execv }, /* 11 = ibcs2_execv */ { AS(ibcs2_chdir_args), (sy_call_t *)ibcs2_chdir }, /* 12 = ibcs2_chdir */ { AS(ibcs2_time_args), (sy_call_t *)ibcs2_time }, /* 13 = ibcs2_time */ { AS(ibcs2_mknod_args), (sy_call_t *)ibcs2_mknod }, /* 14 = ibcs2_mknod */ { AS(ibcs2_chmod_args), (sy_call_t *)ibcs2_chmod }, /* 15 = ibcs2_chmod */ { AS(ibcs2_chown_args), (sy_call_t *)ibcs2_chown }, /* 16 = ibcs2_chown */ { AS(obreak_args), (sy_call_t *)obreak }, /* 17 = obreak */ { AS(ibcs2_stat_args), (sy_call_t *)ibcs2_stat }, /* 18 = ibcs2_stat */ { AS(ibcs2_lseek_args), (sy_call_t *)ibcs2_lseek }, /* 19 = ibcs2_lseek */ { 0, (sy_call_t *)getpid }, /* 20 = getpid */ { AS(ibcs2_mount_args), (sy_call_t *)ibcs2_mount }, /* 21 = ibcs2_mount */ { AS(ibcs2_umount_args), (sy_call_t *)ibcs2_umount }, /* 22 = ibcs2_umount */ { AS(ibcs2_setuid_args), (sy_call_t *)ibcs2_setuid }, /* 23 = ibcs2_setuid */ { 0, (sy_call_t *)getuid }, /* 24 = getuid */ { AS(ibcs2_stime_args), (sy_call_t *)ibcs2_stime }, /* 25 = ibcs2_stime */ { AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */ { AS(ibcs2_alarm_args), (sy_call_t *)ibcs2_alarm }, /* 27 = ibcs2_alarm */ { AS(ibcs2_fstat_args), (sy_call_t *)ibcs2_fstat }, /* 28 = ibcs2_fstat */ { 0, (sy_call_t *)ibcs2_pause }, /* 29 = ibcs2_pause */ { AS(ibcs2_utime_args), (sy_call_t *)ibcs2_utime }, /* 30 = ibcs2_utime */ { AS(ibcs2_stty_args), (sy_call_t *)ibcs2_stty }, /* 31 = ibcs2_stty */ { AS(ibcs2_gtty_args), (sy_call_t *)ibcs2_gtty }, /* 32 = ibcs2_gtty */ { AS(ibcs2_access_args), (sy_call_t *)ibcs2_access }, /* 33 = ibcs2_access */ { AS(ibcs2_nice_args), (sy_call_t *)ibcs2_nice }, /* 34 = ibcs2_nice */ { AS(ibcs2_statfs_args), (sy_call_t *)ibcs2_statfs }, /* 35 = ibcs2_statfs */ { 0, (sy_call_t *)sync }, /* 36 = sync */ { AS(ibcs2_kill_args), (sy_call_t *)ibcs2_kill }, /* 37 = ibcs2_kill */ { AS(ibcs2_fstatfs_args), (sy_call_t *)ibcs2_fstatfs }, /* 38 = ibcs2_fstatfs */ { AS(ibcs2_pgrpsys_args), (sy_call_t *)ibcs2_pgrpsys }, /* 39 = ibcs2_pgrpsys */ { AS(ibcs2_xenix_args), (sy_call_t *)ibcs2_xenix }, /* 40 = ibcs2_xenix */ { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ { 0, (sy_call_t *)pipe }, /* 42 = pipe */ { AS(ibcs2_times_args), (sy_call_t *)ibcs2_times }, /* 43 = ibcs2_times */ { AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */ { AS(ibcs2_plock_args), (sy_call_t *)ibcs2_plock }, /* 45 = ibcs2_plock */ { AS(ibcs2_setgid_args), (sy_call_t *)ibcs2_setgid }, /* 46 = ibcs2_setgid */ { 0, (sy_call_t *)getgid }, /* 47 = getgid */ { AS(ibcs2_sigsys_args), (sy_call_t *)ibcs2_sigsys }, /* 48 = ibcs2_sigsys */ { AS(ibcs2_msgsys_args), (sy_call_t *)ibcs2_msgsys }, /* 49 = ibcs2_msgsys */ { AS(ibcs2_sysi86_args), (sy_call_t *)ibcs2_sysi86 }, /* 50 = ibcs2_sysi86 */ { 0, (sy_call_t *)nosys }, /* 51 = ibcs2_acct */ { AS(ibcs2_shmsys_args), (sy_call_t *)ibcs2_shmsys }, /* 52 = ibcs2_shmsys */ { AS(ibcs2_semsys_args), (sy_call_t *)ibcs2_semsys }, /* 53 = ibcs2_semsys */ { AS(ibcs2_ioctl_args), (sy_call_t *)ibcs2_ioctl }, /* 54 = ibcs2_ioctl */ { AS(ibcs2_uadmin_args), (sy_call_t *)ibcs2_uadmin }, /* 55 = ibcs2_uadmin */ { 0, (sy_call_t *)nosys }, /* 56 = nosys */ { AS(ibcs2_utssys_args), (sy_call_t *)ibcs2_utssys }, /* 57 = ibcs2_utssys */ { AS(fsync_args), (sy_call_t *)fsync }, /* 58 = fsync */ { AS(ibcs2_execve_args), (sy_call_t *)ibcs2_execve }, /* 59 = ibcs2_execve */ { AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ { AS(ibcs2_fcntl_args), (sy_call_t *)ibcs2_fcntl }, /* 62 = ibcs2_fcntl */ { AS(ibcs2_ulimit_args), (sy_call_t *)ibcs2_ulimit }, /* 63 = ibcs2_ulimit */ { 0, (sy_call_t *)nosys }, /* 64 = reserved for unix/pc */ { 0, (sy_call_t *)nosys }, /* 65 = reserved for unix/pc */ { 0, (sy_call_t *)nosys }, /* 66 = reserved for unix/pc */ { 0, (sy_call_t *)nosys }, /* 67 = reserved for unix/pc */ { 0, (sy_call_t *)nosys }, /* 68 = reserved for unix/pc */ { 0, (sy_call_t *)nosys }, /* 69 = reserved for unix/pc */ { 0, (sy_call_t *)nosys }, /* 70 = obsolete rfs_advfs */ { 0, (sy_call_t *)nosys }, /* 71 = obsolete rfs_unadvfs */ { 0, (sy_call_t *)nosys }, /* 72 = obsolete rfs_rmount */ { 0, (sy_call_t *)nosys }, /* 73 = obsolete rfs_rumount */ { 0, (sy_call_t *)nosys }, /* 74 = obsolete rfs_rfstart */ { 0, (sy_call_t *)nosys }, /* 75 = obsolete rfs_sigret */ { 0, (sy_call_t *)nosys }, /* 76 = obsolete rfs_rdebug */ { 0, (sy_call_t *)nosys }, /* 77 = obsolete rfs_rfstop */ { 0, (sy_call_t *)nosys }, /* 78 = rfs_rfsys */ { AS(ibcs2_rmdir_args), (sy_call_t *)ibcs2_rmdir }, /* 79 = ibcs2_rmdir */ { AS(ibcs2_mkdir_args), (sy_call_t *)ibcs2_mkdir }, /* 80 = ibcs2_mkdir */ { AS(ibcs2_getdents_args), (sy_call_t *)ibcs2_getdents }, /* 81 = ibcs2_getdents */ { 0, (sy_call_t *)nosys }, /* 82 = nosys */ { 0, (sy_call_t *)nosys }, /* 83 = nosys */ { AS(ibcs2_sysfs_args), (sy_call_t *)ibcs2_sysfs }, /* 84 = ibcs2_sysfs */ { AS(ibcs2_getmsg_args), (sy_call_t *)ibcs2_getmsg }, /* 85 = ibcs2_getmsg */ { AS(ibcs2_putmsg_args), (sy_call_t *)ibcs2_putmsg }, /* 86 = ibcs2_putmsg */ { AS(ibcs2_poll_args), (sy_call_t *)ibcs2_poll }, /* 87 = ibcs2_poll */ { 0, (sy_call_t *)nosys }, /* 88 = nosys */ { AS(ibcs2_secure_args), (sy_call_t *)ibcs2_secure }, /* 89 = ibcs2_secure */ { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink }, /* 90 = ibcs2_symlink */ { AS(ibcs2_lstat_args), (sy_call_t *)ibcs2_lstat }, /* 91 = ibcs2_lstat */ { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink }, /* 92 = ibcs2_readlink */ { 0, (sy_call_t *)nosys }, /* 93 = nosys */ { 0, (sy_call_t *)nosys }, /* 94 = nosys */ { 0, (sy_call_t *)nosys }, /* 95 = nosys */ { 0, (sy_call_t *)nosys }, /* 96 = nosys */ { 0, (sy_call_t *)nosys }, /* 97 = nosys */ { 0, (sy_call_t *)nosys }, /* 98 = nosys */ { 0, (sy_call_t *)nosys }, /* 99 = nosys */ { 0, (sy_call_t *)nosys }, /* 100 = nosys */ { 0, (sy_call_t *)nosys }, /* 101 = nosys */ { 0, (sy_call_t *)nosys }, /* 102 = nosys */ { AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 103 = sigreturn */ { 0, (sy_call_t *)nosys }, /* 104 = nosys */ { 0, (sy_call_t *)ibcs2_isc }, /* 105 = ibcs2_isc */ { 0, (sy_call_t *)nosys }, /* 106 = nosys */ { 0, (sy_call_t *)nosys }, /* 107 = nosys */ { 0, (sy_call_t *)nosys }, /* 108 = nosys */ { 0, (sy_call_t *)nosys }, /* 109 = nosys */ { 0, (sy_call_t *)nosys }, /* 110 = nosys */ { 0, (sy_call_t *)nosys }, /* 111 = nosys */ { 0, (sy_call_t *)nosys }, /* 112 = nosys */ { 0, (sy_call_t *)nosys }, /* 113 = nosys */ { 0, (sy_call_t *)nosys }, /* 114 = nosys */ { 0, (sy_call_t *)nosys }, /* 115 = nosys */ { 0, (sy_call_t *)nosys }, /* 116 = nosys */ { 0, (sy_call_t *)nosys }, /* 117 = nosys */ { 0, (sy_call_t *)nosys }, /* 118 = nosys */ { 0, (sy_call_t *)nosys }, /* 119 = nosys */ { 0, (sy_call_t *)nosys }, /* 120 = nosys */ { 0, (sy_call_t *)nosys }, /* 121 = nosys */ { 0, (sy_call_t *)nosys }, /* 122 = nosys */ { 0, (sy_call_t *)nosys }, /* 123 = nosys */ { 0, (sy_call_t *)nosys }, /* 124 = nosys */ { 0, (sy_call_t *)nosys }, /* 125 = nosys */ { 0, (sy_call_t *)nosys }, /* 126 = nosys */ { 0, (sy_call_t *)nosys }, /* 127 = nosys */ }; Index: head/sys/i386/linux/linux_proto.h =================================================================== --- head/sys/i386/linux/linux_proto.h (revision 63986) +++ head/sys/i386/linux/linux_proto.h (revision 63987) @@ -1,694 +1,694 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.32 2000/07/17 00:13:38 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.33 2000/07/29 00:16:28 peter Exp */ #ifndef _LINUX_SYSPROTO_H_ #define _LINUX_SYSPROTO_H_ #include #include struct proc; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) struct linux_setup_args { register_t dummy; }; struct linux_fork_args { register_t dummy; }; struct linux_open_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct linux_waitpid_args { int pid; char pid_[PAD_(int)]; int * status; char status_[PAD_(int *)]; int options; char options_[PAD_(int)]; }; struct linux_creat_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct linux_link_args { char * path; char path_[PAD_(char *)]; char * to; char to_[PAD_(char *)]; }; struct linux_unlink_args { char * path; char path_[PAD_(char *)]; }; struct linux_execve_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; char ** envp; char envp_[PAD_(char **)]; }; struct linux_chdir_args { char * path; char path_[PAD_(char *)]; }; struct linux_time_args { linux_time_t * tm; char tm_[PAD_(linux_time_t *)]; }; struct linux_mknod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; int dev; char dev_[PAD_(int)]; }; struct linux_chmod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct linux_lchown_args { char * path; char path_[PAD_(char *)]; int uid; char uid_[PAD_(int)]; int gid; char gid_[PAD_(int)]; }; struct linux_break_args { char * nsize; char nsize_[PAD_(char *)]; }; struct linux_stat_args { char * path; char path_[PAD_(char *)]; struct ostat * up; char up_[PAD_(struct ostat *)]; }; struct linux_lseek_args { int fdes; char fdes_[PAD_(int)]; long off; char off_[PAD_(long)]; int whence; char whence_[PAD_(int)]; }; struct linux_mount_args { register_t dummy; }; struct linux_umount_args { register_t dummy; }; struct linux_stime_args { register_t dummy; }; struct linux_ptrace_args { register_t dummy; }; struct linux_alarm_args { unsigned int secs; char secs_[PAD_(unsigned int)]; }; struct linux_fstat_args { int fd; char fd_[PAD_(int)]; struct ostat * up; char up_[PAD_(struct ostat *)]; }; struct linux_pause_args { register_t dummy; }; struct linux_utime_args { char * fname; char fname_[PAD_(char *)]; struct linux_utimbuf * times; char times_[PAD_(struct linux_utimbuf *)]; }; struct linux_stty_args { register_t dummy; }; struct linux_gtty_args { register_t dummy; }; struct linux_access_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct linux_nice_args { int inc; char inc_[PAD_(int)]; }; struct linux_ftime_args { register_t dummy; }; struct linux_kill_args { int pid; char pid_[PAD_(int)]; int signum; char signum_[PAD_(int)]; }; struct linux_rename_args { char * from; char from_[PAD_(char *)]; char * to; char to_[PAD_(char *)]; }; struct linux_mkdir_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct linux_rmdir_args { char * path; char path_[PAD_(char *)]; }; struct linux_pipe_args { int * pipefds; char pipefds_[PAD_(int *)]; }; struct linux_times_args { struct linux_times_argv * buf; char buf_[PAD_(struct linux_times_argv *)]; }; struct linux_prof_args { register_t dummy; }; struct linux_brk_args { char * dsend; char dsend_[PAD_(char *)]; }; struct linux_signal_args { int sig; char sig_[PAD_(int)]; linux_handler_t handler; char handler_[PAD_(linux_handler_t)]; }; struct linux_umount2_args { register_t dummy; }; struct linux_lock_args { register_t dummy; }; struct linux_ioctl_args { int fd; char fd_[PAD_(int)]; u_long cmd; char cmd_[PAD_(u_long)]; int arg; char arg_[PAD_(int)]; }; struct linux_fcntl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; int arg; char arg_[PAD_(int)]; }; struct linux_mpx_args { register_t dummy; }; struct linux_ulimit_args { register_t dummy; }; struct linux_olduname_args { register_t dummy; }; struct linux_ustat_args { linux_dev_t dev; char dev_[PAD_(linux_dev_t)]; struct linux_ustat * ubuf; char ubuf_[PAD_(struct linux_ustat *)]; }; struct linux_sigaction_args { int sig; char sig_[PAD_(int)]; linux_osigaction_t * nsa; char nsa_[PAD_(linux_osigaction_t *)]; linux_osigaction_t * osa; char osa_[PAD_(linux_osigaction_t *)]; }; struct linux_siggetmask_args { register_t dummy; }; struct linux_sigsetmask_args { linux_osigset_t mask; char mask_[PAD_(linux_osigset_t)]; }; struct linux_sigsuspend_args { int restart; char restart_[PAD_(int)]; linux_osigset_t oldmask; char oldmask_[PAD_(linux_osigset_t)]; linux_osigset_t mask; char mask_[PAD_(linux_osigset_t)]; }; struct linux_sigpending_args { linux_osigset_t * mask; char mask_[PAD_(linux_osigset_t *)]; }; struct linux_setrlimit_args { u_int resource; char resource_[PAD_(u_int)]; struct ogetrlimit * rlim; char rlim_[PAD_(struct ogetrlimit *)]; }; struct linux_getrlimit_args { u_int resource; char resource_[PAD_(u_int)]; struct ogetrlimit * rlim; char rlim_[PAD_(struct ogetrlimit *)]; }; struct linux_getgroups_args { u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; linux_gid_t * gidset; char gidset_[PAD_(linux_gid_t *)]; }; struct linux_setgroups_args { u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; linux_gid_t * gidset; char gidset_[PAD_(linux_gid_t *)]; }; struct linux_select_args { struct linux_select_argv * ptr; char ptr_[PAD_(struct linux_select_argv *)]; }; struct linux_symlink_args { char * path; char path_[PAD_(char *)]; char * to; char to_[PAD_(char *)]; }; struct linux_readlink_args { char * name; char name_[PAD_(char *)]; char * buf; char buf_[PAD_(char *)]; int count; char count_[PAD_(int)]; }; struct linux_uselib_args { char * library; char library_[PAD_(char *)]; }; struct linux_readdir_args { int fd; char fd_[PAD_(int)]; struct linux_dirent * dent; char dent_[PAD_(struct linux_dirent *)]; unsigned int count; char count_[PAD_(unsigned int)]; }; struct linux_mmap_args { struct linux_mmap_argv * ptr; char ptr_[PAD_(struct linux_mmap_argv *)]; }; struct linux_truncate_args { char * path; char path_[PAD_(char *)]; long length; char length_[PAD_(long)]; }; struct linux_statfs_args { char * path; char path_[PAD_(char *)]; struct linux_statfs_buf * buf; char buf_[PAD_(struct linux_statfs_buf *)]; }; struct linux_fstatfs_args { int fd; char fd_[PAD_(int)]; struct linux_statfs_buf * buf; char buf_[PAD_(struct linux_statfs_buf *)]; }; struct linux_ioperm_args { unsigned int start; char start_[PAD_(unsigned int)]; unsigned int length; char length_[PAD_(unsigned int)]; int enable; char enable_[PAD_(int)]; }; struct linux_socketcall_args { int what; char what_[PAD_(int)]; void * args; char args_[PAD_(void *)]; }; struct linux_ksyslog_args { int what; char what_[PAD_(int)]; }; struct linux_setitimer_args { u_int which; char which_[PAD_(u_int)]; struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)]; }; struct linux_getitimer_args { u_int which; char which_[PAD_(u_int)]; struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; }; struct linux_newstat_args { char * path; char path_[PAD_(char *)]; struct linux_newstat * buf; char buf_[PAD_(struct linux_newstat *)]; }; struct linux_newlstat_args { char * path; char path_[PAD_(char *)]; struct linux_newstat * buf; char buf_[PAD_(struct linux_newstat *)]; }; struct linux_newfstat_args { int fd; char fd_[PAD_(int)]; struct linux_newstat * buf; char buf_[PAD_(struct linux_newstat *)]; }; struct linux_uname_args { register_t dummy; }; struct linux_iopl_args { int level; char level_[PAD_(int)]; }; struct linux_vhangup_args { register_t dummy; }; struct linux_idle_args { register_t dummy; }; struct linux_vm86old_args { register_t dummy; }; struct linux_wait4_args { int pid; char pid_[PAD_(int)]; int * status; char status_[PAD_(int *)]; int options; char options_[PAD_(int)]; struct rusage * rusage; char rusage_[PAD_(struct rusage *)]; }; struct linux_swapoff_args { register_t dummy; }; struct linux_sysinfo_args { register_t dummy; }; struct linux_ipc_args { int what; char what_[PAD_(int)]; int arg1; char arg1_[PAD_(int)]; int arg2; char arg2_[PAD_(int)]; int arg3; char arg3_[PAD_(int)]; caddr_t ptr; char ptr_[PAD_(caddr_t)]; }; struct linux_sigreturn_args { struct linux_sigcontext * scp; char scp_[PAD_(struct linux_sigcontext *)]; }; struct linux_clone_args { int flags; char flags_[PAD_(int)]; void * stack; char stack_[PAD_(void *)]; }; struct linux_newuname_args { struct linux_new_utsname * buf; char buf_[PAD_(struct linux_new_utsname *)]; }; struct linux_modify_ldt_args { int func; char func_[PAD_(int)]; void * ptr; char ptr_[PAD_(void *)]; size_t bytecount; char bytecount_[PAD_(size_t)]; }; struct linux_adjtimex_args { register_t dummy; }; struct linux_sigprocmask_args { int how; char how_[PAD_(int)]; linux_osigset_t * mask; char mask_[PAD_(linux_osigset_t *)]; linux_osigset_t * omask; char omask_[PAD_(linux_osigset_t *)]; }; struct linux_create_module_args { register_t dummy; }; struct linux_init_module_args { register_t dummy; }; struct linux_delete_module_args { register_t dummy; }; struct linux_get_kernel_syms_args { register_t dummy; }; struct linux_quotactl_args { register_t dummy; }; struct linux_getpgid_args { int pid; char pid_[PAD_(int)]; }; struct linux_bdflush_args { register_t dummy; }; struct linux_sysfs_args { int option; char option_[PAD_(int)]; u_long arg1; char arg1_[PAD_(u_long)]; u_long arg2; char arg2_[PAD_(u_long)]; }; struct linux_personality_args { int per; char per_[PAD_(int)]; }; struct linux_afs_syscall_args { register_t dummy; }; struct linux_setfsuid_args { linux_uid_t uid; char uid_[PAD_(linux_uid_t)]; }; struct linux_setfsgid_args { linux_gid_t gid; char gid_[PAD_(linux_gid_t)]; }; struct linux_llseek_args { int fd; char fd_[PAD_(int)]; u_int32_t ohigh; char ohigh_[PAD_(u_int32_t)]; u_int32_t olow; char olow_[PAD_(u_int32_t)]; caddr_t res; char res_[PAD_(caddr_t)]; int whence; char whence_[PAD_(int)]; }; struct linux_getdents_args { int fd; char fd_[PAD_(int)]; void * dent; char dent_[PAD_(void *)]; unsigned count; char count_[PAD_(unsigned)]; }; struct linux_newselect_args { int nfds; char nfds_[PAD_(int)]; fd_set * readfds; char readfds_[PAD_(fd_set *)]; fd_set * writefds; char writefds_[PAD_(fd_set *)]; fd_set * exceptfds; char exceptfds_[PAD_(fd_set *)]; struct timeval * timeout; char timeout_[PAD_(struct timeval *)]; }; struct linux_msync_args { caddr_t addr; char addr_[PAD_(caddr_t)]; int len; char len_[PAD_(int)]; int fl; char fl_[PAD_(int)]; }; struct linux_getsid_args { linux_pid_t pid; char pid_[PAD_(linux_pid_t)]; }; struct linux_fdatasync_args { int fd; char fd_[PAD_(int)]; }; struct linux_sysctl_args { register_t dummy; }; struct linux_sched_setscheduler_args { pid_t pid; char pid_[PAD_(pid_t)]; int policy; char policy_[PAD_(int)]; const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; }; struct linux_sched_getscheduler_args { pid_t pid; char pid_[PAD_(pid_t)]; }; struct linux_mremap_args { caddr_t addr; char addr_[PAD_(caddr_t)]; int old_len; char old_len_[PAD_(int)]; int new_len; char new_len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct linux_getresuid_args { linux_uid_t * ruid; char ruid_[PAD_(linux_uid_t *)]; linux_uid_t * euid; char euid_[PAD_(linux_uid_t *)]; linux_uid_t * suid; char suid_[PAD_(linux_uid_t *)]; }; struct linux_vm86_args { register_t dummy; }; struct linux_query_module_args { register_t dummy; }; struct linux_nfsservctl_args { register_t dummy; }; struct linux_getresgid_args { linux_gid_t * rgid; char rgid_[PAD_(linux_gid_t *)]; linux_gid_t * egid; char egid_[PAD_(linux_gid_t *)]; linux_gid_t * sgid; char sgid_[PAD_(linux_gid_t *)]; }; struct linux_prctl_args { register_t dummy; }; struct linux_rt_sigreturn_args { register_t dummy; }; struct linux_rt_sigaction_args { int sig; char sig_[PAD_(int)]; linux_sigaction_t * act; char act_[PAD_(linux_sigaction_t *)]; linux_sigaction_t * oact; char oact_[PAD_(linux_sigaction_t *)]; size_t sigsetsize; char sigsetsize_[PAD_(size_t)]; }; struct linux_rt_sigprocmask_args { int how; char how_[PAD_(int)]; linux_sigset_t * mask; char mask_[PAD_(linux_sigset_t *)]; linux_sigset_t * omask; char omask_[PAD_(linux_sigset_t *)]; size_t sigsetsize; char sigsetsize_[PAD_(size_t)]; }; struct linux_rt_sigpending_args { register_t dummy; }; struct linux_rt_sigtimedwait_args { register_t dummy; }; struct linux_rt_sigqueueinfo_args { register_t dummy; }; struct linux_rt_sigsuspend_args { linux_sigset_t * newset; char newset_[PAD_(linux_sigset_t *)]; size_t sigsetsize; char sigsetsize_[PAD_(size_t)]; }; struct linux_pread_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; size_t nbyte; char nbyte_[PAD_(size_t)]; off_t offset; char offset_[PAD_(off_t)]; }; struct linux_pwrite_args { int fd; char fd_[PAD_(int)]; const char * buf; char buf_[PAD_(const char *)]; size_t nbyte; char nbyte_[PAD_(size_t)]; off_t offset; char offset_[PAD_(off_t)]; }; struct linux_chown_args { char * path; char path_[PAD_(char *)]; int uid; char uid_[PAD_(int)]; int gid; char gid_[PAD_(int)]; }; struct linux_getcwd_args { char * buf; char buf_[PAD_(char *)]; unsigned long bufsize; char bufsize_[PAD_(unsigned long)]; }; struct linux_capget_args { register_t dummy; }; struct linux_capset_args { register_t dummy; }; struct linux_sigaltstack_args { const linux_stack_t * uss; char uss_[PAD_(const linux_stack_t *)]; linux_stack_t * uoss; char uoss_[PAD_(linux_stack_t *)]; }; struct linux_sendfile_args { register_t dummy; }; struct linux_getpmsg_args { register_t dummy; }; struct linux_putpmsg_args { register_t dummy; }; struct linux_vfork_args { register_t dummy; }; struct linux_ugetrlimit_args { register_t dummy; }; struct linux_mmap2_args { register_t dummy; }; struct linux_truncate64_args { register_t dummy; }; struct linux_ftruncate64_args { register_t dummy; }; struct linux_stat64_args { register_t dummy; }; struct linux_lstat64_args { register_t dummy; }; struct linux_fstat64_args { register_t dummy; }; int linux_setup __P((struct proc *, struct linux_setup_args *)); int linux_fork __P((struct proc *, struct linux_fork_args *)); int linux_open __P((struct proc *, struct linux_open_args *)); int linux_waitpid __P((struct proc *, struct linux_waitpid_args *)); int linux_creat __P((struct proc *, struct linux_creat_args *)); int linux_link __P((struct proc *, struct linux_link_args *)); int linux_unlink __P((struct proc *, struct linux_unlink_args *)); int linux_execve __P((struct proc *, struct linux_execve_args *)); int linux_chdir __P((struct proc *, struct linux_chdir_args *)); int linux_time __P((struct proc *, struct linux_time_args *)); int linux_mknod __P((struct proc *, struct linux_mknod_args *)); int linux_chmod __P((struct proc *, struct linux_chmod_args *)); int linux_lchown __P((struct proc *, struct linux_lchown_args *)); int linux_break __P((struct proc *, struct linux_break_args *)); int linux_stat __P((struct proc *, struct linux_stat_args *)); int linux_lseek __P((struct proc *, struct linux_lseek_args *)); int linux_mount __P((struct proc *, struct linux_mount_args *)); int linux_umount __P((struct proc *, struct linux_umount_args *)); int linux_stime __P((struct proc *, struct linux_stime_args *)); int linux_ptrace __P((struct proc *, struct linux_ptrace_args *)); int linux_alarm __P((struct proc *, struct linux_alarm_args *)); int linux_fstat __P((struct proc *, struct linux_fstat_args *)); int linux_pause __P((struct proc *, struct linux_pause_args *)); int linux_utime __P((struct proc *, struct linux_utime_args *)); int linux_stty __P((struct proc *, struct linux_stty_args *)); int linux_gtty __P((struct proc *, struct linux_gtty_args *)); int linux_access __P((struct proc *, struct linux_access_args *)); int linux_nice __P((struct proc *, struct linux_nice_args *)); int linux_ftime __P((struct proc *, struct linux_ftime_args *)); int linux_kill __P((struct proc *, struct linux_kill_args *)); int linux_rename __P((struct proc *, struct linux_rename_args *)); int linux_mkdir __P((struct proc *, struct linux_mkdir_args *)); int linux_rmdir __P((struct proc *, struct linux_rmdir_args *)); int linux_pipe __P((struct proc *, struct linux_pipe_args *)); int linux_times __P((struct proc *, struct linux_times_args *)); int linux_prof __P((struct proc *, struct linux_prof_args *)); int linux_brk __P((struct proc *, struct linux_brk_args *)); int linux_signal __P((struct proc *, struct linux_signal_args *)); int linux_umount2 __P((struct proc *, struct linux_umount2_args *)); int linux_lock __P((struct proc *, struct linux_lock_args *)); int linux_ioctl __P((struct proc *, struct linux_ioctl_args *)); int linux_fcntl __P((struct proc *, struct linux_fcntl_args *)); int linux_mpx __P((struct proc *, struct linux_mpx_args *)); int linux_ulimit __P((struct proc *, struct linux_ulimit_args *)); int linux_olduname __P((struct proc *, struct linux_olduname_args *)); int linux_ustat __P((struct proc *, struct linux_ustat_args *)); int linux_sigaction __P((struct proc *, struct linux_sigaction_args *)); int linux_siggetmask __P((struct proc *, struct linux_siggetmask_args *)); int linux_sigsetmask __P((struct proc *, struct linux_sigsetmask_args *)); int linux_sigsuspend __P((struct proc *, struct linux_sigsuspend_args *)); int linux_sigpending __P((struct proc *, struct linux_sigpending_args *)); int linux_setrlimit __P((struct proc *, struct linux_setrlimit_args *)); int linux_getrlimit __P((struct proc *, struct linux_getrlimit_args *)); int linux_getgroups __P((struct proc *, struct linux_getgroups_args *)); int linux_setgroups __P((struct proc *, struct linux_setgroups_args *)); int linux_select __P((struct proc *, struct linux_select_args *)); int linux_symlink __P((struct proc *, struct linux_symlink_args *)); int linux_readlink __P((struct proc *, struct linux_readlink_args *)); int linux_uselib __P((struct proc *, struct linux_uselib_args *)); int linux_readdir __P((struct proc *, struct linux_readdir_args *)); int linux_mmap __P((struct proc *, struct linux_mmap_args *)); int linux_truncate __P((struct proc *, struct linux_truncate_args *)); int linux_statfs __P((struct proc *, struct linux_statfs_args *)); int linux_fstatfs __P((struct proc *, struct linux_fstatfs_args *)); int linux_ioperm __P((struct proc *, struct linux_ioperm_args *)); int linux_socketcall __P((struct proc *, struct linux_socketcall_args *)); int linux_ksyslog __P((struct proc *, struct linux_ksyslog_args *)); int linux_setitimer __P((struct proc *, struct linux_setitimer_args *)); int linux_getitimer __P((struct proc *, struct linux_getitimer_args *)); int linux_newstat __P((struct proc *, struct linux_newstat_args *)); int linux_newlstat __P((struct proc *, struct linux_newlstat_args *)); int linux_newfstat __P((struct proc *, struct linux_newfstat_args *)); int linux_uname __P((struct proc *, struct linux_uname_args *)); int linux_iopl __P((struct proc *, struct linux_iopl_args *)); int linux_vhangup __P((struct proc *, struct linux_vhangup_args *)); int linux_idle __P((struct proc *, struct linux_idle_args *)); int linux_vm86old __P((struct proc *, struct linux_vm86old_args *)); int linux_wait4 __P((struct proc *, struct linux_wait4_args *)); int linux_swapoff __P((struct proc *, struct linux_swapoff_args *)); int linux_sysinfo __P((struct proc *, struct linux_sysinfo_args *)); int linux_ipc __P((struct proc *, struct linux_ipc_args *)); int linux_sigreturn __P((struct proc *, struct linux_sigreturn_args *)); int linux_clone __P((struct proc *, struct linux_clone_args *)); int linux_newuname __P((struct proc *, struct linux_newuname_args *)); int linux_modify_ldt __P((struct proc *, struct linux_modify_ldt_args *)); int linux_adjtimex __P((struct proc *, struct linux_adjtimex_args *)); int linux_sigprocmask __P((struct proc *, struct linux_sigprocmask_args *)); int linux_create_module __P((struct proc *, struct linux_create_module_args *)); int linux_init_module __P((struct proc *, struct linux_init_module_args *)); int linux_delete_module __P((struct proc *, struct linux_delete_module_args *)); int linux_get_kernel_syms __P((struct proc *, struct linux_get_kernel_syms_args *)); int linux_quotactl __P((struct proc *, struct linux_quotactl_args *)); int linux_getpgid __P((struct proc *, struct linux_getpgid_args *)); int linux_bdflush __P((struct proc *, struct linux_bdflush_args *)); int linux_sysfs __P((struct proc *, struct linux_sysfs_args *)); int linux_personality __P((struct proc *, struct linux_personality_args *)); int linux_afs_syscall __P((struct proc *, struct linux_afs_syscall_args *)); int linux_setfsuid __P((struct proc *, struct linux_setfsuid_args *)); int linux_setfsgid __P((struct proc *, struct linux_setfsgid_args *)); int linux_llseek __P((struct proc *, struct linux_llseek_args *)); int linux_getdents __P((struct proc *, struct linux_getdents_args *)); int linux_newselect __P((struct proc *, struct linux_newselect_args *)); int linux_msync __P((struct proc *, struct linux_msync_args *)); int linux_getsid __P((struct proc *, struct linux_getsid_args *)); int linux_fdatasync __P((struct proc *, struct linux_fdatasync_args *)); int linux_sysctl __P((struct proc *, struct linux_sysctl_args *)); int linux_sched_setscheduler __P((struct proc *, struct linux_sched_setscheduler_args *)); int linux_sched_getscheduler __P((struct proc *, struct linux_sched_getscheduler_args *)); int linux_mremap __P((struct proc *, struct linux_mremap_args *)); int linux_getresuid __P((struct proc *, struct linux_getresuid_args *)); int linux_vm86 __P((struct proc *, struct linux_vm86_args *)); int linux_query_module __P((struct proc *, struct linux_query_module_args *)); int linux_nfsservctl __P((struct proc *, struct linux_nfsservctl_args *)); int linux_getresgid __P((struct proc *, struct linux_getresgid_args *)); int linux_prctl __P((struct proc *, struct linux_prctl_args *)); int linux_rt_sigreturn __P((struct proc *, struct linux_rt_sigreturn_args *)); int linux_rt_sigaction __P((struct proc *, struct linux_rt_sigaction_args *)); int linux_rt_sigprocmask __P((struct proc *, struct linux_rt_sigprocmask_args *)); int linux_rt_sigpending __P((struct proc *, struct linux_rt_sigpending_args *)); int linux_rt_sigtimedwait __P((struct proc *, struct linux_rt_sigtimedwait_args *)); int linux_rt_sigqueueinfo __P((struct proc *, struct linux_rt_sigqueueinfo_args *)); int linux_rt_sigsuspend __P((struct proc *, struct linux_rt_sigsuspend_args *)); int linux_pread __P((struct proc *, struct linux_pread_args *)); int linux_pwrite __P((struct proc *, struct linux_pwrite_args *)); int linux_chown __P((struct proc *, struct linux_chown_args *)); int linux_getcwd __P((struct proc *, struct linux_getcwd_args *)); int linux_capget __P((struct proc *, struct linux_capget_args *)); int linux_capset __P((struct proc *, struct linux_capset_args *)); int linux_sigaltstack __P((struct proc *, struct linux_sigaltstack_args *)); int linux_sendfile __P((struct proc *, struct linux_sendfile_args *)); int linux_getpmsg __P((struct proc *, struct linux_getpmsg_args *)); int linux_putpmsg __P((struct proc *, struct linux_putpmsg_args *)); int linux_vfork __P((struct proc *, struct linux_vfork_args *)); int linux_ugetrlimit __P((struct proc *, struct linux_ugetrlimit_args *)); int linux_mmap2 __P((struct proc *, struct linux_mmap2_args *)); int linux_truncate64 __P((struct proc *, struct linux_truncate64_args *)); int linux_ftruncate64 __P((struct proc *, struct linux_ftruncate64_args *)); int linux_stat64 __P((struct proc *, struct linux_stat64_args *)); int linux_lstat64 __P((struct proc *, struct linux_lstat64_args *)); int linux_fstat64 __P((struct proc *, struct linux_fstat64_args *)); #ifdef COMPAT_43 #endif /* COMPAT_43 */ #undef PAD_ #endif /* !_LINUX_SYSPROTO_H_ */ Index: head/sys/i386/linux/linux_syscall.h =================================================================== --- head/sys/i386/linux/linux_syscall.h (revision 63986) +++ head/sys/i386/linux/linux_syscall.h (revision 63987) @@ -1,207 +1,207 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.32 2000/07/17 00:13:38 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.33 2000/07/29 00:16:28 peter Exp */ #define LINUX_SYS_linux_setup 0 -#define LINUX_SYS_exit 1 +#define LINUX_SYS_sys_exit 1 #define LINUX_SYS_linux_fork 2 #define LINUX_SYS_read 3 #define LINUX_SYS_write 4 #define LINUX_SYS_linux_open 5 #define LINUX_SYS_close 6 #define LINUX_SYS_linux_waitpid 7 #define LINUX_SYS_linux_creat 8 #define LINUX_SYS_linux_link 9 #define LINUX_SYS_linux_unlink 10 #define LINUX_SYS_linux_execve 11 #define LINUX_SYS_linux_chdir 12 #define LINUX_SYS_linux_time 13 #define LINUX_SYS_linux_mknod 14 #define LINUX_SYS_linux_chmod 15 #define LINUX_SYS_linux_lchown 16 #define LINUX_SYS_linux_break 17 #define LINUX_SYS_linux_stat 18 #define LINUX_SYS_linux_lseek 19 #define LINUX_SYS_getpid 20 #define LINUX_SYS_linux_mount 21 #define LINUX_SYS_linux_umount 22 #define LINUX_SYS_setuid 23 #define LINUX_SYS_getuid 24 #define LINUX_SYS_linux_stime 25 #define LINUX_SYS_linux_ptrace 26 #define LINUX_SYS_linux_alarm 27 #define LINUX_SYS_linux_fstat 28 #define LINUX_SYS_linux_pause 29 #define LINUX_SYS_linux_utime 30 #define LINUX_SYS_linux_stty 31 #define LINUX_SYS_linux_gtty 32 #define LINUX_SYS_linux_access 33 #define LINUX_SYS_linux_nice 34 #define LINUX_SYS_linux_ftime 35 #define LINUX_SYS_sync 36 #define LINUX_SYS_linux_kill 37 #define LINUX_SYS_linux_rename 38 #define LINUX_SYS_linux_mkdir 39 #define LINUX_SYS_linux_rmdir 40 #define LINUX_SYS_dup 41 #define LINUX_SYS_linux_pipe 42 #define LINUX_SYS_linux_times 43 #define LINUX_SYS_linux_prof 44 #define LINUX_SYS_linux_brk 45 #define LINUX_SYS_setgid 46 #define LINUX_SYS_getgid 47 #define LINUX_SYS_linux_signal 48 #define LINUX_SYS_geteuid 49 #define LINUX_SYS_getegid 50 #define LINUX_SYS_acct 51 #define LINUX_SYS_linux_umount2 52 #define LINUX_SYS_linux_lock 53 #define LINUX_SYS_linux_ioctl 54 #define LINUX_SYS_linux_fcntl 55 #define LINUX_SYS_linux_mpx 56 #define LINUX_SYS_setpgid 57 #define LINUX_SYS_linux_ulimit 58 #define LINUX_SYS_linux_olduname 59 #define LINUX_SYS_umask 60 #define LINUX_SYS_chroot 61 #define LINUX_SYS_linux_ustat 62 #define LINUX_SYS_dup2 63 #define LINUX_SYS_getppid 64 #define LINUX_SYS_getpgrp 65 #define LINUX_SYS_setsid 66 #define LINUX_SYS_linux_sigaction 67 #define LINUX_SYS_linux_siggetmask 68 #define LINUX_SYS_linux_sigsetmask 69 #define LINUX_SYS_setreuid 70 #define LINUX_SYS_setregid 71 #define LINUX_SYS_linux_sigsuspend 72 #define LINUX_SYS_linux_sigpending 73 #define LINUX_SYS_osethostname 74 #define LINUX_SYS_linux_setrlimit 75 #define LINUX_SYS_linux_getrlimit 76 #define LINUX_SYS_getrusage 77 #define LINUX_SYS_gettimeofday 78 #define LINUX_SYS_settimeofday 79 #define LINUX_SYS_linux_getgroups 80 #define LINUX_SYS_linux_setgroups 81 #define LINUX_SYS_linux_select 82 #define LINUX_SYS_linux_symlink 83 #define LINUX_SYS_ostat 84 #define LINUX_SYS_linux_readlink 85 #define LINUX_SYS_linux_uselib 86 #define LINUX_SYS_swapon 87 #define LINUX_SYS_reboot 88 #define LINUX_SYS_linux_readdir 89 #define LINUX_SYS_linux_mmap 90 #define LINUX_SYS_munmap 91 #define LINUX_SYS_linux_truncate 92 #define LINUX_SYS_oftruncate 93 #define LINUX_SYS_fchmod 94 #define LINUX_SYS_fchown 95 #define LINUX_SYS_getpriority 96 #define LINUX_SYS_setpriority 97 #define LINUX_SYS_profil 98 #define LINUX_SYS_linux_statfs 99 #define LINUX_SYS_linux_fstatfs 100 #define LINUX_SYS_linux_ioperm 101 #define LINUX_SYS_linux_socketcall 102 #define LINUX_SYS_linux_ksyslog 103 #define LINUX_SYS_linux_setitimer 104 #define LINUX_SYS_linux_getitimer 105 #define LINUX_SYS_linux_newstat 106 #define LINUX_SYS_linux_newlstat 107 #define LINUX_SYS_linux_newfstat 108 #define LINUX_SYS_linux_uname 109 #define LINUX_SYS_linux_iopl 110 #define LINUX_SYS_linux_vhangup 111 #define LINUX_SYS_linux_idle 112 #define LINUX_SYS_linux_vm86old 113 #define LINUX_SYS_linux_wait4 114 #define LINUX_SYS_linux_swapoff 115 #define LINUX_SYS_linux_sysinfo 116 #define LINUX_SYS_linux_ipc 117 #define LINUX_SYS_fsync 118 #define LINUX_SYS_linux_sigreturn 119 #define LINUX_SYS_linux_clone 120 #define LINUX_SYS_setdomainname 121 #define LINUX_SYS_linux_newuname 122 #define LINUX_SYS_linux_modify_ldt 123 #define LINUX_SYS_linux_adjtimex 124 #define LINUX_SYS_mprotect 125 #define LINUX_SYS_linux_sigprocmask 126 #define LINUX_SYS_linux_create_module 127 #define LINUX_SYS_linux_init_module 128 #define LINUX_SYS_linux_delete_module 129 #define LINUX_SYS_linux_get_kernel_syms 130 #define LINUX_SYS_linux_quotactl 131 #define LINUX_SYS_linux_getpgid 132 #define LINUX_SYS_fchdir 133 #define LINUX_SYS_linux_bdflush 134 #define LINUX_SYS_linux_sysfs 135 #define LINUX_SYS_linux_personality 136 #define LINUX_SYS_linux_afs_syscall 137 #define LINUX_SYS_linux_setfsuid 138 #define LINUX_SYS_linux_setfsgid 139 #define LINUX_SYS_linux_llseek 140 #define LINUX_SYS_linux_getdents 141 #define LINUX_SYS_linux_newselect 142 #define LINUX_SYS_flock 143 #define LINUX_SYS_linux_msync 144 #define LINUX_SYS_readv 145 #define LINUX_SYS_writev 146 #define LINUX_SYS_linux_getsid 147 #define LINUX_SYS_linux_fdatasync 148 #define LINUX_SYS_linux_sysctl 149 #define LINUX_SYS_mlock 150 #define LINUX_SYS_munlock 151 #define LINUX_SYS_mlockall 152 #define LINUX_SYS_munlockall 153 #define LINUX_SYS_sched_setparam 154 #define LINUX_SYS_sched_getparam 155 #define LINUX_SYS_linux_sched_setscheduler 156 #define LINUX_SYS_linux_sched_getscheduler 157 #define LINUX_SYS_sched_yield 158 #define LINUX_SYS_sched_get_priority_max 159 #define LINUX_SYS_sched_get_priority_min 160 #define LINUX_SYS_sched_rr_get_interval 161 #define LINUX_SYS_nanosleep 162 #define LINUX_SYS_linux_mremap 163 #define LINUX_SYS_setresuid 164 #define LINUX_SYS_linux_getresuid 165 #define LINUX_SYS_linux_vm86 166 #define LINUX_SYS_linux_query_module 167 #define LINUX_SYS_poll 168 #define LINUX_SYS_linux_nfsservctl 169 #define LINUX_SYS_setresgid 170 #define LINUX_SYS_linux_getresgid 171 #define LINUX_SYS_linux_prctl 172 #define LINUX_SYS_linux_rt_sigreturn 173 #define LINUX_SYS_linux_rt_sigaction 174 #define LINUX_SYS_linux_rt_sigprocmask 175 #define LINUX_SYS_linux_rt_sigpending 176 #define LINUX_SYS_linux_rt_sigtimedwait 177 #define LINUX_SYS_linux_rt_sigqueueinfo 178 #define LINUX_SYS_linux_rt_sigsuspend 179 #define LINUX_SYS_linux_pread 180 #define LINUX_SYS_linux_pwrite 181 #define LINUX_SYS_linux_chown 182 #define LINUX_SYS_linux_getcwd 183 #define LINUX_SYS_linux_capget 184 #define LINUX_SYS_linux_capset 185 #define LINUX_SYS_linux_sigaltstack 186 #define LINUX_SYS_linux_sendfile 187 #define LINUX_SYS_linux_getpmsg 188 #define LINUX_SYS_linux_putpmsg 189 #define LINUX_SYS_linux_vfork 190 #define LINUX_SYS_linux_ugetrlimit 191 #define LINUX_SYS_linux_mmap2 192 #define LINUX_SYS_linux_truncate64 193 #define LINUX_SYS_linux_ftruncate64 194 #define LINUX_SYS_linux_stat64 195 #define LINUX_SYS_linux_lstat64 196 #define LINUX_SYS_linux_fstat64 197 #define LINUX_SYS_MAXSYSCALL 198 Index: head/sys/i386/linux/linux_sysent.c =================================================================== --- head/sys/i386/linux/linux_sysent.c (revision 63986) +++ head/sys/i386/linux/linux_sysent.c (revision 63987) @@ -1,218 +1,218 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.32 2000/07/17 00:13:38 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.33 2000/07/29 00:16:28 peter Exp */ #include "opt_compat.h" #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent linux_sysent[] = { { 0, (sy_call_t *)linux_setup }, /* 0 = linux_setup */ - { AS(rexit_args), (sy_call_t *)exit }, /* 1 = exit */ + { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = sys_exit */ { 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */ { AS(read_args), (sy_call_t *)read }, /* 3 = read */ { AS(write_args), (sy_call_t *)write }, /* 4 = write */ { AS(linux_open_args), (sy_call_t *)linux_open }, /* 5 = linux_open */ { AS(close_args), (sy_call_t *)close }, /* 6 = close */ { AS(linux_waitpid_args), (sy_call_t *)linux_waitpid }, /* 7 = linux_waitpid */ { AS(linux_creat_args), (sy_call_t *)linux_creat }, /* 8 = linux_creat */ { AS(linux_link_args), (sy_call_t *)linux_link }, /* 9 = linux_link */ { AS(linux_unlink_args), (sy_call_t *)linux_unlink }, /* 10 = linux_unlink */ { AS(linux_execve_args), (sy_call_t *)linux_execve }, /* 11 = linux_execve */ { AS(linux_chdir_args), (sy_call_t *)linux_chdir }, /* 12 = linux_chdir */ { AS(linux_time_args), (sy_call_t *)linux_time }, /* 13 = linux_time */ { AS(linux_mknod_args), (sy_call_t *)linux_mknod }, /* 14 = linux_mknod */ { AS(linux_chmod_args), (sy_call_t *)linux_chmod }, /* 15 = linux_chmod */ { AS(linux_lchown_args), (sy_call_t *)linux_lchown }, /* 16 = linux_lchown */ { AS(linux_break_args), (sy_call_t *)linux_break }, /* 17 = linux_break */ { AS(linux_stat_args), (sy_call_t *)linux_stat }, /* 18 = linux_stat */ { AS(linux_lseek_args), (sy_call_t *)linux_lseek }, /* 19 = linux_lseek */ { 0, (sy_call_t *)getpid }, /* 20 = getpid */ { 0, (sy_call_t *)linux_mount }, /* 21 = linux_mount */ { 0, (sy_call_t *)linux_umount }, /* 22 = linux_umount */ { AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */ { 0, (sy_call_t *)getuid }, /* 24 = getuid */ { 0, (sy_call_t *)linux_stime }, /* 25 = linux_stime */ { 0, (sy_call_t *)linux_ptrace }, /* 26 = linux_ptrace */ { AS(linux_alarm_args), (sy_call_t *)linux_alarm }, /* 27 = linux_alarm */ { AS(linux_fstat_args), (sy_call_t *)linux_fstat }, /* 28 = linux_fstat */ { 0, (sy_call_t *)linux_pause }, /* 29 = linux_pause */ { AS(linux_utime_args), (sy_call_t *)linux_utime }, /* 30 = linux_utime */ { 0, (sy_call_t *)linux_stty }, /* 31 = linux_stty */ { 0, (sy_call_t *)linux_gtty }, /* 32 = linux_gtty */ { AS(linux_access_args), (sy_call_t *)linux_access }, /* 33 = linux_access */ { AS(linux_nice_args), (sy_call_t *)linux_nice }, /* 34 = linux_nice */ { 0, (sy_call_t *)linux_ftime }, /* 35 = linux_ftime */ { 0, (sy_call_t *)sync }, /* 36 = sync */ { AS(linux_kill_args), (sy_call_t *)linux_kill }, /* 37 = linux_kill */ { AS(linux_rename_args), (sy_call_t *)linux_rename }, /* 38 = linux_rename */ { AS(linux_mkdir_args), (sy_call_t *)linux_mkdir }, /* 39 = linux_mkdir */ { AS(linux_rmdir_args), (sy_call_t *)linux_rmdir }, /* 40 = linux_rmdir */ { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ { AS(linux_pipe_args), (sy_call_t *)linux_pipe }, /* 42 = linux_pipe */ { AS(linux_times_args), (sy_call_t *)linux_times }, /* 43 = linux_times */ { 0, (sy_call_t *)linux_prof }, /* 44 = linux_prof */ { AS(linux_brk_args), (sy_call_t *)linux_brk }, /* 45 = linux_brk */ { AS(setgid_args), (sy_call_t *)setgid }, /* 46 = setgid */ { 0, (sy_call_t *)getgid }, /* 47 = getgid */ { AS(linux_signal_args), (sy_call_t *)linux_signal }, /* 48 = linux_signal */ { 0, (sy_call_t *)geteuid }, /* 49 = geteuid */ { 0, (sy_call_t *)getegid }, /* 50 = getegid */ { AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */ { 0, (sy_call_t *)linux_umount2 }, /* 52 = linux_umount2 */ { 0, (sy_call_t *)linux_lock }, /* 53 = linux_lock */ { AS(linux_ioctl_args), (sy_call_t *)linux_ioctl }, /* 54 = linux_ioctl */ { AS(linux_fcntl_args), (sy_call_t *)linux_fcntl }, /* 55 = linux_fcntl */ { 0, (sy_call_t *)linux_mpx }, /* 56 = linux_mpx */ { AS(setpgid_args), (sy_call_t *)setpgid }, /* 57 = setpgid */ { 0, (sy_call_t *)linux_ulimit }, /* 58 = linux_ulimit */ { 0, (sy_call_t *)linux_olduname }, /* 59 = linux_olduname */ { AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ { AS(linux_ustat_args), (sy_call_t *)linux_ustat }, /* 62 = linux_ustat */ { AS(dup2_args), (sy_call_t *)dup2 }, /* 63 = dup2 */ { 0, (sy_call_t *)getppid }, /* 64 = getppid */ { 0, (sy_call_t *)getpgrp }, /* 65 = getpgrp */ { 0, (sy_call_t *)setsid }, /* 66 = setsid */ { AS(linux_sigaction_args), (sy_call_t *)linux_sigaction }, /* 67 = linux_sigaction */ { 0, (sy_call_t *)linux_siggetmask }, /* 68 = linux_siggetmask */ { AS(linux_sigsetmask_args), (sy_call_t *)linux_sigsetmask }, /* 69 = linux_sigsetmask */ { AS(setreuid_args), (sy_call_t *)setreuid }, /* 70 = setreuid */ { AS(setregid_args), (sy_call_t *)setregid }, /* 71 = setregid */ { AS(linux_sigsuspend_args), (sy_call_t *)linux_sigsuspend }, /* 72 = linux_sigsuspend */ { AS(linux_sigpending_args), (sy_call_t *)linux_sigpending }, /* 73 = linux_sigpending */ { AS(sethostname_args), (sy_call_t *)osethostname }, /* 74 = osethostname */ { AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit }, /* 75 = linux_setrlimit */ { AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit }, /* 76 = linux_getrlimit */ { AS(getrusage_args), (sy_call_t *)getrusage }, /* 77 = getrusage */ { AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 78 = gettimeofday */ { AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 79 = settimeofday */ { AS(linux_getgroups_args), (sy_call_t *)linux_getgroups }, /* 80 = linux_getgroups */ { AS(linux_setgroups_args), (sy_call_t *)linux_setgroups }, /* 81 = linux_setgroups */ { AS(linux_select_args), (sy_call_t *)linux_select }, /* 82 = linux_select */ { AS(linux_symlink_args), (sy_call_t *)linux_symlink }, /* 83 = linux_symlink */ { AS(ostat_args), (sy_call_t *)ostat }, /* 84 = ostat */ { AS(linux_readlink_args), (sy_call_t *)linux_readlink }, /* 85 = linux_readlink */ { AS(linux_uselib_args), (sy_call_t *)linux_uselib }, /* 86 = linux_uselib */ { AS(swapon_args), (sy_call_t *)swapon }, /* 87 = swapon */ { AS(reboot_args), (sy_call_t *)reboot }, /* 88 = reboot */ { AS(linux_readdir_args), (sy_call_t *)linux_readdir }, /* 89 = linux_readdir */ { AS(linux_mmap_args), (sy_call_t *)linux_mmap }, /* 90 = linux_mmap */ { AS(munmap_args), (sy_call_t *)munmap }, /* 91 = munmap */ { AS(linux_truncate_args), (sy_call_t *)linux_truncate }, /* 92 = linux_truncate */ { AS(oftruncate_args), (sy_call_t *)oftruncate }, /* 93 = oftruncate */ { AS(fchmod_args), (sy_call_t *)fchmod }, /* 94 = fchmod */ { AS(fchown_args), (sy_call_t *)fchown }, /* 95 = fchown */ { AS(getpriority_args), (sy_call_t *)getpriority }, /* 96 = getpriority */ { AS(setpriority_args), (sy_call_t *)setpriority }, /* 97 = setpriority */ { AS(profil_args), (sy_call_t *)profil }, /* 98 = profil */ { AS(linux_statfs_args), (sy_call_t *)linux_statfs }, /* 99 = linux_statfs */ { AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs }, /* 100 = linux_fstatfs */ { AS(linux_ioperm_args), (sy_call_t *)linux_ioperm }, /* 101 = linux_ioperm */ { AS(linux_socketcall_args), (sy_call_t *)linux_socketcall }, /* 102 = linux_socketcall */ { AS(linux_ksyslog_args), (sy_call_t *)linux_ksyslog }, /* 103 = linux_ksyslog */ { AS(linux_setitimer_args), (sy_call_t *)linux_setitimer }, /* 104 = linux_setitimer */ { AS(linux_getitimer_args), (sy_call_t *)linux_getitimer }, /* 105 = linux_getitimer */ { AS(linux_newstat_args), (sy_call_t *)linux_newstat }, /* 106 = linux_newstat */ { AS(linux_newlstat_args), (sy_call_t *)linux_newlstat }, /* 107 = linux_newlstat */ { AS(linux_newfstat_args), (sy_call_t *)linux_newfstat }, /* 108 = linux_newfstat */ { 0, (sy_call_t *)linux_uname }, /* 109 = linux_uname */ { AS(linux_iopl_args), (sy_call_t *)linux_iopl }, /* 110 = linux_iopl */ { 0, (sy_call_t *)linux_vhangup }, /* 111 = linux_vhangup */ { 0, (sy_call_t *)linux_idle }, /* 112 = linux_idle */ { 0, (sy_call_t *)linux_vm86old }, /* 113 = linux_vm86old */ { AS(linux_wait4_args), (sy_call_t *)linux_wait4 }, /* 114 = linux_wait4 */ { 0, (sy_call_t *)linux_swapoff }, /* 115 = linux_swapoff */ { 0, (sy_call_t *)linux_sysinfo }, /* 116 = linux_sysinfo */ { AS(linux_ipc_args), (sy_call_t *)linux_ipc }, /* 117 = linux_ipc */ { AS(fsync_args), (sy_call_t *)fsync }, /* 118 = fsync */ { AS(linux_sigreturn_args), (sy_call_t *)linux_sigreturn }, /* 119 = linux_sigreturn */ { AS(linux_clone_args), (sy_call_t *)linux_clone }, /* 120 = linux_clone */ { AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 121 = setdomainname */ { AS(linux_newuname_args), (sy_call_t *)linux_newuname }, /* 122 = linux_newuname */ { AS(linux_modify_ldt_args), (sy_call_t *)linux_modify_ldt }, /* 123 = linux_modify_ldt */ { 0, (sy_call_t *)linux_adjtimex }, /* 124 = linux_adjtimex */ { AS(mprotect_args), (sy_call_t *)mprotect }, /* 125 = mprotect */ { AS(linux_sigprocmask_args), (sy_call_t *)linux_sigprocmask }, /* 126 = linux_sigprocmask */ { 0, (sy_call_t *)linux_create_module }, /* 127 = linux_create_module */ { 0, (sy_call_t *)linux_init_module }, /* 128 = linux_init_module */ { 0, (sy_call_t *)linux_delete_module }, /* 129 = linux_delete_module */ { 0, (sy_call_t *)linux_get_kernel_syms }, /* 130 = linux_get_kernel_syms */ { 0, (sy_call_t *)linux_quotactl }, /* 131 = linux_quotactl */ { AS(linux_getpgid_args), (sy_call_t *)linux_getpgid }, /* 132 = linux_getpgid */ { AS(fchdir_args), (sy_call_t *)fchdir }, /* 133 = fchdir */ { 0, (sy_call_t *)linux_bdflush }, /* 134 = linux_bdflush */ { AS(linux_sysfs_args), (sy_call_t *)linux_sysfs }, /* 135 = linux_sysfs */ { AS(linux_personality_args), (sy_call_t *)linux_personality }, /* 136 = linux_personality */ { 0, (sy_call_t *)linux_afs_syscall }, /* 137 = linux_afs_syscall */ { AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid }, /* 138 = linux_setfsuid */ { AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid }, /* 139 = linux_setfsgid */ { AS(linux_llseek_args), (sy_call_t *)linux_llseek }, /* 140 = linux_llseek */ { AS(linux_getdents_args), (sy_call_t *)linux_getdents }, /* 141 = linux_getdents */ { AS(linux_newselect_args), (sy_call_t *)linux_newselect }, /* 142 = linux_newselect */ { AS(flock_args), (sy_call_t *)flock }, /* 143 = flock */ { AS(linux_msync_args), (sy_call_t *)linux_msync }, /* 144 = linux_msync */ { AS(readv_args), (sy_call_t *)readv }, /* 145 = readv */ { AS(writev_args), (sy_call_t *)writev }, /* 146 = writev */ { AS(linux_getsid_args), (sy_call_t *)linux_getsid }, /* 147 = linux_getsid */ { AS(linux_fdatasync_args), (sy_call_t *)linux_fdatasync }, /* 148 = linux_fdatasync */ { 0, (sy_call_t *)linux_sysctl }, /* 149 = linux_sysctl */ { AS(mlock_args), (sy_call_t *)mlock }, /* 150 = mlock */ { AS(munlock_args), (sy_call_t *)munlock }, /* 151 = munlock */ { AS(mlockall_args), (sy_call_t *)mlockall }, /* 152 = mlockall */ { 0, (sy_call_t *)munlockall }, /* 153 = munlockall */ { AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 154 = sched_setparam */ { AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 155 = sched_getparam */ { AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler }, /* 156 = linux_sched_setscheduler */ { AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler }, /* 157 = linux_sched_getscheduler */ { 0, (sy_call_t *)sched_yield }, /* 158 = sched_yield */ { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 159 = sched_get_priority_max */ { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 160 = sched_get_priority_min */ { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 161 = sched_rr_get_interval */ { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 162 = nanosleep */ { AS(linux_mremap_args), (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */ { AS(setresuid_args), (sy_call_t *)setresuid }, /* 164 = setresuid */ { AS(linux_getresuid_args), (sy_call_t *)linux_getresuid }, /* 165 = linux_getresuid */ { 0, (sy_call_t *)linux_vm86 }, /* 166 = linux_vm86 */ { 0, (sy_call_t *)linux_query_module }, /* 167 = linux_query_module */ { AS(poll_args), (sy_call_t *)poll }, /* 168 = poll */ { 0, (sy_call_t *)linux_nfsservctl }, /* 169 = linux_nfsservctl */ { AS(setresgid_args), (sy_call_t *)setresgid }, /* 170 = setresgid */ { AS(linux_getresgid_args), (sy_call_t *)linux_getresgid }, /* 171 = linux_getresgid */ { 0, (sy_call_t *)linux_prctl }, /* 172 = linux_prctl */ { 0, (sy_call_t *)linux_rt_sigreturn }, /* 173 = linux_rt_sigreturn */ { AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction }, /* 174 = linux_rt_sigaction */ { AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask }, /* 175 = linux_rt_sigprocmask */ { 0, (sy_call_t *)linux_rt_sigpending }, /* 176 = linux_rt_sigpending */ { 0, (sy_call_t *)linux_rt_sigtimedwait }, /* 177 = linux_rt_sigtimedwait */ { 0, (sy_call_t *)linux_rt_sigqueueinfo }, /* 178 = linux_rt_sigqueueinfo */ { AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend }, /* 179 = linux_rt_sigsuspend */ { AS(linux_pread_args), (sy_call_t *)linux_pread }, /* 180 = linux_pread */ { AS(linux_pwrite_args), (sy_call_t *)linux_pwrite }, /* 181 = linux_pwrite */ { AS(linux_chown_args), (sy_call_t *)linux_chown }, /* 182 = linux_chown */ { AS(linux_getcwd_args), (sy_call_t *)linux_getcwd }, /* 183 = linux_getcwd */ { 0, (sy_call_t *)linux_capget }, /* 184 = linux_capget */ { 0, (sy_call_t *)linux_capset }, /* 185 = linux_capset */ { AS(linux_sigaltstack_args), (sy_call_t *)linux_sigaltstack }, /* 186 = linux_sigaltstack */ { 0, (sy_call_t *)linux_sendfile }, /* 187 = linux_sendfile */ { 0, (sy_call_t *)linux_getpmsg }, /* 188 = linux_getpmsg */ { 0, (sy_call_t *)linux_putpmsg }, /* 189 = linux_putpmsg */ { 0, (sy_call_t *)linux_vfork }, /* 190 = linux_vfork */ { 0, (sy_call_t *)linux_ugetrlimit }, /* 191 = linux_ugetrlimit */ { 0, (sy_call_t *)linux_mmap2 }, /* 192 = linux_mmap2 */ { 0, (sy_call_t *)linux_truncate64 }, /* 193 = linux_truncate64 */ { 0, (sy_call_t *)linux_ftruncate64 }, /* 194 = linux_ftruncate64 */ { 0, (sy_call_t *)linux_stat64 }, /* 195 = linux_stat64 */ { 0, (sy_call_t *)linux_lstat64 }, /* 196 = linux_lstat64 */ { 0, (sy_call_t *)linux_fstat64 }, /* 197 = linux_fstat64 */ }; Index: head/sys/kern/init_sysent.c =================================================================== --- head/sys/kern/init_sysent.c (revision 63986) +++ head/sys/kern/init_sysent.c (revision 63987) @@ -1,395 +1,395 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.78 2000/07/13 20:31:24 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.80 2000/07/29 00:16:26 peter Exp */ #include "opt_compat.h" #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) #ifdef COMPAT_43 #define compat(n, name) n, (sy_call_t *)__CONCAT(o,name) #else #define compat(n, name) 0, (sy_call_t *)nosys #endif /* The casts are bogus but will do for now. */ struct sysent sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = syscall */ - { AS(rexit_args), (sy_call_t *)exit }, /* 1 = exit */ + { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = sys_exit */ { 0, (sy_call_t *)fork }, /* 2 = fork */ { AS(read_args), (sy_call_t *)read }, /* 3 = read */ { AS(write_args), (sy_call_t *)write }, /* 4 = write */ { AS(open_args), (sy_call_t *)open }, /* 5 = open */ { AS(close_args), (sy_call_t *)close }, /* 6 = close */ { AS(wait_args), (sy_call_t *)wait4 }, /* 7 = wait4 */ { compat(AS(ocreat_args),creat) }, /* 8 = old creat */ { AS(link_args), (sy_call_t *)link }, /* 9 = link */ { AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */ { 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */ { AS(chdir_args), (sy_call_t *)chdir }, /* 12 = chdir */ { AS(fchdir_args), (sy_call_t *)fchdir }, /* 13 = fchdir */ { AS(mknod_args), (sy_call_t *)mknod }, /* 14 = mknod */ { AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */ { AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */ { AS(obreak_args), (sy_call_t *)obreak }, /* 17 = break */ { AS(getfsstat_args), (sy_call_t *)getfsstat }, /* 18 = getfsstat */ { compat(AS(olseek_args),lseek) }, /* 19 = old lseek */ { 0, (sy_call_t *)getpid }, /* 20 = getpid */ { AS(mount_args), (sy_call_t *)mount }, /* 21 = mount */ { AS(unmount_args), (sy_call_t *)unmount }, /* 22 = unmount */ { AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */ { SYF_MPSAFE | 0, (sy_call_t *)getuid }, /* 24 = getuid */ { SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 25 = geteuid */ { AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */ { AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 27 = recvmsg */ { AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 28 = sendmsg */ { AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */ { AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */ { AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */ { AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */ { AS(access_args), (sy_call_t *)access }, /* 33 = access */ { AS(chflags_args), (sy_call_t *)chflags }, /* 34 = chflags */ { AS(fchflags_args), (sy_call_t *)fchflags }, /* 35 = fchflags */ { 0, (sy_call_t *)sync }, /* 36 = sync */ { AS(kill_args), (sy_call_t *)kill }, /* 37 = kill */ { compat(AS(ostat_args),stat) }, /* 38 = old stat */ { 0, (sy_call_t *)getppid }, /* 39 = getppid */ { compat(AS(olstat_args),lstat) }, /* 40 = old lstat */ { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ { 0, (sy_call_t *)pipe }, /* 42 = pipe */ { 0, (sy_call_t *)getegid }, /* 43 = getegid */ { AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */ { AS(ktrace_args), (sy_call_t *)ktrace }, /* 45 = ktrace */ { compat(AS(osigaction_args),sigaction) }, /* 46 = old sigaction */ { SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */ { compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask) }, /* 48 = old sigprocmask */ { AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */ { AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */ { AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */ { compat(0,sigpending) }, /* 52 = old sigpending */ { AS(sigaltstack_args), (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */ { AS(ioctl_args), (sy_call_t *)ioctl }, /* 54 = ioctl */ { AS(reboot_args), (sy_call_t *)reboot }, /* 55 = reboot */ { AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */ { AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */ { AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */ { AS(execve_args), (sy_call_t *)execve }, /* 59 = execve */ { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ { compat(AS(ofstat_args),fstat) }, /* 62 = old fstat */ { compat(AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */ { compat(0,getpagesize) }, /* 64 = old getpagesize */ { AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */ { 0, (sy_call_t *)vfork }, /* 66 = vfork */ { 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */ { 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */ { AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */ { AS(sstk_args), (sy_call_t *)sstk }, /* 70 = sstk */ { compat(AS(ommap_args),mmap) }, /* 71 = old mmap */ { AS(ovadvise_args), (sy_call_t *)ovadvise }, /* 72 = vadvise */ { AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */ { AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */ { AS(madvise_args), (sy_call_t *)madvise }, /* 75 = madvise */ { 0, (sy_call_t *)nosys }, /* 76 = obsolete vhangup */ { 0, (sy_call_t *)nosys }, /* 77 = obsolete vlimit */ { AS(mincore_args), (sy_call_t *)mincore }, /* 78 = mincore */ { AS(getgroups_args), (sy_call_t *)getgroups }, /* 79 = getgroups */ { AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */ { SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */ { AS(setpgid_args), (sy_call_t *)setpgid }, /* 82 = setpgid */ { AS(setitimer_args), (sy_call_t *)setitimer }, /* 83 = setitimer */ { compat(0,wait) }, /* 84 = old wait */ { AS(swapon_args), (sy_call_t *)swapon }, /* 85 = swapon */ { AS(getitimer_args), (sy_call_t *)getitimer }, /* 86 = getitimer */ { compat(AS(gethostname_args),gethostname) }, /* 87 = old gethostname */ { compat(AS(sethostname_args),sethostname) }, /* 88 = old sethostname */ { 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */ { AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */ { 0, (sy_call_t *)nosys }, /* 91 = getdopt */ { AS(fcntl_args), (sy_call_t *)fcntl }, /* 92 = fcntl */ { AS(select_args), (sy_call_t *)select }, /* 93 = select */ { 0, (sy_call_t *)nosys }, /* 94 = setdopt */ { AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */ { AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */ { AS(socket_args), (sy_call_t *)socket }, /* 97 = socket */ { AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */ { compat(AS(accept_args),accept) }, /* 99 = old accept */ { AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */ { compat(AS(osend_args),send) }, /* 101 = old send */ { compat(AS(orecv_args),recv) }, /* 102 = old recv */ { compat(AS(osigreturn_args),sigreturn) }, /* 103 = old sigreturn */ { AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */ { AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */ { AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */ { 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */ { compat(AS(osigvec_args),sigvec) }, /* 108 = old sigvec */ { compat(AS(osigblock_args),sigblock) }, /* 109 = old sigblock */ { compat(AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */ { compat(AS(osigsuspend_args),sigsuspend) }, /* 111 = old sigsuspend */ { compat(AS(osigstack_args),sigstack) }, /* 112 = old sigstack */ { compat(AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */ { compat(AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */ { 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */ { AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */ { AS(getrusage_args), (sy_call_t *)getrusage }, /* 117 = getrusage */ { AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */ { 0, (sy_call_t *)nosys }, /* 119 = resuba */ { AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */ { AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */ { AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */ { AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */ { AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */ { compat(AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */ { AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */ { AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */ { AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */ { compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */ { compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */ { AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */ { AS(mkfifo_args), (sy_call_t *)mkfifo }, /* 132 = mkfifo */ { AS(sendto_args), (sy_call_t *)sendto }, /* 133 = sendto */ { AS(shutdown_args), (sy_call_t *)shutdown }, /* 134 = shutdown */ { AS(socketpair_args), (sy_call_t *)socketpair }, /* 135 = socketpair */ { AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */ { AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */ { AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */ { 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */ { AS(adjtime_args), (sy_call_t *)adjtime }, /* 140 = adjtime */ { compat(AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */ { compat(0,gethostid) }, /* 142 = old gethostid */ { compat(AS(osethostid_args),sethostid) }, /* 143 = old sethostid */ { compat(AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */ { compat(AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */ { compat(AS(okillpg_args),killpg) }, /* 146 = old killpg */ { 0, (sy_call_t *)setsid }, /* 147 = setsid */ { AS(quotactl_args), (sy_call_t *)quotactl }, /* 148 = quotactl */ { compat(0,quota) }, /* 149 = old quota */ { compat(AS(getsockname_args),getsockname) }, /* 150 = old getsockname */ { 0, (sy_call_t *)nosys }, /* 151 = sem_lock */ { 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */ { 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */ { 0, (sy_call_t *)nosys }, /* 154 = nosys */ { AS(nfssvc_args), (sy_call_t *)nosys }, /* 155 = nfssvc */ { compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */ { AS(statfs_args), (sy_call_t *)statfs }, /* 157 = statfs */ { AS(fstatfs_args), (sy_call_t *)fstatfs }, /* 158 = fstatfs */ { 0, (sy_call_t *)nosys }, /* 159 = nosys */ { 0, (sy_call_t *)nosys }, /* 160 = nosys */ { AS(getfh_args), (sy_call_t *)getfh }, /* 161 = getfh */ { AS(getdomainname_args), (sy_call_t *)getdomainname }, /* 162 = getdomainname */ { AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 163 = setdomainname */ { AS(uname_args), (sy_call_t *)uname }, /* 164 = uname */ { AS(sysarch_args), (sy_call_t *)sysarch }, /* 165 = sysarch */ { AS(rtprio_args), (sy_call_t *)rtprio }, /* 166 = rtprio */ { 0, (sy_call_t *)nosys }, /* 167 = nosys */ { 0, (sy_call_t *)nosys }, /* 168 = nosys */ { AS(semsys_args), (sy_call_t *)semsys }, /* 169 = semsys */ { AS(msgsys_args), (sy_call_t *)msgsys }, /* 170 = msgsys */ { AS(shmsys_args), (sy_call_t *)shmsys }, /* 171 = shmsys */ { 0, (sy_call_t *)nosys }, /* 172 = nosys */ { AS(pread_args), (sy_call_t *)pread }, /* 173 = pread */ { AS(pwrite_args), (sy_call_t *)pwrite }, /* 174 = pwrite */ { 0, (sy_call_t *)nosys }, /* 175 = nosys */ { AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */ { 0, (sy_call_t *)nosys }, /* 177 = sfork */ { 0, (sy_call_t *)nosys }, /* 178 = getdescriptor */ { 0, (sy_call_t *)nosys }, /* 179 = setdescriptor */ { 0, (sy_call_t *)nosys }, /* 180 = nosys */ { AS(setgid_args), (sy_call_t *)setgid }, /* 181 = setgid */ { AS(setegid_args), (sy_call_t *)setegid }, /* 182 = setegid */ { AS(seteuid_args), (sy_call_t *)seteuid }, /* 183 = seteuid */ { 0, (sy_call_t *)nosys }, /* 184 = lfs_bmapv */ { 0, (sy_call_t *)nosys }, /* 185 = lfs_markv */ { 0, (sy_call_t *)nosys }, /* 186 = lfs_segclean */ { 0, (sy_call_t *)nosys }, /* 187 = lfs_segwait */ { AS(stat_args), (sy_call_t *)stat }, /* 188 = stat */ { AS(fstat_args), (sy_call_t *)fstat }, /* 189 = fstat */ { AS(lstat_args), (sy_call_t *)lstat }, /* 190 = lstat */ { AS(pathconf_args), (sy_call_t *)pathconf }, /* 191 = pathconf */ { AS(fpathconf_args), (sy_call_t *)fpathconf }, /* 192 = fpathconf */ { 0, (sy_call_t *)nosys }, /* 193 = nosys */ { AS(__getrlimit_args), (sy_call_t *)getrlimit }, /* 194 = getrlimit */ { AS(__setrlimit_args), (sy_call_t *)setrlimit }, /* 195 = setrlimit */ { AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 196 = getdirentries */ { AS(mmap_args), (sy_call_t *)mmap }, /* 197 = mmap */ { 0, (sy_call_t *)nosys }, /* 198 = __syscall */ { AS(lseek_args), (sy_call_t *)lseek }, /* 199 = lseek */ { AS(truncate_args), (sy_call_t *)truncate }, /* 200 = truncate */ { AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 201 = ftruncate */ { AS(sysctl_args), (sy_call_t *)__sysctl }, /* 202 = __sysctl */ { AS(mlock_args), (sy_call_t *)mlock }, /* 203 = mlock */ { AS(munlock_args), (sy_call_t *)munlock }, /* 204 = munlock */ { AS(undelete_args), (sy_call_t *)undelete }, /* 205 = undelete */ { AS(futimes_args), (sy_call_t *)futimes }, /* 206 = futimes */ { AS(getpgid_args), (sy_call_t *)getpgid }, /* 207 = getpgid */ { 0, (sy_call_t *)nosys }, /* 208 = newreboot */ { AS(poll_args), (sy_call_t *)poll }, /* 209 = poll */ { 0, (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */ { 0, (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */ { AS(__semctl_args), (sy_call_t *)__semctl }, /* 220 = __semctl */ { AS(semget_args), (sy_call_t *)semget }, /* 221 = semget */ { AS(semop_args), (sy_call_t *)semop }, /* 222 = semop */ { 0, (sy_call_t *)nosys }, /* 223 = semconfig */ { AS(msgctl_args), (sy_call_t *)msgctl }, /* 224 = msgctl */ { AS(msgget_args), (sy_call_t *)msgget }, /* 225 = msgget */ { AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 226 = msgsnd */ { AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 227 = msgrcv */ { AS(shmat_args), (sy_call_t *)shmat }, /* 228 = shmat */ { AS(shmctl_args), (sy_call_t *)shmctl }, /* 229 = shmctl */ { AS(shmdt_args), (sy_call_t *)shmdt }, /* 230 = shmdt */ { AS(shmget_args), (sy_call_t *)shmget }, /* 231 = shmget */ { AS(clock_gettime_args), (sy_call_t *)clock_gettime }, /* 232 = clock_gettime */ { AS(clock_settime_args), (sy_call_t *)clock_settime }, /* 233 = clock_settime */ { AS(clock_getres_args), (sy_call_t *)clock_getres }, /* 234 = clock_getres */ { 0, (sy_call_t *)nosys }, /* 235 = timer_create */ { 0, (sy_call_t *)nosys }, /* 236 = timer_delete */ { 0, (sy_call_t *)nosys }, /* 237 = timer_settime */ { 0, (sy_call_t *)nosys }, /* 238 = timer_gettime */ { 0, (sy_call_t *)nosys }, /* 239 = timer_getoverrun */ { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 240 = nanosleep */ { 0, (sy_call_t *)nosys }, /* 241 = nosys */ { 0, (sy_call_t *)nosys }, /* 242 = nosys */ { 0, (sy_call_t *)nosys }, /* 243 = nosys */ { 0, (sy_call_t *)nosys }, /* 244 = nosys */ { 0, (sy_call_t *)nosys }, /* 245 = nosys */ { 0, (sy_call_t *)nosys }, /* 246 = nosys */ { 0, (sy_call_t *)nosys }, /* 247 = nosys */ { 0, (sy_call_t *)nosys }, /* 248 = nosys */ { 0, (sy_call_t *)nosys }, /* 249 = nosys */ { AS(minherit_args), (sy_call_t *)minherit }, /* 250 = minherit */ { AS(rfork_args), (sy_call_t *)rfork }, /* 251 = rfork */ { AS(openbsd_poll_args), (sy_call_t *)openbsd_poll }, /* 252 = openbsd_poll */ { 0, (sy_call_t *)issetugid }, /* 253 = issetugid */ { AS(lchown_args), (sy_call_t *)lchown }, /* 254 = lchown */ { 0, (sy_call_t *)nosys }, /* 255 = nosys */ { 0, (sy_call_t *)nosys }, /* 256 = nosys */ { 0, (sy_call_t *)nosys }, /* 257 = nosys */ { 0, (sy_call_t *)nosys }, /* 258 = nosys */ { 0, (sy_call_t *)nosys }, /* 259 = nosys */ { 0, (sy_call_t *)nosys }, /* 260 = nosys */ { 0, (sy_call_t *)nosys }, /* 261 = nosys */ { 0, (sy_call_t *)nosys }, /* 262 = nosys */ { 0, (sy_call_t *)nosys }, /* 263 = nosys */ { 0, (sy_call_t *)nosys }, /* 264 = nosys */ { 0, (sy_call_t *)nosys }, /* 265 = nosys */ { 0, (sy_call_t *)nosys }, /* 266 = nosys */ { 0, (sy_call_t *)nosys }, /* 267 = nosys */ { 0, (sy_call_t *)nosys }, /* 268 = nosys */ { 0, (sy_call_t *)nosys }, /* 269 = nosys */ { 0, (sy_call_t *)nosys }, /* 270 = nosys */ { 0, (sy_call_t *)nosys }, /* 271 = nosys */ { AS(getdents_args), (sy_call_t *)getdents }, /* 272 = getdents */ { 0, (sy_call_t *)nosys }, /* 273 = nosys */ { AS(lchmod_args), (sy_call_t *)lchmod }, /* 274 = lchmod */ { AS(lchown_args), (sy_call_t *)lchown }, /* 275 = netbsd_lchown */ { AS(lutimes_args), (sy_call_t *)lutimes }, /* 276 = lutimes */ { AS(msync_args), (sy_call_t *)msync }, /* 277 = netbsd_msync */ { AS(nstat_args), (sy_call_t *)nstat }, /* 278 = nstat */ { AS(nfstat_args), (sy_call_t *)nfstat }, /* 279 = nfstat */ { AS(nlstat_args), (sy_call_t *)nlstat }, /* 280 = nlstat */ { 0, (sy_call_t *)nosys }, /* 281 = nosys */ { 0, (sy_call_t *)nosys }, /* 282 = nosys */ { 0, (sy_call_t *)nosys }, /* 283 = nosys */ { 0, (sy_call_t *)nosys }, /* 284 = nosys */ { 0, (sy_call_t *)nosys }, /* 285 = nosys */ { 0, (sy_call_t *)nosys }, /* 286 = nosys */ { 0, (sy_call_t *)nosys }, /* 287 = nosys */ { 0, (sy_call_t *)nosys }, /* 288 = nosys */ { 0, (sy_call_t *)nosys }, /* 289 = nosys */ { 0, (sy_call_t *)nosys }, /* 290 = nosys */ { 0, (sy_call_t *)nosys }, /* 291 = nosys */ { 0, (sy_call_t *)nosys }, /* 292 = nosys */ { 0, (sy_call_t *)nosys }, /* 293 = nosys */ { 0, (sy_call_t *)nosys }, /* 294 = nosys */ { 0, (sy_call_t *)nosys }, /* 295 = nosys */ { 0, (sy_call_t *)nosys }, /* 296 = nosys */ { AS(fhstatfs_args), (sy_call_t *)fhstatfs }, /* 297 = fhstatfs */ { AS(fhopen_args), (sy_call_t *)fhopen }, /* 298 = fhopen */ { AS(fhstat_args), (sy_call_t *)fhstat }, /* 299 = fhstat */ { AS(modnext_args), (sy_call_t *)modnext }, /* 300 = modnext */ { AS(modstat_args), (sy_call_t *)modstat }, /* 301 = modstat */ { AS(modfnext_args), (sy_call_t *)modfnext }, /* 302 = modfnext */ { AS(modfind_args), (sy_call_t *)modfind }, /* 303 = modfind */ { AS(kldload_args), (sy_call_t *)kldload }, /* 304 = kldload */ { AS(kldunload_args), (sy_call_t *)kldunload }, /* 305 = kldunload */ { AS(kldfind_args), (sy_call_t *)kldfind }, /* 306 = kldfind */ { AS(kldnext_args), (sy_call_t *)kldnext }, /* 307 = kldnext */ { AS(kldstat_args), (sy_call_t *)kldstat }, /* 308 = kldstat */ { AS(kldfirstmod_args), (sy_call_t *)kldfirstmod }, /* 309 = kldfirstmod */ { AS(getsid_args), (sy_call_t *)getsid }, /* 310 = getsid */ { AS(setresuid_args), (sy_call_t *)setresuid }, /* 311 = setresuid */ { AS(setresgid_args), (sy_call_t *)setresgid }, /* 312 = setresgid */ { 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */ { AS(aio_return_args), (sy_call_t *)aio_return }, /* 314 = aio_return */ { AS(aio_suspend_args), (sy_call_t *)aio_suspend }, /* 315 = aio_suspend */ { AS(aio_cancel_args), (sy_call_t *)aio_cancel }, /* 316 = aio_cancel */ { AS(aio_error_args), (sy_call_t *)aio_error }, /* 317 = aio_error */ { AS(aio_read_args), (sy_call_t *)aio_read }, /* 318 = aio_read */ { AS(aio_write_args), (sy_call_t *)aio_write }, /* 319 = aio_write */ { AS(lio_listio_args), (sy_call_t *)lio_listio }, /* 320 = lio_listio */ { 0, (sy_call_t *)yield }, /* 321 = yield */ { AS(thr_sleep_args), (sy_call_t *)thr_sleep }, /* 322 = thr_sleep */ { AS(thr_wakeup_args), (sy_call_t *)thr_wakeup }, /* 323 = thr_wakeup */ { AS(mlockall_args), (sy_call_t *)mlockall }, /* 324 = mlockall */ { 0, (sy_call_t *)munlockall }, /* 325 = munlockall */ { AS(__getcwd_args), (sy_call_t *)__getcwd }, /* 326 = __getcwd */ { AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 327 = sched_setparam */ { AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 328 = sched_getparam */ { AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler }, /* 329 = sched_setscheduler */ { AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler }, /* 330 = sched_getscheduler */ { 0, (sy_call_t *)sched_yield }, /* 331 = sched_yield */ { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 332 = sched_get_priority_max */ { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */ { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 334 = sched_rr_get_interval */ { AS(utrace_args), (sy_call_t *)utrace }, /* 335 = utrace */ { AS(sendfile_args), (sy_call_t *)sendfile }, /* 336 = sendfile */ { AS(kldsym_args), (sy_call_t *)kldsym }, /* 337 = kldsym */ { AS(jail_args), (sy_call_t *)jail }, /* 338 = jail */ { 0, (sy_call_t *)nosys }, /* 339 = pioctl */ { SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask }, /* 340 = sigprocmask */ { AS(sigsuspend_args), (sy_call_t *)sigsuspend }, /* 341 = sigsuspend */ { AS(sigaction_args), (sy_call_t *)sigaction }, /* 342 = sigaction */ { AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */ { AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */ { 0, (sy_call_t *)nosys }, /* 345 = sigtimedwait */ { 0, (sy_call_t *)nosys }, /* 346 = sigwaitinfo */ { AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */ { AS(__acl_set_file_args), (sy_call_t *)__acl_set_file }, /* 348 = __acl_set_file */ { AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd }, /* 349 = __acl_get_fd */ { AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd }, /* 350 = __acl_set_fd */ { AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file }, /* 351 = __acl_delete_file */ { AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd }, /* 352 = __acl_delete_fd */ { AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file }, /* 353 = __acl_aclcheck_file */ { AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd }, /* 354 = __acl_aclcheck_fd */ { AS(extattrctl_args), (sy_call_t *)extattrctl }, /* 355 = extattrctl */ { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file }, /* 356 = extattr_set_file */ { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */ { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */ { AS(aio_waitcomplete_args), (sy_call_t *)aio_waitcomplete }, /* 359 = aio_waitcomplete */ { AS(getresuid_args), (sy_call_t *)getresuid }, /* 360 = getresuid */ { AS(getresgid_args), (sy_call_t *)getresgid }, /* 361 = getresgid */ { 0, (sy_call_t *)kqueue }, /* 362 = kqueue */ { AS(kevent_args), (sy_call_t *)kevent }, /* 363 = kevent */ { AS(__cap_get_proc_args), (sy_call_t *)__cap_get_proc }, /* 364 = __cap_get_proc */ { AS(__cap_set_proc_args), (sy_call_t *)__cap_set_proc }, /* 365 = __cap_set_proc */ { AS(__cap_get_fd_args), (sy_call_t *)__cap_get_fd }, /* 366 = __cap_get_fd */ { AS(__cap_get_file_args), (sy_call_t *)__cap_get_file }, /* 367 = __cap_get_file */ { AS(__cap_set_fd_args), (sy_call_t *)__cap_set_fd }, /* 368 = __cap_set_fd */ { AS(__cap_set_file_args), (sy_call_t *)__cap_set_file }, /* 369 = __cap_set_file */ }; Index: head/sys/kern/syscalls.c =================================================================== --- head/sys/kern/syscalls.c (revision 63986) +++ head/sys/kern/syscalls.c (revision 63987) @@ -1,380 +1,380 @@ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.78 2000/07/13 20:31:24 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.80 2000/07/29 00:16:26 peter Exp */ char *syscallnames[] = { "syscall", /* 0 = syscall */ - "exit", /* 1 = exit */ + "sys_exit", /* 1 = sys_exit */ "fork", /* 2 = fork */ "read", /* 3 = read */ "write", /* 4 = write */ "open", /* 5 = open */ "close", /* 6 = close */ "wait4", /* 7 = wait4 */ "old.creat", /* 8 = old creat */ "link", /* 9 = link */ "unlink", /* 10 = unlink */ "obs_execv", /* 11 = obsolete execv */ "chdir", /* 12 = chdir */ "fchdir", /* 13 = fchdir */ "mknod", /* 14 = mknod */ "chmod", /* 15 = chmod */ "chown", /* 16 = chown */ "break", /* 17 = break */ "getfsstat", /* 18 = getfsstat */ "old.lseek", /* 19 = old lseek */ "getpid", /* 20 = getpid */ "mount", /* 21 = mount */ "unmount", /* 22 = unmount */ "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "geteuid", /* 25 = geteuid */ "ptrace", /* 26 = ptrace */ "recvmsg", /* 27 = recvmsg */ "sendmsg", /* 28 = sendmsg */ "recvfrom", /* 29 = recvfrom */ "accept", /* 30 = accept */ "getpeername", /* 31 = getpeername */ "getsockname", /* 32 = getsockname */ "access", /* 33 = access */ "chflags", /* 34 = chflags */ "fchflags", /* 35 = fchflags */ "sync", /* 36 = sync */ "kill", /* 37 = kill */ "old.stat", /* 38 = old stat */ "getppid", /* 39 = getppid */ "old.lstat", /* 40 = old lstat */ "dup", /* 41 = dup */ "pipe", /* 42 = pipe */ "getegid", /* 43 = getegid */ "profil", /* 44 = profil */ "ktrace", /* 45 = ktrace */ "old.sigaction", /* 46 = old sigaction */ "getgid", /* 47 = getgid */ "old.sigprocmask", /* 48 = old sigprocmask */ "getlogin", /* 49 = getlogin */ "setlogin", /* 50 = setlogin */ "acct", /* 51 = acct */ "old.sigpending", /* 52 = old sigpending */ "sigaltstack", /* 53 = sigaltstack */ "ioctl", /* 54 = ioctl */ "reboot", /* 55 = reboot */ "revoke", /* 56 = revoke */ "symlink", /* 57 = symlink */ "readlink", /* 58 = readlink */ "execve", /* 59 = execve */ "umask", /* 60 = umask */ "chroot", /* 61 = chroot */ "old.fstat", /* 62 = old fstat */ "old.getkerninfo", /* 63 = old getkerninfo */ "old.getpagesize", /* 64 = old getpagesize */ "msync", /* 65 = msync */ "vfork", /* 66 = vfork */ "obs_vread", /* 67 = obsolete vread */ "obs_vwrite", /* 68 = obsolete vwrite */ "sbrk", /* 69 = sbrk */ "sstk", /* 70 = sstk */ "old.mmap", /* 71 = old mmap */ "vadvise", /* 72 = vadvise */ "munmap", /* 73 = munmap */ "mprotect", /* 74 = mprotect */ "madvise", /* 75 = madvise */ "obs_vhangup", /* 76 = obsolete vhangup */ "obs_vlimit", /* 77 = obsolete vlimit */ "mincore", /* 78 = mincore */ "getgroups", /* 79 = getgroups */ "setgroups", /* 80 = setgroups */ "getpgrp", /* 81 = getpgrp */ "setpgid", /* 82 = setpgid */ "setitimer", /* 83 = setitimer */ "old.wait", /* 84 = old wait */ "swapon", /* 85 = swapon */ "getitimer", /* 86 = getitimer */ "old.gethostname", /* 87 = old gethostname */ "old.sethostname", /* 88 = old sethostname */ "getdtablesize", /* 89 = getdtablesize */ "dup2", /* 90 = dup2 */ "#91", /* 91 = getdopt */ "fcntl", /* 92 = fcntl */ "select", /* 93 = select */ "#94", /* 94 = setdopt */ "fsync", /* 95 = fsync */ "setpriority", /* 96 = setpriority */ "socket", /* 97 = socket */ "connect", /* 98 = connect */ "old.accept", /* 99 = old accept */ "getpriority", /* 100 = getpriority */ "old.send", /* 101 = old send */ "old.recv", /* 102 = old recv */ "old.sigreturn", /* 103 = old sigreturn */ "bind", /* 104 = bind */ "setsockopt", /* 105 = setsockopt */ "listen", /* 106 = listen */ "obs_vtimes", /* 107 = obsolete vtimes */ "old.sigvec", /* 108 = old sigvec */ "old.sigblock", /* 109 = old sigblock */ "old.sigsetmask", /* 110 = old sigsetmask */ "old.sigsuspend", /* 111 = old sigsuspend */ "old.sigstack", /* 112 = old sigstack */ "old.recvmsg", /* 113 = old recvmsg */ "old.sendmsg", /* 114 = old sendmsg */ "obs_vtrace", /* 115 = obsolete vtrace */ "gettimeofday", /* 116 = gettimeofday */ "getrusage", /* 117 = getrusage */ "getsockopt", /* 118 = getsockopt */ "#119", /* 119 = resuba */ "readv", /* 120 = readv */ "writev", /* 121 = writev */ "settimeofday", /* 122 = settimeofday */ "fchown", /* 123 = fchown */ "fchmod", /* 124 = fchmod */ "old.recvfrom", /* 125 = old recvfrom */ "setreuid", /* 126 = setreuid */ "setregid", /* 127 = setregid */ "rename", /* 128 = rename */ "old.truncate", /* 129 = old truncate */ "old.ftruncate", /* 130 = old ftruncate */ "flock", /* 131 = flock */ "mkfifo", /* 132 = mkfifo */ "sendto", /* 133 = sendto */ "shutdown", /* 134 = shutdown */ "socketpair", /* 135 = socketpair */ "mkdir", /* 136 = mkdir */ "rmdir", /* 137 = rmdir */ "utimes", /* 138 = utimes */ "obs_4.2", /* 139 = obsolete 4.2 sigreturn */ "adjtime", /* 140 = adjtime */ "old.getpeername", /* 141 = old getpeername */ "old.gethostid", /* 142 = old gethostid */ "old.sethostid", /* 143 = old sethostid */ "old.getrlimit", /* 144 = old getrlimit */ "old.setrlimit", /* 145 = old setrlimit */ "old.killpg", /* 146 = old killpg */ "setsid", /* 147 = setsid */ "quotactl", /* 148 = quotactl */ "old.quota", /* 149 = old quota */ "old.getsockname", /* 150 = old getsockname */ "#151", /* 151 = sem_lock */ "#152", /* 152 = sem_wakeup */ "#153", /* 153 = asyncdaemon */ "#154", /* 154 = nosys */ "nfssvc", /* 155 = nfssvc */ "old.getdirentries", /* 156 = old getdirentries */ "statfs", /* 157 = statfs */ "fstatfs", /* 158 = fstatfs */ "#159", /* 159 = nosys */ "#160", /* 160 = nosys */ "getfh", /* 161 = getfh */ "getdomainname", /* 162 = getdomainname */ "setdomainname", /* 163 = setdomainname */ "uname", /* 164 = uname */ "sysarch", /* 165 = sysarch */ "rtprio", /* 166 = rtprio */ "#167", /* 167 = nosys */ "#168", /* 168 = nosys */ "semsys", /* 169 = semsys */ "msgsys", /* 170 = msgsys */ "shmsys", /* 171 = shmsys */ "#172", /* 172 = nosys */ "pread", /* 173 = pread */ "pwrite", /* 174 = pwrite */ "#175", /* 175 = nosys */ "ntp_adjtime", /* 176 = ntp_adjtime */ "#177", /* 177 = sfork */ "#178", /* 178 = getdescriptor */ "#179", /* 179 = setdescriptor */ "#180", /* 180 = nosys */ "setgid", /* 181 = setgid */ "setegid", /* 182 = setegid */ "seteuid", /* 183 = seteuid */ "#184", /* 184 = lfs_bmapv */ "#185", /* 185 = lfs_markv */ "#186", /* 186 = lfs_segclean */ "#187", /* 187 = lfs_segwait */ "stat", /* 188 = stat */ "fstat", /* 189 = fstat */ "lstat", /* 190 = lstat */ "pathconf", /* 191 = pathconf */ "fpathconf", /* 192 = fpathconf */ "#193", /* 193 = nosys */ "getrlimit", /* 194 = getrlimit */ "setrlimit", /* 195 = setrlimit */ "getdirentries", /* 196 = getdirentries */ "mmap", /* 197 = mmap */ "__syscall", /* 198 = __syscall */ "lseek", /* 199 = lseek */ "truncate", /* 200 = truncate */ "ftruncate", /* 201 = ftruncate */ "__sysctl", /* 202 = __sysctl */ "mlock", /* 203 = mlock */ "munlock", /* 204 = munlock */ "undelete", /* 205 = undelete */ "futimes", /* 206 = futimes */ "getpgid", /* 207 = getpgid */ "#208", /* 208 = newreboot */ "poll", /* 209 = poll */ "lkmnosys", /* 210 = lkmnosys */ "lkmnosys", /* 211 = lkmnosys */ "lkmnosys", /* 212 = lkmnosys */ "lkmnosys", /* 213 = lkmnosys */ "lkmnosys", /* 214 = lkmnosys */ "lkmnosys", /* 215 = lkmnosys */ "lkmnosys", /* 216 = lkmnosys */ "lkmnosys", /* 217 = lkmnosys */ "lkmnosys", /* 218 = lkmnosys */ "lkmnosys", /* 219 = lkmnosys */ "__semctl", /* 220 = __semctl */ "semget", /* 221 = semget */ "semop", /* 222 = semop */ "#223", /* 223 = semconfig */ "msgctl", /* 224 = msgctl */ "msgget", /* 225 = msgget */ "msgsnd", /* 226 = msgsnd */ "msgrcv", /* 227 = msgrcv */ "shmat", /* 228 = shmat */ "shmctl", /* 229 = shmctl */ "shmdt", /* 230 = shmdt */ "shmget", /* 231 = shmget */ "clock_gettime", /* 232 = clock_gettime */ "clock_settime", /* 233 = clock_settime */ "clock_getres", /* 234 = clock_getres */ "#235", /* 235 = timer_create */ "#236", /* 236 = timer_delete */ "#237", /* 237 = timer_settime */ "#238", /* 238 = timer_gettime */ "#239", /* 239 = timer_getoverrun */ "nanosleep", /* 240 = nanosleep */ "#241", /* 241 = nosys */ "#242", /* 242 = nosys */ "#243", /* 243 = nosys */ "#244", /* 244 = nosys */ "#245", /* 245 = nosys */ "#246", /* 246 = nosys */ "#247", /* 247 = nosys */ "#248", /* 248 = nosys */ "#249", /* 249 = nosys */ "minherit", /* 250 = minherit */ "rfork", /* 251 = rfork */ "openbsd_poll", /* 252 = openbsd_poll */ "issetugid", /* 253 = issetugid */ "lchown", /* 254 = lchown */ "#255", /* 255 = nosys */ "#256", /* 256 = nosys */ "#257", /* 257 = nosys */ "#258", /* 258 = nosys */ "#259", /* 259 = nosys */ "#260", /* 260 = nosys */ "#261", /* 261 = nosys */ "#262", /* 262 = nosys */ "#263", /* 263 = nosys */ "#264", /* 264 = nosys */ "#265", /* 265 = nosys */ "#266", /* 266 = nosys */ "#267", /* 267 = nosys */ "#268", /* 268 = nosys */ "#269", /* 269 = nosys */ "#270", /* 270 = nosys */ "#271", /* 271 = nosys */ "getdents", /* 272 = getdents */ "#273", /* 273 = nosys */ "lchmod", /* 274 = lchmod */ "netbsd_lchown", /* 275 = netbsd_lchown */ "lutimes", /* 276 = lutimes */ "netbsd_msync", /* 277 = netbsd_msync */ "nstat", /* 278 = nstat */ "nfstat", /* 279 = nfstat */ "nlstat", /* 280 = nlstat */ "#281", /* 281 = nosys */ "#282", /* 282 = nosys */ "#283", /* 283 = nosys */ "#284", /* 284 = nosys */ "#285", /* 285 = nosys */ "#286", /* 286 = nosys */ "#287", /* 287 = nosys */ "#288", /* 288 = nosys */ "#289", /* 289 = nosys */ "#290", /* 290 = nosys */ "#291", /* 291 = nosys */ "#292", /* 292 = nosys */ "#293", /* 293 = nosys */ "#294", /* 294 = nosys */ "#295", /* 295 = nosys */ "#296", /* 296 = nosys */ "fhstatfs", /* 297 = fhstatfs */ "fhopen", /* 298 = fhopen */ "fhstat", /* 299 = fhstat */ "modnext", /* 300 = modnext */ "modstat", /* 301 = modstat */ "modfnext", /* 302 = modfnext */ "modfind", /* 303 = modfind */ "kldload", /* 304 = kldload */ "kldunload", /* 305 = kldunload */ "kldfind", /* 306 = kldfind */ "kldnext", /* 307 = kldnext */ "kldstat", /* 308 = kldstat */ "kldfirstmod", /* 309 = kldfirstmod */ "getsid", /* 310 = getsid */ "setresuid", /* 311 = setresuid */ "setresgid", /* 312 = setresgid */ "obs_signanosleep", /* 313 = obsolete signanosleep */ "aio_return", /* 314 = aio_return */ "aio_suspend", /* 315 = aio_suspend */ "aio_cancel", /* 316 = aio_cancel */ "aio_error", /* 317 = aio_error */ "aio_read", /* 318 = aio_read */ "aio_write", /* 319 = aio_write */ "lio_listio", /* 320 = lio_listio */ "yield", /* 321 = yield */ "thr_sleep", /* 322 = thr_sleep */ "thr_wakeup", /* 323 = thr_wakeup */ "mlockall", /* 324 = mlockall */ "munlockall", /* 325 = munlockall */ "__getcwd", /* 326 = __getcwd */ "sched_setparam", /* 327 = sched_setparam */ "sched_getparam", /* 328 = sched_getparam */ "sched_setscheduler", /* 329 = sched_setscheduler */ "sched_getscheduler", /* 330 = sched_getscheduler */ "sched_yield", /* 331 = sched_yield */ "sched_get_priority_max", /* 332 = sched_get_priority_max */ "sched_get_priority_min", /* 333 = sched_get_priority_min */ "sched_rr_get_interval", /* 334 = sched_rr_get_interval */ "utrace", /* 335 = utrace */ "sendfile", /* 336 = sendfile */ "kldsym", /* 337 = kldsym */ "jail", /* 338 = jail */ "#339", /* 339 = pioctl */ "sigprocmask", /* 340 = sigprocmask */ "sigsuspend", /* 341 = sigsuspend */ "sigaction", /* 342 = sigaction */ "sigpending", /* 343 = sigpending */ "sigreturn", /* 344 = sigreturn */ "#345", /* 345 = sigtimedwait */ "#346", /* 346 = sigwaitinfo */ "__acl_get_file", /* 347 = __acl_get_file */ "__acl_set_file", /* 348 = __acl_set_file */ "__acl_get_fd", /* 349 = __acl_get_fd */ "__acl_set_fd", /* 350 = __acl_set_fd */ "__acl_delete_file", /* 351 = __acl_delete_file */ "__acl_delete_fd", /* 352 = __acl_delete_fd */ "__acl_aclcheck_file", /* 353 = __acl_aclcheck_file */ "__acl_aclcheck_fd", /* 354 = __acl_aclcheck_fd */ "extattrctl", /* 355 = extattrctl */ "extattr_set_file", /* 356 = extattr_set_file */ "extattr_get_file", /* 357 = extattr_get_file */ "extattr_delete_file", /* 358 = extattr_delete_file */ "aio_waitcomplete", /* 359 = aio_waitcomplete */ "getresuid", /* 360 = getresuid */ "getresgid", /* 361 = getresgid */ "kqueue", /* 362 = kqueue */ "kevent", /* 363 = kevent */ "__cap_get_proc", /* 364 = __cap_get_proc */ "__cap_set_proc", /* 365 = __cap_set_proc */ "__cap_get_fd", /* 366 = __cap_get_fd */ "__cap_get_file", /* 367 = __cap_get_file */ "__cap_set_fd", /* 368 = __cap_set_fd */ "__cap_set_file", /* 369 = __cap_set_file */ }; Index: head/sys/svr4/svr4_proto.h =================================================================== --- head/sys/svr4/svr4_proto.h (revision 63986) +++ head/sys/svr4/svr4_proto.h (revision 63987) @@ -1,475 +1,475 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ #ifndef _SVR4_SYSPROTO_H_ #define _SVR4_SYSPROTO_H_ #include #include struct proc; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) struct svr4_sys_open_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_wait_args { int * status; char status_[PAD_(int *)]; }; struct svr4_sys_creat_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_execv_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; }; struct svr4_sys_time_args { time_t * t; char t_[PAD_(time_t *)]; }; struct svr4_sys_mknod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; int dev; char dev_[PAD_(int)]; }; struct svr4_sys_break_args { caddr_t nsize; char nsize_[PAD_(caddr_t)]; }; struct svr4_sys_stat_args { char * path; char path_[PAD_(char *)]; struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; }; struct svr4_sys_alarm_args { unsigned sec; char sec_[PAD_(unsigned)]; }; struct svr4_sys_fstat_args { int fd; char fd_[PAD_(int)]; struct svr4_stat * sb; char sb_[PAD_(struct svr4_stat *)]; }; struct svr4_sys_pause_args { register_t dummy; }; struct svr4_sys_utime_args { char * path; char path_[PAD_(char *)]; struct svr4_utimbuf * ubuf; char ubuf_[PAD_(struct svr4_utimbuf *)]; }; struct svr4_sys_access_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_nice_args { int prio; char prio_[PAD_(int)]; }; struct svr4_sys_kill_args { int pid; char pid_[PAD_(int)]; int signum; char signum_[PAD_(int)]; }; struct svr4_sys_pgrpsys_args { int cmd; char cmd_[PAD_(int)]; int pid; char pid_[PAD_(int)]; int pgid; char pgid_[PAD_(int)]; }; struct svr4_sys_times_args { struct tms * tp; char tp_[PAD_(struct tms *)]; }; struct svr4_sys_signal_args { int signum; char signum_[PAD_(int)]; svr4_sig_t handler; char handler_[PAD_(svr4_sig_t)]; }; #if defined(NOTYET) struct svr4_sys_msgsys_args { int what; char what_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; #else #endif struct svr4_sys_sysarch_args { int op; char op_[PAD_(int)]; void * a1; char a1_[PAD_(void *)]; }; struct svr4_sys_ioctl_args { int fd; char fd_[PAD_(int)]; u_long com; char com_[PAD_(u_long)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct svr4_sys_utssys_args { void * a1; char a1_[PAD_(void *)]; void * a2; char a2_[PAD_(void *)]; int sel; char sel_[PAD_(int)]; void * a3; char a3_[PAD_(void *)]; }; struct svr4_sys_execve_args { char * path; char path_[PAD_(char *)]; char ** argp; char argp_[PAD_(char **)]; char ** envp; char envp_[PAD_(char **)]; }; struct svr4_sys_fcntl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; char * arg; char arg_[PAD_(char *)]; }; struct svr4_sys_ulimit_args { int cmd; char cmd_[PAD_(int)]; long newlimit; char newlimit_[PAD_(long)]; }; struct svr4_sys_getdents_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; int nbytes; char nbytes_[PAD_(int)]; }; struct svr4_sys_getmsg_args { int fd; char fd_[PAD_(int)]; struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; int * flags; char flags_[PAD_(int *)]; }; struct svr4_sys_putmsg_args { int fd; char fd_[PAD_(int)]; struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_poll_args { struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; unsigned int nfds; char nfds_[PAD_(unsigned int)]; int timeout; char timeout_[PAD_(int)]; }; struct svr4_sys_lstat_args { char * path; char path_[PAD_(char *)]; struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; }; struct svr4_sys_sigprocmask_args { int how; char how_[PAD_(int)]; svr4_sigset_t * set; char set_[PAD_(svr4_sigset_t *)]; svr4_sigset_t * oset; char oset_[PAD_(svr4_sigset_t *)]; }; struct svr4_sys_sigsuspend_args { svr4_sigset_t * ss; char ss_[PAD_(svr4_sigset_t *)]; }; struct svr4_sys_sigaltstack_args { struct svr4_sigaltstack * nss; char nss_[PAD_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * oss; char oss_[PAD_(struct svr4_sigaltstack *)]; }; struct svr4_sys_sigaction_args { int signum; char signum_[PAD_(int)]; struct svr4_sigaction * nsa; char nsa_[PAD_(struct svr4_sigaction *)]; struct svr4_sigaction * osa; char osa_[PAD_(struct svr4_sigaction *)]; }; struct svr4_sys_sigpending_args { int what; char what_[PAD_(int)]; svr4_sigset_t * mask; char mask_[PAD_(svr4_sigset_t *)]; }; struct svr4_sys_context_args { int func; char func_[PAD_(int)]; struct svr4_ucontext * uc; char uc_[PAD_(struct svr4_ucontext *)]; }; struct svr4_sys_statvfs_args { char * path; char path_[PAD_(char *)]; struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; }; struct svr4_sys_fstatvfs_args { int fd; char fd_[PAD_(int)]; struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; }; struct svr4_sys_waitsys_args { int grp; char grp_[PAD_(int)]; int id; char id_[PAD_(int)]; union svr4_siginfo * info; char info_[PAD_(union svr4_siginfo *)]; int options; char options_[PAD_(int)]; }; struct svr4_sys_hrtsys_args { int cmd; char cmd_[PAD_(int)]; int fun; char fun_[PAD_(int)]; int sub; char sub_[PAD_(int)]; void * rv1; char rv1_[PAD_(void *)]; void * rv2; char rv2_[PAD_(void *)]; }; struct svr4_sys_pathconf_args { char * path; char path_[PAD_(char *)]; int name; char name_[PAD_(int)]; }; struct svr4_sys_mmap_args { caddr_t addr; char addr_[PAD_(caddr_t)]; svr4_size_t len; char len_[PAD_(svr4_size_t)]; int prot; char prot_[PAD_(int)]; int flags; char flags_[PAD_(int)]; int fd; char fd_[PAD_(int)]; svr4_off_t pos; char pos_[PAD_(svr4_off_t)]; }; struct svr4_sys_fpathconf_args { int fd; char fd_[PAD_(int)]; int name; char name_[PAD_(int)]; }; struct svr4_sys_xstat_args { int two; char two_[PAD_(int)]; char * path; char path_[PAD_(char *)]; struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; }; struct svr4_sys_lxstat_args { int two; char two_[PAD_(int)]; char * path; char path_[PAD_(char *)]; struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; }; struct svr4_sys_fxstat_args { int two; char two_[PAD_(int)]; int fd; char fd_[PAD_(int)]; struct svr4_xstat * sb; char sb_[PAD_(struct svr4_xstat *)]; }; struct svr4_sys_xmknod_args { int two; char two_[PAD_(int)]; char * path; char path_[PAD_(char *)]; svr4_mode_t mode; char mode_[PAD_(svr4_mode_t)]; svr4_dev_t dev; char dev_[PAD_(svr4_dev_t)]; }; struct svr4_sys_setrlimit_args { int which; char which_[PAD_(int)]; const struct svr4_rlimit * rlp; char rlp_[PAD_(const struct svr4_rlimit *)]; }; struct svr4_sys_getrlimit_args { int which; char which_[PAD_(int)]; struct svr4_rlimit * rlp; char rlp_[PAD_(struct svr4_rlimit *)]; }; struct svr4_sys_memcntl_args { void * addr; char addr_[PAD_(void *)]; svr4_size_t len; char len_[PAD_(svr4_size_t)]; int cmd; char cmd_[PAD_(int)]; void * arg; char arg_[PAD_(void *)]; int attr; char attr_[PAD_(int)]; int mask; char mask_[PAD_(int)]; }; struct svr4_sys_uname_args { struct svr4_utsname * name; char name_[PAD_(struct svr4_utsname *)]; int dummy; char dummy_[PAD_(int)]; }; struct svr4_sys_sysconfig_args { int name; char name_[PAD_(int)]; }; struct svr4_sys_systeminfo_args { int what; char what_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; long len; char len_[PAD_(long)]; }; struct svr4_sys_fchroot_args { int fd; char fd_[PAD_(int)]; }; struct svr4_sys_utimes_args { char * path; char path_[PAD_(char *)]; struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; }; struct svr4_sys_vhangup_args { register_t dummy; }; struct svr4_sys_gettimeofday_args { struct timeval * tp; char tp_[PAD_(struct timeval *)]; }; struct svr4_sys_llseek_args { int fd; char fd_[PAD_(int)]; long offset1; char offset1_[PAD_(long)]; long offset2; char offset2_[PAD_(long)]; int whence; char whence_[PAD_(int)]; }; struct svr4_sys_acl_args { char * path; char path_[PAD_(char *)]; int cmd; char cmd_[PAD_(int)]; int num; char num_[PAD_(int)]; struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; }; struct svr4_sys_auditsys_args { int code; char code_[PAD_(int)]; int a1; char a1_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; struct svr4_sys_facl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; int num; char num_[PAD_(int)]; struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; }; struct svr4_sys_resolvepath_args { const char * path; char path_[PAD_(const char *)]; char * buf; char buf_[PAD_(char *)]; size_t bufsiz; char bufsiz_[PAD_(size_t)]; }; struct svr4_sys_getdents64_args { int fd; char fd_[PAD_(int)]; struct svr4_dirent64 * dp; char dp_[PAD_(struct svr4_dirent64 *)]; int nbytes; char nbytes_[PAD_(int)]; }; struct svr4_sys_mmap64_args { void * addr; char addr_[PAD_(void *)]; svr4_size_t len; char len_[PAD_(svr4_size_t)]; int prot; char prot_[PAD_(int)]; int flags; char flags_[PAD_(int)]; int fd; char fd_[PAD_(int)]; svr4_off64_t pos; char pos_[PAD_(svr4_off64_t)]; }; struct svr4_sys_stat64_args { char * path; char path_[PAD_(char *)]; struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; }; struct svr4_sys_lstat64_args { char * path; char path_[PAD_(char *)]; struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; }; struct svr4_sys_fstat64_args { int fd; char fd_[PAD_(int)]; struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; }; struct svr4_sys_statvfs64_args { char * path; char path_[PAD_(char *)]; struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; }; struct svr4_sys_fstatvfs64_args { int fd; char fd_[PAD_(int)]; struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; }; struct svr4_sys_setrlimit64_args { int which; char which_[PAD_(int)]; const struct svr4_rlimit64 * rlp; char rlp_[PAD_(const struct svr4_rlimit64 *)]; }; struct svr4_sys_getrlimit64_args { int which; char which_[PAD_(int)]; struct svr4_rlimit64 * rlp; char rlp_[PAD_(struct svr4_rlimit64 *)]; }; struct svr4_sys_creat64_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_open64_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct svr4_sys_socket_args { int domain; char domain_[PAD_(int)]; int type; char type_[PAD_(int)]; int protocol; char protocol_[PAD_(int)]; }; struct svr4_sys_recv_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; int len; char len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_send_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; int len; char len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct svr4_sys_sendto_args { int s; char s_[PAD_(int)]; void * buf; char buf_[PAD_(void *)]; size_t len; char len_[PAD_(size_t)]; int flags; char flags_[PAD_(int)]; struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; int tolen; char tolen_[PAD_(int)]; }; int svr4_sys_open __P((struct proc *, struct svr4_sys_open_args *)); int svr4_sys_wait __P((struct proc *, struct svr4_sys_wait_args *)); int svr4_sys_creat __P((struct proc *, struct svr4_sys_creat_args *)); int svr4_sys_execv __P((struct proc *, struct svr4_sys_execv_args *)); int svr4_sys_time __P((struct proc *, struct svr4_sys_time_args *)); int svr4_sys_mknod __P((struct proc *, struct svr4_sys_mknod_args *)); int svr4_sys_break __P((struct proc *, struct svr4_sys_break_args *)); int svr4_sys_stat __P((struct proc *, struct svr4_sys_stat_args *)); int svr4_sys_alarm __P((struct proc *, struct svr4_sys_alarm_args *)); int svr4_sys_fstat __P((struct proc *, struct svr4_sys_fstat_args *)); int svr4_sys_pause __P((struct proc *, struct svr4_sys_pause_args *)); int svr4_sys_utime __P((struct proc *, struct svr4_sys_utime_args *)); int svr4_sys_access __P((struct proc *, struct svr4_sys_access_args *)); int svr4_sys_nice __P((struct proc *, struct svr4_sys_nice_args *)); int svr4_sys_kill __P((struct proc *, struct svr4_sys_kill_args *)); int svr4_sys_pgrpsys __P((struct proc *, struct svr4_sys_pgrpsys_args *)); int svr4_sys_times __P((struct proc *, struct svr4_sys_times_args *)); int svr4_sys_signal __P((struct proc *, struct svr4_sys_signal_args *)); #if defined(NOTYET) int svr4_sys_msgsys __P((struct proc *, struct svr4_sys_msgsys_args *)); #else #endif int svr4_sys_sysarch __P((struct proc *, struct svr4_sys_sysarch_args *)); int svr4_sys_ioctl __P((struct proc *, struct svr4_sys_ioctl_args *)); int svr4_sys_utssys __P((struct proc *, struct svr4_sys_utssys_args *)); int svr4_sys_execve __P((struct proc *, struct svr4_sys_execve_args *)); int svr4_sys_fcntl __P((struct proc *, struct svr4_sys_fcntl_args *)); int svr4_sys_ulimit __P((struct proc *, struct svr4_sys_ulimit_args *)); int svr4_sys_getdents __P((struct proc *, struct svr4_sys_getdents_args *)); int svr4_sys_getmsg __P((struct proc *, struct svr4_sys_getmsg_args *)); int svr4_sys_putmsg __P((struct proc *, struct svr4_sys_putmsg_args *)); int svr4_sys_poll __P((struct proc *, struct svr4_sys_poll_args *)); int svr4_sys_lstat __P((struct proc *, struct svr4_sys_lstat_args *)); int svr4_sys_sigprocmask __P((struct proc *, struct svr4_sys_sigprocmask_args *)); int svr4_sys_sigsuspend __P((struct proc *, struct svr4_sys_sigsuspend_args *)); int svr4_sys_sigaltstack __P((struct proc *, struct svr4_sys_sigaltstack_args *)); int svr4_sys_sigaction __P((struct proc *, struct svr4_sys_sigaction_args *)); int svr4_sys_sigpending __P((struct proc *, struct svr4_sys_sigpending_args *)); int svr4_sys_context __P((struct proc *, struct svr4_sys_context_args *)); int svr4_sys_statvfs __P((struct proc *, struct svr4_sys_statvfs_args *)); int svr4_sys_fstatvfs __P((struct proc *, struct svr4_sys_fstatvfs_args *)); int svr4_sys_waitsys __P((struct proc *, struct svr4_sys_waitsys_args *)); int svr4_sys_hrtsys __P((struct proc *, struct svr4_sys_hrtsys_args *)); int svr4_sys_pathconf __P((struct proc *, struct svr4_sys_pathconf_args *)); int svr4_sys_mmap __P((struct proc *, struct svr4_sys_mmap_args *)); int svr4_sys_fpathconf __P((struct proc *, struct svr4_sys_fpathconf_args *)); int svr4_sys_xstat __P((struct proc *, struct svr4_sys_xstat_args *)); int svr4_sys_lxstat __P((struct proc *, struct svr4_sys_lxstat_args *)); int svr4_sys_fxstat __P((struct proc *, struct svr4_sys_fxstat_args *)); int svr4_sys_xmknod __P((struct proc *, struct svr4_sys_xmknod_args *)); int svr4_sys_setrlimit __P((struct proc *, struct svr4_sys_setrlimit_args *)); int svr4_sys_getrlimit __P((struct proc *, struct svr4_sys_getrlimit_args *)); int svr4_sys_memcntl __P((struct proc *, struct svr4_sys_memcntl_args *)); int svr4_sys_uname __P((struct proc *, struct svr4_sys_uname_args *)); int svr4_sys_sysconfig __P((struct proc *, struct svr4_sys_sysconfig_args *)); int svr4_sys_systeminfo __P((struct proc *, struct svr4_sys_systeminfo_args *)); int svr4_sys_fchroot __P((struct proc *, struct svr4_sys_fchroot_args *)); int svr4_sys_utimes __P((struct proc *, struct svr4_sys_utimes_args *)); int svr4_sys_vhangup __P((struct proc *, struct svr4_sys_vhangup_args *)); int svr4_sys_gettimeofday __P((struct proc *, struct svr4_sys_gettimeofday_args *)); int svr4_sys_llseek __P((struct proc *, struct svr4_sys_llseek_args *)); int svr4_sys_acl __P((struct proc *, struct svr4_sys_acl_args *)); int svr4_sys_auditsys __P((struct proc *, struct svr4_sys_auditsys_args *)); int svr4_sys_facl __P((struct proc *, struct svr4_sys_facl_args *)); int svr4_sys_resolvepath __P((struct proc *, struct svr4_sys_resolvepath_args *)); int svr4_sys_getdents64 __P((struct proc *, struct svr4_sys_getdents64_args *)); int svr4_sys_mmap64 __P((struct proc *, struct svr4_sys_mmap64_args *)); int svr4_sys_stat64 __P((struct proc *, struct svr4_sys_stat64_args *)); int svr4_sys_lstat64 __P((struct proc *, struct svr4_sys_lstat64_args *)); int svr4_sys_fstat64 __P((struct proc *, struct svr4_sys_fstat64_args *)); int svr4_sys_statvfs64 __P((struct proc *, struct svr4_sys_statvfs64_args *)); int svr4_sys_fstatvfs64 __P((struct proc *, struct svr4_sys_fstatvfs64_args *)); int svr4_sys_setrlimit64 __P((struct proc *, struct svr4_sys_setrlimit64_args *)); int svr4_sys_getrlimit64 __P((struct proc *, struct svr4_sys_getrlimit64_args *)); int svr4_sys_creat64 __P((struct proc *, struct svr4_sys_creat64_args *)); int svr4_sys_open64 __P((struct proc *, struct svr4_sys_open64_args *)); int svr4_sys_socket __P((struct proc *, struct svr4_sys_socket_args *)); int svr4_sys_recv __P((struct proc *, struct svr4_sys_recv_args *)); int svr4_sys_send __P((struct proc *, struct svr4_sys_send_args *)); int svr4_sys_sendto __P((struct proc *, struct svr4_sys_sendto_args *)); #ifdef COMPAT_43 #if defined(NOTYET) #else #endif #endif /* COMPAT_43 */ #undef PAD_ #endif /* !_SVR4_SYSPROTO_H_ */ Index: head/sys/svr4/svr4_syscall.h =================================================================== --- head/sys/svr4/svr4_syscall.h (revision 63986) +++ head/sys/svr4/svr4_syscall.h (revision 63987) @@ -1,145 +1,145 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ -#define SVR4_SYS_exit 1 +#define SVR4_SYS_sys_exit 1 #define SVR4_SYS_fork 2 #define SVR4_SYS_read 3 #define SVR4_SYS_write 4 #define SVR4_SYS_svr4_sys_open 5 #define SVR4_SYS_close 6 #define SVR4_SYS_svr4_sys_wait 7 #define SVR4_SYS_svr4_sys_creat 8 #define SVR4_SYS_link 9 #define SVR4_SYS_unlink 10 #define SVR4_SYS_svr4_sys_execv 11 #define SVR4_SYS_chdir 12 #define SVR4_SYS_svr4_sys_time 13 #define SVR4_SYS_svr4_sys_mknod 14 #define SVR4_SYS_chmod 15 #define SVR4_SYS_chown 16 #define SVR4_SYS_svr4_sys_break 17 #define SVR4_SYS_svr4_sys_stat 18 #define SVR4_SYS_lseek 19 #define SVR4_SYS_getpid 20 #define SVR4_SYS_setuid 23 #define SVR4_SYS_getuid 24 #define SVR4_SYS_svr4_sys_alarm 27 #define SVR4_SYS_svr4_sys_fstat 28 #define SVR4_SYS_svr4_sys_pause 29 #define SVR4_SYS_svr4_sys_utime 30 #define SVR4_SYS_svr4_sys_access 33 #define SVR4_SYS_svr4_sys_nice 34 #define SVR4_SYS_sync 36 #define SVR4_SYS_svr4_sys_kill 37 #define SVR4_SYS_svr4_sys_pgrpsys 39 #define SVR4_SYS_dup 41 #define SVR4_SYS_pipe 42 #define SVR4_SYS_svr4_sys_times 43 #define SVR4_SYS_setgid 46 #define SVR4_SYS_getgid 47 #define SVR4_SYS_svr4_sys_signal 48 #define SVR4_SYS_svr4_sys_msgsys 49 #define SVR4_SYS_svr4_sys_sysarch 50 #define SVR4_SYS_svr4_sys_ioctl 54 #define SVR4_SYS_svr4_sys_utssys 57 #define SVR4_SYS_fsync 58 #define SVR4_SYS_svr4_sys_execve 59 #define SVR4_SYS_umask 60 #define SVR4_SYS_chroot 61 #define SVR4_SYS_svr4_sys_fcntl 62 #define SVR4_SYS_svr4_sys_ulimit 63 #define SVR4_SYS_rmdir 79 #define SVR4_SYS_mkdir 80 #define SVR4_SYS_svr4_sys_getdents 81 #define SVR4_SYS_svr4_sys_getmsg 85 #define SVR4_SYS_svr4_sys_putmsg 86 #define SVR4_SYS_svr4_sys_poll 87 #define SVR4_SYS_svr4_sys_lstat 88 #define SVR4_SYS_symlink 89 #define SVR4_SYS_readlink 90 #define SVR4_SYS_getgroups 91 #define SVR4_SYS_setgroups 92 #define SVR4_SYS_fchmod 93 #define SVR4_SYS_fchown 94 #define SVR4_SYS_svr4_sys_sigprocmask 95 #define SVR4_SYS_svr4_sys_sigsuspend 96 #define SVR4_SYS_svr4_sys_sigaltstack 97 #define SVR4_SYS_svr4_sys_sigaction 98 #define SVR4_SYS_svr4_sys_sigpending 99 #define SVR4_SYS_svr4_sys_context 100 #define SVR4_SYS_svr4_sys_statvfs 103 #define SVR4_SYS_svr4_sys_fstatvfs 104 #define SVR4_SYS_svr4_sys_waitsys 107 #define SVR4_SYS_svr4_sys_hrtsys 109 #define SVR4_SYS_svr4_sys_pathconf 113 #define SVR4_SYS_svr4_sys_mmap 115 #define SVR4_SYS_mprotect 116 #define SVR4_SYS_munmap 117 #define SVR4_SYS_svr4_sys_fpathconf 118 #define SVR4_SYS_vfork 119 #define SVR4_SYS_fchdir 120 #define SVR4_SYS_readv 121 #define SVR4_SYS_writev 122 #define SVR4_SYS_svr4_sys_xstat 123 #define SVR4_SYS_svr4_sys_lxstat 124 #define SVR4_SYS_svr4_sys_fxstat 125 #define SVR4_SYS_svr4_sys_xmknod 126 #define SVR4_SYS_svr4_sys_setrlimit 128 #define SVR4_SYS_svr4_sys_getrlimit 129 #define SVR4_SYS_lchown 130 #define SVR4_SYS_svr4_sys_memcntl 131 #define SVR4_SYS_rename 134 #define SVR4_SYS_svr4_sys_uname 135 #define SVR4_SYS_setegid 136 #define SVR4_SYS_svr4_sys_sysconfig 137 #define SVR4_SYS_adjtime 138 #define SVR4_SYS_svr4_sys_systeminfo 139 #define SVR4_SYS_seteuid 141 #define SVR4_SYS_svr4_sys_fchroot 153 #define SVR4_SYS_svr4_sys_utimes 154 #define SVR4_SYS_svr4_sys_vhangup 155 #define SVR4_SYS_svr4_sys_gettimeofday 156 #define SVR4_SYS_getitimer 157 #define SVR4_SYS_setitimer 158 #define SVR4_SYS_svr4_sys_llseek 175 #define SVR4_SYS_svr4_sys_acl 185 #define SVR4_SYS_svr4_sys_auditsys 186 #define SVR4_SYS_nanosleep 199 #define SVR4_SYS_svr4_sys_facl 200 #define SVR4_SYS_setreuid 202 #define SVR4_SYS_setregid 203 #define SVR4_SYS_svr4_sys_resolvepath 209 #define SVR4_SYS_svr4_sys_getdents64 213 #define SVR4_SYS_svr4_sys_mmap64 214 #define SVR4_SYS_svr4_sys_stat64 215 #define SVR4_SYS_svr4_sys_lstat64 216 #define SVR4_SYS_svr4_sys_fstat64 217 #define SVR4_SYS_svr4_sys_statvfs64 218 #define SVR4_SYS_svr4_sys_fstatvfs64 219 #define SVR4_SYS_svr4_sys_setrlimit64 220 #define SVR4_SYS_svr4_sys_getrlimit64 221 #define SVR4_SYS_svr4_sys_creat64 224 #define SVR4_SYS_svr4_sys_open64 225 #define SVR4_SYS_svr4_sys_socket 230 #define SVR4_SYS_socketpair 231 #define SVR4_SYS_bind 232 #define SVR4_SYS_listen 233 #define SVR4_SYS_accept 234 #define SVR4_SYS_connect 235 #define SVR4_SYS_shutdown 236 #define SVR4_SYS_svr4_sys_recv 237 #define SVR4_SYS_recvfrom 238 #define SVR4_SYS_recvmsg 239 #define SVR4_SYS_svr4_sys_send 240 #define SVR4_SYS_sendmsg 241 #define SVR4_SYS_svr4_sys_sendto 242 #define SVR4_SYS_getpeername 243 #define SVR4_SYS_getsockname 244 #define SVR4_SYS_getsockopt 245 #define SVR4_SYS_setsockopt 246 #define SVR4_SYS_MAXSYSCALL 250 Index: head/sys/svr4/svr4_syscallnames.c =================================================================== --- head/sys/svr4/svr4_syscallnames.c (revision 63986) +++ head/sys/svr4/svr4_syscallnames.c (revision 63987) @@ -1,264 +1,264 @@ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ char *svr4_syscallnames[] = { "#0", /* 0 = unused */ - "exit", /* 1 = exit */ + "sys_exit", /* 1 = sys_exit */ "fork", /* 2 = fork */ "read", /* 3 = read */ "write", /* 4 = write */ "svr4_sys_open", /* 5 = svr4_sys_open */ "close", /* 6 = close */ "svr4_sys_wait", /* 7 = svr4_sys_wait */ "svr4_sys_creat", /* 8 = svr4_sys_creat */ "link", /* 9 = link */ "unlink", /* 10 = unlink */ "svr4_sys_execv", /* 11 = svr4_sys_execv */ "chdir", /* 12 = chdir */ "svr4_sys_time", /* 13 = svr4_sys_time */ "svr4_sys_mknod", /* 14 = svr4_sys_mknod */ "chmod", /* 15 = chmod */ "chown", /* 16 = chown */ "svr4_sys_break", /* 17 = svr4_sys_break */ "svr4_sys_stat", /* 18 = svr4_sys_stat */ "lseek", /* 19 = lseek */ "getpid", /* 20 = getpid */ "#21", /* 21 = old_mount */ "#22", /* 22 = sysv_umount */ "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "#25", /* 25 = stime */ "#26", /* 26 = ptrace */ "svr4_sys_alarm", /* 27 = svr4_sys_alarm */ "svr4_sys_fstat", /* 28 = svr4_sys_fstat */ "svr4_sys_pause", /* 29 = svr4_sys_pause */ "svr4_sys_utime", /* 30 = svr4_sys_utime */ "#31", /* 31 = stty */ "#32", /* 32 = gtty */ "svr4_sys_access", /* 33 = svr4_sys_access */ "svr4_sys_nice", /* 34 = svr4_sys_nice */ "#35", /* 35 = statfs */ "sync", /* 36 = sync */ "svr4_sys_kill", /* 37 = svr4_sys_kill */ "#38", /* 38 = fstatfs */ "svr4_sys_pgrpsys", /* 39 = svr4_sys_pgrpsys */ "#40", /* 40 = xenix */ "dup", /* 41 = dup */ "pipe", /* 42 = pipe */ "svr4_sys_times", /* 43 = svr4_sys_times */ "#44", /* 44 = profil */ "#45", /* 45 = plock */ "setgid", /* 46 = setgid */ "getgid", /* 47 = getgid */ "svr4_sys_signal", /* 48 = svr4_sys_signal */ #if defined(NOTYET) "svr4_sys_msgsys", /* 49 = svr4_sys_msgsys */ #else "#49", /* 49 = msgsys */ #endif "svr4_sys_sysarch", /* 50 = svr4_sys_sysarch */ "#51", /* 51 = acct */ "#52", /* 52 = shmsys */ "#53", /* 53 = semsys */ "svr4_sys_ioctl", /* 54 = svr4_sys_ioctl */ "#55", /* 55 = uadmin */ "#56", /* 56 = exch */ "svr4_sys_utssys", /* 57 = svr4_sys_utssys */ "fsync", /* 58 = fsync */ "svr4_sys_execve", /* 59 = svr4_sys_execve */ "umask", /* 60 = umask */ "chroot", /* 61 = chroot */ "svr4_sys_fcntl", /* 62 = svr4_sys_fcntl */ "svr4_sys_ulimit", /* 63 = svr4_sys_ulimit */ "#64", /* 64 = reserved */ "#65", /* 65 = reserved */ "#66", /* 66 = reserved */ "#67", /* 67 = reserved */ "#68", /* 68 = reserved */ "#69", /* 69 = reserved */ "#70", /* 70 = advfs */ "#71", /* 71 = unadvfs */ "#72", /* 72 = rmount */ "#73", /* 73 = rumount */ "#74", /* 74 = rfstart */ "#75", /* 75 = sigret */ "#76", /* 76 = rdebug */ "#77", /* 77 = rfstop */ "#78", /* 78 = rfsys */ "rmdir", /* 79 = rmdir */ "mkdir", /* 80 = mkdir */ "svr4_sys_getdents", /* 81 = svr4_sys_getdents */ "#82", /* 82 = libattach */ "#83", /* 83 = libdetach */ "#84", /* 84 = sysfs */ "svr4_sys_getmsg", /* 85 = svr4_sys_getmsg */ "svr4_sys_putmsg", /* 86 = svr4_sys_putmsg */ "svr4_sys_poll", /* 87 = svr4_sys_poll */ "svr4_sys_lstat", /* 88 = svr4_sys_lstat */ "symlink", /* 89 = symlink */ "readlink", /* 90 = readlink */ "getgroups", /* 91 = getgroups */ "setgroups", /* 92 = setgroups */ "fchmod", /* 93 = fchmod */ "fchown", /* 94 = fchown */ "svr4_sys_sigprocmask", /* 95 = svr4_sys_sigprocmask */ "svr4_sys_sigsuspend", /* 96 = svr4_sys_sigsuspend */ "svr4_sys_sigaltstack", /* 97 = svr4_sys_sigaltstack */ "svr4_sys_sigaction", /* 98 = svr4_sys_sigaction */ "svr4_sys_sigpending", /* 99 = svr4_sys_sigpending */ "svr4_sys_context", /* 100 = svr4_sys_context */ "#101", /* 101 = evsys */ "#102", /* 102 = evtrapret */ "svr4_sys_statvfs", /* 103 = svr4_sys_statvfs */ "svr4_sys_fstatvfs", /* 104 = svr4_sys_fstatvfs */ "#105", /* 105 = whoknows */ "#106", /* 106 = nfssvc */ "svr4_sys_waitsys", /* 107 = svr4_sys_waitsys */ "#108", /* 108 = sigsendsys */ "svr4_sys_hrtsys", /* 109 = svr4_sys_hrtsys */ "#110", /* 110 = acancel */ "#111", /* 111 = async */ "#112", /* 112 = priocntlsys */ "svr4_sys_pathconf", /* 113 = svr4_sys_pathconf */ "#114", /* 114 = mincore */ "svr4_sys_mmap", /* 115 = svr4_sys_mmap */ "mprotect", /* 116 = mprotect */ "munmap", /* 117 = munmap */ "svr4_sys_fpathconf", /* 118 = svr4_sys_fpathconf */ "vfork", /* 119 = vfork */ "fchdir", /* 120 = fchdir */ "readv", /* 121 = readv */ "writev", /* 122 = writev */ "svr4_sys_xstat", /* 123 = svr4_sys_xstat */ "svr4_sys_lxstat", /* 124 = svr4_sys_lxstat */ "svr4_sys_fxstat", /* 125 = svr4_sys_fxstat */ "svr4_sys_xmknod", /* 126 = svr4_sys_xmknod */ "#127", /* 127 = clocal */ "svr4_sys_setrlimit", /* 128 = svr4_sys_setrlimit */ "svr4_sys_getrlimit", /* 129 = svr4_sys_getrlimit */ "lchown", /* 130 = lchown */ "svr4_sys_memcntl", /* 131 = svr4_sys_memcntl */ "#132", /* 132 = getpmsg */ "#133", /* 133 = putpmsg */ "rename", /* 134 = rename */ "svr4_sys_uname", /* 135 = svr4_sys_uname */ "setegid", /* 136 = setegid */ "svr4_sys_sysconfig", /* 137 = svr4_sys_sysconfig */ "adjtime", /* 138 = adjtime */ "svr4_sys_systeminfo", /* 139 = svr4_sys_systeminfo */ "#140", /* 140 = notused */ "seteuid", /* 141 = seteuid */ "#142", /* 142 = vtrace */ "#143", /* 143 = { */ "#144", /* 144 = sigtimedwait */ "#145", /* 145 = lwp_info */ "#146", /* 146 = yield */ "#147", /* 147 = lwp_sema_wait */ "#148", /* 148 = lwp_sema_post */ "#149", /* 149 = lwp_sema_trywait */ "#150", /* 150 = notused */ "#151", /* 151 = notused */ "#152", /* 152 = modctl */ "svr4_sys_fchroot", /* 153 = svr4_sys_fchroot */ "svr4_sys_utimes", /* 154 = svr4_sys_utimes */ "svr4_sys_vhangup", /* 155 = svr4_sys_vhangup */ "svr4_sys_gettimeofday", /* 156 = svr4_sys_gettimeofday */ "getitimer", /* 157 = getitimer */ "setitimer", /* 158 = setitimer */ "#159", /* 159 = lwp_create */ "#160", /* 160 = lwp_exit */ "#161", /* 161 = lwp_suspend */ "#162", /* 162 = lwp_continue */ "#163", /* 163 = lwp_kill */ "#164", /* 164 = lwp_self */ "#165", /* 165 = lwp_getprivate */ "#166", /* 166 = lwp_setprivate */ "#167", /* 167 = lwp_wait */ "#168", /* 168 = lwp_mutex_unlock */ "#169", /* 169 = lwp_mutex_lock */ "#170", /* 170 = lwp_cond_wait */ "#171", /* 171 = lwp_cond_signal */ "#172", /* 172 = lwp_cond_broadcast */ "#173", /* 173 = { */ "#174", /* 174 = { */ "svr4_sys_llseek", /* 175 = svr4_sys_llseek */ "#176", /* 176 = inst_sync */ "#177", /* 177 = whoknows */ "#178", /* 178 = kaio */ "#179", /* 179 = whoknows */ "#180", /* 180 = whoknows */ "#181", /* 181 = whoknows */ "#182", /* 182 = whoknows */ "#183", /* 183 = whoknows */ "#184", /* 184 = tsolsys */ "svr4_sys_acl", /* 185 = svr4_sys_acl */ "svr4_sys_auditsys", /* 186 = svr4_sys_auditsys */ "#187", /* 187 = processor_bind */ "#188", /* 188 = processor_info */ "#189", /* 189 = p_online */ "#190", /* 190 = sigqueue */ "#191", /* 191 = clock_gettime */ "#192", /* 192 = clock_settime */ "#193", /* 193 = clock_getres */ "#194", /* 194 = timer_create */ "#195", /* 195 = timer_delete */ "#196", /* 196 = timer_settime */ "#197", /* 197 = timer_gettime */ "#198", /* 198 = timer_overrun */ "nanosleep", /* 199 = nanosleep */ "svr4_sys_facl", /* 200 = svr4_sys_facl */ "#201", /* 201 = door */ "setreuid", /* 202 = setreuid */ "setregid", /* 203 = setregid */ "#204", /* 204 = install_utrap */ "#205", /* 205 = signotify */ "#206", /* 206 = schedctl */ "#207", /* 207 = pset */ "#208", /* 208 = whoknows */ "svr4_sys_resolvepath", /* 209 = svr4_sys_resolvepath */ "#210", /* 210 = signotifywait */ "#211", /* 211 = lwp_sigredirect */ "#212", /* 212 = lwp_alarm */ "svr4_sys_getdents64", /* 213 = svr4_sys_getdents64 */ "svr4_sys_mmap64", /* 214 = svr4_sys_mmap64 */ "svr4_sys_stat64", /* 215 = svr4_sys_stat64 */ "svr4_sys_lstat64", /* 216 = svr4_sys_lstat64 */ "svr4_sys_fstat64", /* 217 = svr4_sys_fstat64 */ "svr4_sys_statvfs64", /* 218 = svr4_sys_statvfs64 */ "svr4_sys_fstatvfs64", /* 219 = svr4_sys_fstatvfs64 */ "svr4_sys_setrlimit64", /* 220 = svr4_sys_setrlimit64 */ "svr4_sys_getrlimit64", /* 221 = svr4_sys_getrlimit64 */ "#222", /* 222 = pread64 */ "#223", /* 223 = pwrite64 */ "svr4_sys_creat64", /* 224 = svr4_sys_creat64 */ "svr4_sys_open64", /* 225 = svr4_sys_open64 */ "#226", /* 226 = rpcsys */ "#227", /* 227 = whoknows */ "#228", /* 228 = whoknows */ "#229", /* 229 = whoknows */ "svr4_sys_socket", /* 230 = svr4_sys_socket */ "socketpair", /* 231 = socketpair */ "bind", /* 232 = bind */ "listen", /* 233 = listen */ "accept", /* 234 = accept */ "connect", /* 235 = connect */ "shutdown", /* 236 = shutdown */ "svr4_sys_recv", /* 237 = svr4_sys_recv */ "recvfrom", /* 238 = recvfrom */ "recvmsg", /* 239 = recvmsg */ "svr4_sys_send", /* 240 = svr4_sys_send */ "sendmsg", /* 241 = sendmsg */ "svr4_sys_sendto", /* 242 = svr4_sys_sendto */ "getpeername", /* 243 = getpeername */ "getsockname", /* 244 = getsockname */ "getsockopt", /* 245 = getsockopt */ "setsockopt", /* 246 = setsockopt */ "#247", /* 247 = sockconfig */ "#248", /* 248 = { */ "#249", /* 249 = { */ }; Index: head/sys/svr4/svr4_sysent.c =================================================================== --- head/sys/svr4/svr4_sysent.c (revision 63986) +++ head/sys/svr4/svr4_sysent.c (revision 63987) @@ -1,276 +1,276 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.8 2000/05/10 14:32:32 bde Exp + * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.9 2000/07/29 00:16:28 peter Exp */ #include #include #include #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent svr4_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = unused */ - { AS(rexit_args), (sy_call_t *)exit }, /* 1 = exit */ + { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = sys_exit */ { 0, (sy_call_t *)fork }, /* 2 = fork */ { AS(read_args), (sy_call_t *)read }, /* 3 = read */ { AS(write_args), (sy_call_t *)write }, /* 4 = write */ { AS(svr4_sys_open_args), (sy_call_t *)svr4_sys_open }, /* 5 = svr4_sys_open */ { AS(close_args), (sy_call_t *)close }, /* 6 = close */ { AS(svr4_sys_wait_args), (sy_call_t *)svr4_sys_wait }, /* 7 = svr4_sys_wait */ { AS(svr4_sys_creat_args), (sy_call_t *)svr4_sys_creat }, /* 8 = svr4_sys_creat */ { AS(link_args), (sy_call_t *)link }, /* 9 = link */ { AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */ { AS(svr4_sys_execv_args), (sy_call_t *)svr4_sys_execv }, /* 11 = svr4_sys_execv */ { AS(chdir_args), (sy_call_t *)chdir }, /* 12 = chdir */ { AS(svr4_sys_time_args), (sy_call_t *)svr4_sys_time }, /* 13 = svr4_sys_time */ { AS(svr4_sys_mknod_args), (sy_call_t *)svr4_sys_mknod }, /* 14 = svr4_sys_mknod */ { AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */ { AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */ { AS(svr4_sys_break_args), (sy_call_t *)svr4_sys_break }, /* 17 = svr4_sys_break */ { AS(svr4_sys_stat_args), (sy_call_t *)svr4_sys_stat }, /* 18 = svr4_sys_stat */ { AS(lseek_args), (sy_call_t *)lseek }, /* 19 = lseek */ { 0, (sy_call_t *)getpid }, /* 20 = getpid */ { 0, (sy_call_t *)nosys }, /* 21 = old_mount */ { 0, (sy_call_t *)nosys }, /* 22 = sysv_umount */ { AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */ { 0, (sy_call_t *)getuid }, /* 24 = getuid */ { 0, (sy_call_t *)nosys }, /* 25 = stime */ { 0, (sy_call_t *)nosys }, /* 26 = ptrace */ { AS(svr4_sys_alarm_args), (sy_call_t *)svr4_sys_alarm }, /* 27 = svr4_sys_alarm */ { AS(svr4_sys_fstat_args), (sy_call_t *)svr4_sys_fstat }, /* 28 = svr4_sys_fstat */ { 0, (sy_call_t *)svr4_sys_pause }, /* 29 = svr4_sys_pause */ { AS(svr4_sys_utime_args), (sy_call_t *)svr4_sys_utime }, /* 30 = svr4_sys_utime */ { 0, (sy_call_t *)nosys }, /* 31 = stty */ { 0, (sy_call_t *)nosys }, /* 32 = gtty */ { AS(svr4_sys_access_args), (sy_call_t *)svr4_sys_access }, /* 33 = svr4_sys_access */ { AS(svr4_sys_nice_args), (sy_call_t *)svr4_sys_nice }, /* 34 = svr4_sys_nice */ { 0, (sy_call_t *)nosys }, /* 35 = statfs */ { 0, (sy_call_t *)sync }, /* 36 = sync */ { AS(svr4_sys_kill_args), (sy_call_t *)svr4_sys_kill }, /* 37 = svr4_sys_kill */ { 0, (sy_call_t *)nosys }, /* 38 = fstatfs */ { AS(svr4_sys_pgrpsys_args), (sy_call_t *)svr4_sys_pgrpsys }, /* 39 = svr4_sys_pgrpsys */ { 0, (sy_call_t *)nosys }, /* 40 = xenix */ { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ { 0, (sy_call_t *)pipe }, /* 42 = pipe */ { AS(svr4_sys_times_args), (sy_call_t *)svr4_sys_times }, /* 43 = svr4_sys_times */ { 0, (sy_call_t *)nosys }, /* 44 = profil */ { 0, (sy_call_t *)nosys }, /* 45 = plock */ { AS(setgid_args), (sy_call_t *)setgid }, /* 46 = setgid */ { 0, (sy_call_t *)getgid }, /* 47 = getgid */ { AS(svr4_sys_signal_args), (sy_call_t *)svr4_sys_signal }, /* 48 = svr4_sys_signal */ #if defined(NOTYET) { AS(svr4_sys_msgsys_args), (sy_call_t *)svr4_sys_msgsys }, /* 49 = svr4_sys_msgsys */ #else { 0, (sy_call_t *)nosys }, /* 49 = msgsys */ #endif { AS(svr4_sys_sysarch_args), (sy_call_t *)svr4_sys_sysarch }, /* 50 = svr4_sys_sysarch */ { 0, (sy_call_t *)nosys }, /* 51 = acct */ { 0, (sy_call_t *)nosys }, /* 52 = shmsys */ { 0, (sy_call_t *)nosys }, /* 53 = semsys */ { AS(svr4_sys_ioctl_args), (sy_call_t *)svr4_sys_ioctl }, /* 54 = svr4_sys_ioctl */ { 0, (sy_call_t *)nosys }, /* 55 = uadmin */ { 0, (sy_call_t *)nosys }, /* 56 = exch */ { AS(svr4_sys_utssys_args), (sy_call_t *)svr4_sys_utssys }, /* 57 = svr4_sys_utssys */ { AS(fsync_args), (sy_call_t *)fsync }, /* 58 = fsync */ { AS(svr4_sys_execve_args), (sy_call_t *)svr4_sys_execve }, /* 59 = svr4_sys_execve */ { AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ { AS(svr4_sys_fcntl_args), (sy_call_t *)svr4_sys_fcntl }, /* 62 = svr4_sys_fcntl */ { AS(svr4_sys_ulimit_args), (sy_call_t *)svr4_sys_ulimit }, /* 63 = svr4_sys_ulimit */ { 0, (sy_call_t *)nosys }, /* 64 = reserved */ { 0, (sy_call_t *)nosys }, /* 65 = reserved */ { 0, (sy_call_t *)nosys }, /* 66 = reserved */ { 0, (sy_call_t *)nosys }, /* 67 = reserved */ { 0, (sy_call_t *)nosys }, /* 68 = reserved */ { 0, (sy_call_t *)nosys }, /* 69 = reserved */ { 0, (sy_call_t *)nosys }, /* 70 = advfs */ { 0, (sy_call_t *)nosys }, /* 71 = unadvfs */ { 0, (sy_call_t *)nosys }, /* 72 = rmount */ { 0, (sy_call_t *)nosys }, /* 73 = rumount */ { 0, (sy_call_t *)nosys }, /* 74 = rfstart */ { 0, (sy_call_t *)nosys }, /* 75 = sigret */ { 0, (sy_call_t *)nosys }, /* 76 = rdebug */ { 0, (sy_call_t *)nosys }, /* 77 = rfstop */ { 0, (sy_call_t *)nosys }, /* 78 = rfsys */ { AS(rmdir_args), (sy_call_t *)rmdir }, /* 79 = rmdir */ { AS(mkdir_args), (sy_call_t *)mkdir }, /* 80 = mkdir */ { AS(svr4_sys_getdents_args), (sy_call_t *)svr4_sys_getdents }, /* 81 = svr4_sys_getdents */ { 0, (sy_call_t *)nosys }, /* 82 = libattach */ { 0, (sy_call_t *)nosys }, /* 83 = libdetach */ { 0, (sy_call_t *)nosys }, /* 84 = sysfs */ { AS(svr4_sys_getmsg_args), (sy_call_t *)svr4_sys_getmsg }, /* 85 = svr4_sys_getmsg */ { AS(svr4_sys_putmsg_args), (sy_call_t *)svr4_sys_putmsg }, /* 86 = svr4_sys_putmsg */ { AS(svr4_sys_poll_args), (sy_call_t *)svr4_sys_poll }, /* 87 = svr4_sys_poll */ { AS(svr4_sys_lstat_args), (sy_call_t *)svr4_sys_lstat }, /* 88 = svr4_sys_lstat */ { AS(symlink_args), (sy_call_t *)symlink }, /* 89 = symlink */ { AS(readlink_args), (sy_call_t *)readlink }, /* 90 = readlink */ { AS(getgroups_args), (sy_call_t *)getgroups }, /* 91 = getgroups */ { AS(setgroups_args), (sy_call_t *)setgroups }, /* 92 = setgroups */ { AS(fchmod_args), (sy_call_t *)fchmod }, /* 93 = fchmod */ { AS(fchown_args), (sy_call_t *)fchown }, /* 94 = fchown */ { AS(svr4_sys_sigprocmask_args), (sy_call_t *)svr4_sys_sigprocmask }, /* 95 = svr4_sys_sigprocmask */ { AS(svr4_sys_sigsuspend_args), (sy_call_t *)svr4_sys_sigsuspend }, /* 96 = svr4_sys_sigsuspend */ { AS(svr4_sys_sigaltstack_args), (sy_call_t *)svr4_sys_sigaltstack }, /* 97 = svr4_sys_sigaltstack */ { AS(svr4_sys_sigaction_args), (sy_call_t *)svr4_sys_sigaction }, /* 98 = svr4_sys_sigaction */ { AS(svr4_sys_sigpending_args), (sy_call_t *)svr4_sys_sigpending }, /* 99 = svr4_sys_sigpending */ { AS(svr4_sys_context_args), (sy_call_t *)svr4_sys_context }, /* 100 = svr4_sys_context */ { 0, (sy_call_t *)nosys }, /* 101 = evsys */ { 0, (sy_call_t *)nosys }, /* 102 = evtrapret */ { AS(svr4_sys_statvfs_args), (sy_call_t *)svr4_sys_statvfs }, /* 103 = svr4_sys_statvfs */ { AS(svr4_sys_fstatvfs_args), (sy_call_t *)svr4_sys_fstatvfs }, /* 104 = svr4_sys_fstatvfs */ { 0, (sy_call_t *)nosys }, /* 105 = whoknows */ { 0, (sy_call_t *)nosys }, /* 106 = nfssvc */ { AS(svr4_sys_waitsys_args), (sy_call_t *)svr4_sys_waitsys }, /* 107 = svr4_sys_waitsys */ { 0, (sy_call_t *)nosys }, /* 108 = sigsendsys */ { AS(svr4_sys_hrtsys_args), (sy_call_t *)svr4_sys_hrtsys }, /* 109 = svr4_sys_hrtsys */ { 0, (sy_call_t *)nosys }, /* 110 = acancel */ { 0, (sy_call_t *)nosys }, /* 111 = async */ { 0, (sy_call_t *)nosys }, /* 112 = priocntlsys */ { AS(svr4_sys_pathconf_args), (sy_call_t *)svr4_sys_pathconf }, /* 113 = svr4_sys_pathconf */ { 0, (sy_call_t *)nosys }, /* 114 = mincore */ { AS(svr4_sys_mmap_args), (sy_call_t *)svr4_sys_mmap }, /* 115 = svr4_sys_mmap */ { AS(mprotect_args), (sy_call_t *)mprotect }, /* 116 = mprotect */ { AS(munmap_args), (sy_call_t *)munmap }, /* 117 = munmap */ { AS(svr4_sys_fpathconf_args), (sy_call_t *)svr4_sys_fpathconf }, /* 118 = svr4_sys_fpathconf */ { 0, (sy_call_t *)vfork }, /* 119 = vfork */ { AS(fchdir_args), (sy_call_t *)fchdir }, /* 120 = fchdir */ { AS(readv_args), (sy_call_t *)readv }, /* 121 = readv */ { AS(writev_args), (sy_call_t *)writev }, /* 122 = writev */ { AS(svr4_sys_xstat_args), (sy_call_t *)svr4_sys_xstat }, /* 123 = svr4_sys_xstat */ { AS(svr4_sys_lxstat_args), (sy_call_t *)svr4_sys_lxstat }, /* 124 = svr4_sys_lxstat */ { AS(svr4_sys_fxstat_args), (sy_call_t *)svr4_sys_fxstat }, /* 125 = svr4_sys_fxstat */ { AS(svr4_sys_xmknod_args), (sy_call_t *)svr4_sys_xmknod }, /* 126 = svr4_sys_xmknod */ { 0, (sy_call_t *)nosys }, /* 127 = clocal */ { AS(svr4_sys_setrlimit_args), (sy_call_t *)svr4_sys_setrlimit }, /* 128 = svr4_sys_setrlimit */ { AS(svr4_sys_getrlimit_args), (sy_call_t *)svr4_sys_getrlimit }, /* 129 = svr4_sys_getrlimit */ { AS(lchown_args), (sy_call_t *)lchown }, /* 130 = lchown */ { AS(svr4_sys_memcntl_args), (sy_call_t *)svr4_sys_memcntl }, /* 131 = svr4_sys_memcntl */ { 0, (sy_call_t *)nosys }, /* 132 = getpmsg */ { 0, (sy_call_t *)nosys }, /* 133 = putpmsg */ { AS(rename_args), (sy_call_t *)rename }, /* 134 = rename */ { AS(svr4_sys_uname_args), (sy_call_t *)svr4_sys_uname }, /* 135 = svr4_sys_uname */ { AS(setegid_args), (sy_call_t *)setegid }, /* 136 = setegid */ { AS(svr4_sys_sysconfig_args), (sy_call_t *)svr4_sys_sysconfig }, /* 137 = svr4_sys_sysconfig */ { AS(adjtime_args), (sy_call_t *)adjtime }, /* 138 = adjtime */ { AS(svr4_sys_systeminfo_args), (sy_call_t *)svr4_sys_systeminfo }, /* 139 = svr4_sys_systeminfo */ { 0, (sy_call_t *)nosys }, /* 140 = notused */ { AS(seteuid_args), (sy_call_t *)seteuid }, /* 141 = seteuid */ { 0, (sy_call_t *)nosys }, /* 142 = vtrace */ { 0, (sy_call_t *)nosys }, /* 143 = { */ { 0, (sy_call_t *)nosys }, /* 144 = sigtimedwait */ { 0, (sy_call_t *)nosys }, /* 145 = lwp_info */ { 0, (sy_call_t *)nosys }, /* 146 = yield */ { 0, (sy_call_t *)nosys }, /* 147 = lwp_sema_wait */ { 0, (sy_call_t *)nosys }, /* 148 = lwp_sema_post */ { 0, (sy_call_t *)nosys }, /* 149 = lwp_sema_trywait */ { 0, (sy_call_t *)nosys }, /* 150 = notused */ { 0, (sy_call_t *)nosys }, /* 151 = notused */ { 0, (sy_call_t *)nosys }, /* 152 = modctl */ { AS(svr4_sys_fchroot_args), (sy_call_t *)svr4_sys_fchroot }, /* 153 = svr4_sys_fchroot */ { AS(svr4_sys_utimes_args), (sy_call_t *)svr4_sys_utimes }, /* 154 = svr4_sys_utimes */ { 0, (sy_call_t *)svr4_sys_vhangup }, /* 155 = svr4_sys_vhangup */ { AS(svr4_sys_gettimeofday_args), (sy_call_t *)svr4_sys_gettimeofday }, /* 156 = svr4_sys_gettimeofday */ { AS(getitimer_args), (sy_call_t *)getitimer }, /* 157 = getitimer */ { AS(setitimer_args), (sy_call_t *)setitimer }, /* 158 = setitimer */ { 0, (sy_call_t *)nosys }, /* 159 = lwp_create */ { 0, (sy_call_t *)nosys }, /* 160 = lwp_exit */ { 0, (sy_call_t *)nosys }, /* 161 = lwp_suspend */ { 0, (sy_call_t *)nosys }, /* 162 = lwp_continue */ { 0, (sy_call_t *)nosys }, /* 163 = lwp_kill */ { 0, (sy_call_t *)nosys }, /* 164 = lwp_self */ { 0, (sy_call_t *)nosys }, /* 165 = lwp_getprivate */ { 0, (sy_call_t *)nosys }, /* 166 = lwp_setprivate */ { 0, (sy_call_t *)nosys }, /* 167 = lwp_wait */ { 0, (sy_call_t *)nosys }, /* 168 = lwp_mutex_unlock */ { 0, (sy_call_t *)nosys }, /* 169 = lwp_mutex_lock */ { 0, (sy_call_t *)nosys }, /* 170 = lwp_cond_wait */ { 0, (sy_call_t *)nosys }, /* 171 = lwp_cond_signal */ { 0, (sy_call_t *)nosys }, /* 172 = lwp_cond_broadcast */ { 0, (sy_call_t *)nosys }, /* 173 = { */ { 0, (sy_call_t *)nosys }, /* 174 = { */ { AS(svr4_sys_llseek_args), (sy_call_t *)svr4_sys_llseek }, /* 175 = svr4_sys_llseek */ { 0, (sy_call_t *)nosys }, /* 176 = inst_sync */ { 0, (sy_call_t *)nosys }, /* 177 = whoknows */ { 0, (sy_call_t *)nosys }, /* 178 = kaio */ { 0, (sy_call_t *)nosys }, /* 179 = whoknows */ { 0, (sy_call_t *)nosys }, /* 180 = whoknows */ { 0, (sy_call_t *)nosys }, /* 181 = whoknows */ { 0, (sy_call_t *)nosys }, /* 182 = whoknows */ { 0, (sy_call_t *)nosys }, /* 183 = whoknows */ { 0, (sy_call_t *)nosys }, /* 184 = tsolsys */ { AS(svr4_sys_acl_args), (sy_call_t *)svr4_sys_acl }, /* 185 = svr4_sys_acl */ { AS(svr4_sys_auditsys_args), (sy_call_t *)svr4_sys_auditsys }, /* 186 = svr4_sys_auditsys */ { 0, (sy_call_t *)nosys }, /* 187 = processor_bind */ { 0, (sy_call_t *)nosys }, /* 188 = processor_info */ { 0, (sy_call_t *)nosys }, /* 189 = p_online */ { 0, (sy_call_t *)nosys }, /* 190 = sigqueue */ { 0, (sy_call_t *)nosys }, /* 191 = clock_gettime */ { 0, (sy_call_t *)nosys }, /* 192 = clock_settime */ { 0, (sy_call_t *)nosys }, /* 193 = clock_getres */ { 0, (sy_call_t *)nosys }, /* 194 = timer_create */ { 0, (sy_call_t *)nosys }, /* 195 = timer_delete */ { 0, (sy_call_t *)nosys }, /* 196 = timer_settime */ { 0, (sy_call_t *)nosys }, /* 197 = timer_gettime */ { 0, (sy_call_t *)nosys }, /* 198 = timer_overrun */ { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 199 = nanosleep */ { AS(svr4_sys_facl_args), (sy_call_t *)svr4_sys_facl }, /* 200 = svr4_sys_facl */ { 0, (sy_call_t *)nosys }, /* 201 = door */ { AS(setreuid_args), (sy_call_t *)setreuid }, /* 202 = setreuid */ { AS(setregid_args), (sy_call_t *)setregid }, /* 203 = setregid */ { 0, (sy_call_t *)nosys }, /* 204 = install_utrap */ { 0, (sy_call_t *)nosys }, /* 205 = signotify */ { 0, (sy_call_t *)nosys }, /* 206 = schedctl */ { 0, (sy_call_t *)nosys }, /* 207 = pset */ { 0, (sy_call_t *)nosys }, /* 208 = whoknows */ { AS(svr4_sys_resolvepath_args), (sy_call_t *)svr4_sys_resolvepath }, /* 209 = svr4_sys_resolvepath */ { 0, (sy_call_t *)nosys }, /* 210 = signotifywait */ { 0, (sy_call_t *)nosys }, /* 211 = lwp_sigredirect */ { 0, (sy_call_t *)nosys }, /* 212 = lwp_alarm */ { AS(svr4_sys_getdents64_args), (sy_call_t *)svr4_sys_getdents64 }, /* 213 = svr4_sys_getdents64 */ { AS(svr4_sys_mmap64_args), (sy_call_t *)svr4_sys_mmap64 }, /* 214 = svr4_sys_mmap64 */ { AS(svr4_sys_stat64_args), (sy_call_t *)svr4_sys_stat64 }, /* 215 = svr4_sys_stat64 */ { AS(svr4_sys_lstat64_args), (sy_call_t *)svr4_sys_lstat64 }, /* 216 = svr4_sys_lstat64 */ { AS(svr4_sys_fstat64_args), (sy_call_t *)svr4_sys_fstat64 }, /* 217 = svr4_sys_fstat64 */ { AS(svr4_sys_statvfs64_args), (sy_call_t *)svr4_sys_statvfs64 }, /* 218 = svr4_sys_statvfs64 */ { AS(svr4_sys_fstatvfs64_args), (sy_call_t *)svr4_sys_fstatvfs64 }, /* 219 = svr4_sys_fstatvfs64 */ { AS(svr4_sys_setrlimit64_args), (sy_call_t *)svr4_sys_setrlimit64 }, /* 220 = svr4_sys_setrlimit64 */ { AS(svr4_sys_getrlimit64_args), (sy_call_t *)svr4_sys_getrlimit64 }, /* 221 = svr4_sys_getrlimit64 */ { 0, (sy_call_t *)nosys }, /* 222 = pread64 */ { 0, (sy_call_t *)nosys }, /* 223 = pwrite64 */ { AS(svr4_sys_creat64_args), (sy_call_t *)svr4_sys_creat64 }, /* 224 = svr4_sys_creat64 */ { AS(svr4_sys_open64_args), (sy_call_t *)svr4_sys_open64 }, /* 225 = svr4_sys_open64 */ { 0, (sy_call_t *)nosys }, /* 226 = rpcsys */ { 0, (sy_call_t *)nosys }, /* 227 = whoknows */ { 0, (sy_call_t *)nosys }, /* 228 = whoknows */ { 0, (sy_call_t *)nosys }, /* 229 = whoknows */ { AS(svr4_sys_socket_args), (sy_call_t *)svr4_sys_socket }, /* 230 = svr4_sys_socket */ { AS(socketpair_args), (sy_call_t *)socketpair }, /* 231 = socketpair */ { AS(bind_args), (sy_call_t *)bind }, /* 232 = bind */ { AS(listen_args), (sy_call_t *)listen }, /* 233 = listen */ { AS(accept_args), (sy_call_t *)accept }, /* 234 = accept */ { AS(connect_args), (sy_call_t *)connect }, /* 235 = connect */ { AS(shutdown_args), (sy_call_t *)shutdown }, /* 236 = shutdown */ { AS(svr4_sys_recv_args), (sy_call_t *)svr4_sys_recv }, /* 237 = svr4_sys_recv */ { AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 238 = recvfrom */ { AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 239 = recvmsg */ { AS(svr4_sys_send_args), (sy_call_t *)svr4_sys_send }, /* 240 = svr4_sys_send */ { AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 241 = sendmsg */ { AS(svr4_sys_sendto_args), (sy_call_t *)svr4_sys_sendto }, /* 242 = svr4_sys_sendto */ { AS(getpeername_args), (sy_call_t *)getpeername }, /* 243 = getpeername */ { AS(getsockname_args), (sy_call_t *)getsockname }, /* 244 = getsockname */ { AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 245 = getsockopt */ { AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 246 = setsockopt */ { 0, (sy_call_t *)nosys }, /* 247 = sockconfig */ { 0, (sy_call_t *)nosys }, /* 248 = { */ { 0, (sy_call_t *)nosys }, /* 249 = { */ }; Index: head/sys/sys/syscall-hide.h =================================================================== --- head/sys/sys/syscall-hide.h (revision 63986) +++ head/sys/sys/syscall-hide.h (revision 63987) @@ -1,288 +1,288 @@ /* * System call hiders. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.78 2000/07/13 20:31:24 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.80 2000/07/29 00:16:26 peter Exp */ HIDE_POSIX(fork) HIDE_POSIX(read) HIDE_POSIX(write) HIDE_POSIX(open) HIDE_POSIX(close) HIDE_BSD(wait4) HIDE_BSD(creat) HIDE_POSIX(link) HIDE_POSIX(unlink) HIDE_POSIX(chdir) HIDE_BSD(fchdir) HIDE_POSIX(mknod) HIDE_POSIX(chmod) HIDE_POSIX(chown) HIDE_BSD(obreak) HIDE_BSD(getfsstat) HIDE_POSIX(lseek) HIDE_POSIX(getpid) HIDE_BSD(mount) HIDE_BSD(unmount) HIDE_POSIX(setuid) HIDE_POSIX(getuid) HIDE_POSIX(geteuid) HIDE_BSD(ptrace) HIDE_BSD(recvmsg) HIDE_BSD(sendmsg) HIDE_BSD(recvfrom) HIDE_BSD(accept) HIDE_BSD(getpeername) HIDE_BSD(getsockname) HIDE_POSIX(access) HIDE_BSD(chflags) HIDE_BSD(fchflags) HIDE_BSD(sync) HIDE_POSIX(kill) HIDE_POSIX(stat) HIDE_POSIX(getppid) HIDE_POSIX(lstat) HIDE_POSIX(dup) HIDE_POSIX(pipe) HIDE_POSIX(getegid) HIDE_BSD(profil) HIDE_BSD(ktrace) HIDE_POSIX(sigaction) HIDE_POSIX(getgid) HIDE_POSIX(sigprocmask) HIDE_BSD(getlogin) HIDE_BSD(setlogin) HIDE_BSD(acct) HIDE_POSIX(sigpending) HIDE_BSD(sigaltstack) HIDE_POSIX(ioctl) HIDE_BSD(reboot) HIDE_POSIX(revoke) HIDE_POSIX(symlink) HIDE_POSIX(readlink) HIDE_POSIX(execve) HIDE_POSIX(umask) HIDE_BSD(chroot) HIDE_POSIX(fstat) HIDE_BSD(getkerninfo) HIDE_BSD(getpagesize) HIDE_BSD(msync) HIDE_BSD(vfork) HIDE_BSD(sbrk) HIDE_BSD(sstk) HIDE_BSD(mmap) HIDE_BSD(ovadvise) HIDE_BSD(munmap) HIDE_BSD(mprotect) HIDE_BSD(madvise) HIDE_BSD(mincore) HIDE_POSIX(getgroups) HIDE_POSIX(setgroups) HIDE_POSIX(getpgrp) HIDE_POSIX(setpgid) HIDE_BSD(setitimer) HIDE_BSD(wait) HIDE_BSD(swapon) HIDE_BSD(getitimer) HIDE_BSD(gethostname) HIDE_BSD(sethostname) HIDE_BSD(getdtablesize) HIDE_POSIX(dup2) HIDE_BSD(getdopt) HIDE_POSIX(fcntl) HIDE_BSD(select) HIDE_BSD(setdopt) HIDE_POSIX(fsync) HIDE_BSD(setpriority) HIDE_BSD(socket) HIDE_BSD(connect) HIDE_BSD(accept) HIDE_BSD(getpriority) HIDE_BSD(send) HIDE_BSD(recv) HIDE_BSD(sigreturn) HIDE_BSD(bind) HIDE_BSD(setsockopt) HIDE_BSD(listen) HIDE_BSD(sigvec) HIDE_BSD(sigblock) HIDE_BSD(sigsetmask) HIDE_POSIX(sigsuspend) HIDE_BSD(sigstack) HIDE_BSD(recvmsg) HIDE_BSD(sendmsg) HIDE_BSD(gettimeofday) HIDE_BSD(getrusage) HIDE_BSD(getsockopt) HIDE_BSD(readv) HIDE_BSD(writev) HIDE_BSD(settimeofday) HIDE_BSD(fchown) HIDE_BSD(fchmod) HIDE_BSD(recvfrom) HIDE_BSD(setreuid) HIDE_BSD(setregid) HIDE_POSIX(rename) HIDE_BSD(truncate) HIDE_BSD(ftruncate) HIDE_BSD(flock) HIDE_POSIX(mkfifo) HIDE_BSD(sendto) HIDE_BSD(shutdown) HIDE_BSD(socketpair) HIDE_POSIX(mkdir) HIDE_POSIX(rmdir) HIDE_BSD(utimes) HIDE_BSD(adjtime) HIDE_BSD(getpeername) HIDE_BSD(gethostid) HIDE_BSD(sethostid) HIDE_BSD(getrlimit) HIDE_BSD(setrlimit) HIDE_BSD(killpg) HIDE_POSIX(setsid) HIDE_BSD(quotactl) HIDE_BSD(quota) HIDE_BSD(getsockname) HIDE_BSD(nfssvc) HIDE_BSD(getdirentries) HIDE_BSD(statfs) HIDE_BSD(fstatfs) HIDE_BSD(getfh) HIDE_BSD(getdomainname) HIDE_BSD(setdomainname) HIDE_BSD(uname) HIDE_BSD(sysarch) HIDE_BSD(rtprio) HIDE_BSD(semsys) HIDE_BSD(msgsys) HIDE_BSD(shmsys) HIDE_POSIX(pread) HIDE_POSIX(pwrite) HIDE_BSD(ntp_adjtime) HIDE_POSIX(setgid) HIDE_BSD(setegid) HIDE_BSD(seteuid) HIDE_BSD(lfs_bmapv) HIDE_BSD(lfs_markv) HIDE_BSD(lfs_segclean) HIDE_BSD(lfs_segwait) HIDE_POSIX(stat) HIDE_POSIX(fstat) HIDE_POSIX(lstat) HIDE_POSIX(pathconf) HIDE_POSIX(fpathconf) HIDE_BSD(getrlimit) HIDE_BSD(setrlimit) HIDE_BSD(getdirentries) HIDE_BSD(mmap) HIDE_POSIX(lseek) HIDE_BSD(truncate) HIDE_BSD(ftruncate) HIDE_BSD(__sysctl) HIDE_BSD(mlock) HIDE_BSD(munlock) HIDE_BSD(undelete) HIDE_BSD(futimes) HIDE_BSD(getpgid) HIDE_BSD(poll) HIDE_BSD(__semctl) HIDE_BSD(semget) HIDE_BSD(semop) HIDE_BSD(msgctl) HIDE_BSD(msgget) HIDE_BSD(msgsnd) HIDE_BSD(msgrcv) HIDE_BSD(shmat) HIDE_BSD(shmctl) HIDE_BSD(shmdt) HIDE_BSD(shmget) HIDE_POSIX(clock_gettime) HIDE_POSIX(clock_settime) HIDE_POSIX(clock_getres) HIDE_POSIX(nanosleep) HIDE_BSD(minherit) HIDE_BSD(rfork) HIDE_BSD(openbsd_poll) HIDE_BSD(issetugid) HIDE_BSD(lchown) HIDE_BSD(getdents) HIDE_BSD(lchmod) HIDE_BSD(lchown) HIDE_BSD(lutimes) HIDE_BSD(msync) HIDE_BSD(nstat) HIDE_BSD(nfstat) HIDE_BSD(nlstat) HIDE_BSD(fhstatfs) HIDE_BSD(fhopen) HIDE_BSD(fhstat) HIDE_BSD(modnext) HIDE_BSD(modstat) HIDE_BSD(modfnext) HIDE_BSD(modfind) HIDE_BSD(kldload) HIDE_BSD(kldunload) HIDE_BSD(kldfind) HIDE_BSD(kldnext) HIDE_BSD(kldstat) HIDE_BSD(kldfirstmod) HIDE_BSD(getsid) HIDE_BSD(setresuid) HIDE_BSD(setresgid) HIDE_BSD(aio_return) HIDE_BSD(aio_suspend) HIDE_BSD(aio_cancel) HIDE_BSD(aio_error) HIDE_BSD(aio_read) HIDE_BSD(aio_write) HIDE_BSD(lio_listio) HIDE_BSD(yield) HIDE_BSD(thr_sleep) HIDE_BSD(thr_wakeup) HIDE_BSD(mlockall) HIDE_BSD(munlockall) HIDE_BSD(__getcwd) HIDE_POSIX(sched_setparam) HIDE_POSIX(sched_getparam) HIDE_POSIX(sched_setscheduler) HIDE_POSIX(sched_getscheduler) HIDE_POSIX(sched_yield) HIDE_POSIX(sched_get_priority_max) HIDE_POSIX(sched_get_priority_min) HIDE_POSIX(sched_rr_get_interval) HIDE_BSD(utrace) HIDE_BSD(sendfile) HIDE_BSD(kldsym) HIDE_BSD(jail) HIDE_BSD(pioctl) HIDE_POSIX(sigprocmask) HIDE_POSIX(sigsuspend) HIDE_POSIX(sigaction) HIDE_POSIX(sigpending) HIDE_BSD(sigreturn) HIDE_BSD(__acl_get_file) HIDE_BSD(__acl_set_file) HIDE_BSD(__acl_get_fd) HIDE_BSD(__acl_set_fd) HIDE_BSD(__acl_delete_file) HIDE_BSD(__acl_delete_fd) HIDE_BSD(__acl_aclcheck_file) HIDE_BSD(__acl_aclcheck_fd) HIDE_BSD(extattrctl) HIDE_BSD(extattr_set_file) HIDE_BSD(extattr_get_file) HIDE_BSD(extattr_delete_file) HIDE_BSD(aio_waitcomplete) HIDE_BSD(getresuid) HIDE_BSD(getresgid) HIDE_BSD(kqueue) HIDE_BSD(kevent) HIDE_BSD(__cap_get_proc) HIDE_BSD(__cap_set_proc) HIDE_BSD(__cap_get_fd) HIDE_BSD(__cap_get_file) HIDE_BSD(__cap_set_fd) HIDE_BSD(__cap_set_file) Index: head/sys/sys/syscall.h =================================================================== --- head/sys/sys/syscall.h (revision 63986) +++ head/sys/sys/syscall.h (revision 63987) @@ -1,294 +1,294 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.78 2000/07/13 20:31:24 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.80 2000/07/29 00:16:26 peter Exp */ #define SYS_syscall 0 -#define SYS_exit 1 +#define SYS_sys_exit 1 #define SYS_fork 2 #define SYS_read 3 #define SYS_write 4 #define SYS_open 5 #define SYS_close 6 #define SYS_wait4 7 /* 8 is old creat */ #define SYS_link 9 #define SYS_unlink 10 /* 11 is obsolete execv */ #define SYS_chdir 12 #define SYS_fchdir 13 #define SYS_mknod 14 #define SYS_chmod 15 #define SYS_chown 16 #define SYS_break 17 #define SYS_getfsstat 18 /* 19 is old lseek */ #define SYS_getpid 20 #define SYS_mount 21 #define SYS_unmount 22 #define SYS_setuid 23 #define SYS_getuid 24 #define SYS_geteuid 25 #define SYS_ptrace 26 #define SYS_recvmsg 27 #define SYS_sendmsg 28 #define SYS_recvfrom 29 #define SYS_accept 30 #define SYS_getpeername 31 #define SYS_getsockname 32 #define SYS_access 33 #define SYS_chflags 34 #define SYS_fchflags 35 #define SYS_sync 36 #define SYS_kill 37 /* 38 is old stat */ #define SYS_getppid 39 /* 40 is old lstat */ #define SYS_dup 41 #define SYS_pipe 42 #define SYS_getegid 43 #define SYS_profil 44 #define SYS_ktrace 45 /* 46 is old sigaction */ #define SYS_getgid 47 /* 48 is old sigprocmask */ #define SYS_getlogin 49 #define SYS_setlogin 50 #define SYS_acct 51 /* 52 is old sigpending */ #define SYS_sigaltstack 53 #define SYS_ioctl 54 #define SYS_reboot 55 #define SYS_revoke 56 #define SYS_symlink 57 #define SYS_readlink 58 #define SYS_execve 59 #define SYS_umask 60 #define SYS_chroot 61 /* 62 is old fstat */ /* 63 is old getkerninfo */ /* 64 is old getpagesize */ #define SYS_msync 65 #define SYS_vfork 66 /* 67 is obsolete vread */ /* 68 is obsolete vwrite */ #define SYS_sbrk 69 #define SYS_sstk 70 /* 71 is old mmap */ #define SYS_vadvise 72 #define SYS_munmap 73 #define SYS_mprotect 74 #define SYS_madvise 75 /* 76 is obsolete vhangup */ /* 77 is obsolete vlimit */ #define SYS_mincore 78 #define SYS_getgroups 79 #define SYS_setgroups 80 #define SYS_getpgrp 81 #define SYS_setpgid 82 #define SYS_setitimer 83 /* 84 is old wait */ #define SYS_swapon 85 #define SYS_getitimer 86 /* 87 is old gethostname */ /* 88 is old sethostname */ #define SYS_getdtablesize 89 #define SYS_dup2 90 #define SYS_fcntl 92 #define SYS_select 93 #define SYS_fsync 95 #define SYS_setpriority 96 #define SYS_socket 97 #define SYS_connect 98 /* 99 is old accept */ #define SYS_getpriority 100 /* 101 is old send */ /* 102 is old recv */ /* 103 is old sigreturn */ #define SYS_bind 104 #define SYS_setsockopt 105 #define SYS_listen 106 /* 107 is obsolete vtimes */ /* 108 is old sigvec */ /* 109 is old sigblock */ /* 110 is old sigsetmask */ /* 111 is old sigsuspend */ /* 112 is old sigstack */ /* 113 is old recvmsg */ /* 114 is old sendmsg */ /* 115 is obsolete vtrace */ #define SYS_gettimeofday 116 #define SYS_getrusage 117 #define SYS_getsockopt 118 #define SYS_readv 120 #define SYS_writev 121 #define SYS_settimeofday 122 #define SYS_fchown 123 #define SYS_fchmod 124 /* 125 is old recvfrom */ #define SYS_setreuid 126 #define SYS_setregid 127 #define SYS_rename 128 /* 129 is old truncate */ /* 130 is old ftruncate */ #define SYS_flock 131 #define SYS_mkfifo 132 #define SYS_sendto 133 #define SYS_shutdown 134 #define SYS_socketpair 135 #define SYS_mkdir 136 #define SYS_rmdir 137 #define SYS_utimes 138 /* 139 is obsolete 4.2 sigreturn */ #define SYS_adjtime 140 /* 141 is old getpeername */ /* 142 is old gethostid */ /* 143 is old sethostid */ /* 144 is old getrlimit */ /* 145 is old setrlimit */ /* 146 is old killpg */ #define SYS_setsid 147 #define SYS_quotactl 148 /* 149 is old quota */ /* 150 is old getsockname */ #define SYS_nfssvc 155 /* 156 is old getdirentries */ #define SYS_statfs 157 #define SYS_fstatfs 158 #define SYS_getfh 161 #define SYS_getdomainname 162 #define SYS_setdomainname 163 #define SYS_uname 164 #define SYS_sysarch 165 #define SYS_rtprio 166 #define SYS_semsys 169 #define SYS_msgsys 170 #define SYS_shmsys 171 #define SYS_pread 173 #define SYS_pwrite 174 #define SYS_ntp_adjtime 176 #define SYS_setgid 181 #define SYS_setegid 182 #define SYS_seteuid 183 #define SYS_stat 188 #define SYS_fstat 189 #define SYS_lstat 190 #define SYS_pathconf 191 #define SYS_fpathconf 192 #define SYS_getrlimit 194 #define SYS_setrlimit 195 #define SYS_getdirentries 196 #define SYS_mmap 197 #define SYS___syscall 198 #define SYS_lseek 199 #define SYS_truncate 200 #define SYS_ftruncate 201 #define SYS___sysctl 202 #define SYS_mlock 203 #define SYS_munlock 204 #define SYS_undelete 205 #define SYS_futimes 206 #define SYS_getpgid 207 #define SYS_poll 209 #define SYS___semctl 220 #define SYS_semget 221 #define SYS_semop 222 #define SYS_msgctl 224 #define SYS_msgget 225 #define SYS_msgsnd 226 #define SYS_msgrcv 227 #define SYS_shmat 228 #define SYS_shmctl 229 #define SYS_shmdt 230 #define SYS_shmget 231 #define SYS_clock_gettime 232 #define SYS_clock_settime 233 #define SYS_clock_getres 234 #define SYS_nanosleep 240 #define SYS_minherit 250 #define SYS_rfork 251 #define SYS_openbsd_poll 252 #define SYS_issetugid 253 #define SYS_lchown 254 #define SYS_getdents 272 #define SYS_lchmod 274 #define SYS_netbsd_lchown 275 #define SYS_lutimes 276 #define SYS_netbsd_msync 277 #define SYS_nstat 278 #define SYS_nfstat 279 #define SYS_nlstat 280 #define SYS_fhstatfs 297 #define SYS_fhopen 298 #define SYS_fhstat 299 #define SYS_modnext 300 #define SYS_modstat 301 #define SYS_modfnext 302 #define SYS_modfind 303 #define SYS_kldload 304 #define SYS_kldunload 305 #define SYS_kldfind 306 #define SYS_kldnext 307 #define SYS_kldstat 308 #define SYS_kldfirstmod 309 #define SYS_getsid 310 #define SYS_setresuid 311 #define SYS_setresgid 312 /* 313 is obsolete signanosleep */ #define SYS_aio_return 314 #define SYS_aio_suspend 315 #define SYS_aio_cancel 316 #define SYS_aio_error 317 #define SYS_aio_read 318 #define SYS_aio_write 319 #define SYS_lio_listio 320 #define SYS_yield 321 #define SYS_thr_sleep 322 #define SYS_thr_wakeup 323 #define SYS_mlockall 324 #define SYS_munlockall 325 #define SYS___getcwd 326 #define SYS_sched_setparam 327 #define SYS_sched_getparam 328 #define SYS_sched_setscheduler 329 #define SYS_sched_getscheduler 330 #define SYS_sched_yield 331 #define SYS_sched_get_priority_max 332 #define SYS_sched_get_priority_min 333 #define SYS_sched_rr_get_interval 334 #define SYS_utrace 335 #define SYS_sendfile 336 #define SYS_kldsym 337 #define SYS_jail 338 #define SYS_sigprocmask 340 #define SYS_sigsuspend 341 #define SYS_sigaction 342 #define SYS_sigpending 343 #define SYS_sigreturn 344 #define SYS___acl_get_file 347 #define SYS___acl_set_file 348 #define SYS___acl_get_fd 349 #define SYS___acl_set_fd 350 #define SYS___acl_delete_file 351 #define SYS___acl_delete_fd 352 #define SYS___acl_aclcheck_file 353 #define SYS___acl_aclcheck_fd 354 #define SYS_extattrctl 355 #define SYS_extattr_set_file 356 #define SYS_extattr_get_file 357 #define SYS_extattr_delete_file 358 #define SYS_aio_waitcomplete 359 #define SYS_getresuid 360 #define SYS_getresgid 361 #define SYS_kqueue 362 #define SYS_kevent 363 #define SYS___cap_get_proc 364 #define SYS___cap_set_proc 365 #define SYS___cap_get_fd 366 #define SYS___cap_get_file 367 #define SYS___cap_set_fd 368 #define SYS___cap_set_file 369 #define SYS_MAXSYSCALL 370 Index: head/sys/sys/syscall.mk =================================================================== --- head/sys/sys/syscall.mk (revision 63986) +++ head/sys/sys/syscall.mk (revision 63987) @@ -1,244 +1,244 @@ # FreeBSD system call names. # DO NOT EDIT-- this file is automatically generated. # $FreeBSD$ -# created from FreeBSD: src/sys/kern/syscalls.master,v 1.78 2000/07/13 20:31:24 rwatson Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.80 2000/07/29 00:16:26 peter Exp MIASM = \ syscall.o \ - exit.o \ + sys_exit.o \ fork.o \ read.o \ write.o \ open.o \ close.o \ wait4.o \ link.o \ unlink.o \ chdir.o \ fchdir.o \ mknod.o \ chmod.o \ chown.o \ break.o \ getfsstat.o \ getpid.o \ mount.o \ unmount.o \ setuid.o \ getuid.o \ geteuid.o \ ptrace.o \ recvmsg.o \ sendmsg.o \ recvfrom.o \ accept.o \ getpeername.o \ getsockname.o \ access.o \ chflags.o \ fchflags.o \ sync.o \ kill.o \ getppid.o \ dup.o \ pipe.o \ getegid.o \ profil.o \ ktrace.o \ getgid.o \ getlogin.o \ setlogin.o \ acct.o \ sigaltstack.o \ ioctl.o \ reboot.o \ revoke.o \ symlink.o \ readlink.o \ execve.o \ umask.o \ chroot.o \ msync.o \ vfork.o \ sbrk.o \ sstk.o \ vadvise.o \ munmap.o \ mprotect.o \ madvise.o \ mincore.o \ getgroups.o \ setgroups.o \ getpgrp.o \ setpgid.o \ setitimer.o \ swapon.o \ getitimer.o \ getdtablesize.o \ dup2.o \ fcntl.o \ select.o \ fsync.o \ setpriority.o \ socket.o \ connect.o \ getpriority.o \ bind.o \ setsockopt.o \ listen.o \ gettimeofday.o \ getrusage.o \ getsockopt.o \ readv.o \ writev.o \ settimeofday.o \ fchown.o \ fchmod.o \ setreuid.o \ setregid.o \ rename.o \ flock.o \ mkfifo.o \ sendto.o \ shutdown.o \ socketpair.o \ mkdir.o \ rmdir.o \ utimes.o \ adjtime.o \ setsid.o \ quotactl.o \ nfssvc.o \ statfs.o \ fstatfs.o \ getfh.o \ getdomainname.o \ setdomainname.o \ uname.o \ sysarch.o \ rtprio.o \ semsys.o \ msgsys.o \ shmsys.o \ pread.o \ pwrite.o \ ntp_adjtime.o \ setgid.o \ setegid.o \ seteuid.o \ stat.o \ fstat.o \ lstat.o \ pathconf.o \ fpathconf.o \ getrlimit.o \ setrlimit.o \ getdirentries.o \ mmap.o \ __syscall.o \ lseek.o \ truncate.o \ ftruncate.o \ __sysctl.o \ mlock.o \ munlock.o \ undelete.o \ futimes.o \ getpgid.o \ poll.o \ __semctl.o \ semget.o \ semop.o \ msgctl.o \ msgget.o \ msgsnd.o \ msgrcv.o \ shmat.o \ shmctl.o \ shmdt.o \ shmget.o \ clock_gettime.o \ clock_settime.o \ clock_getres.o \ nanosleep.o \ minherit.o \ rfork.o \ openbsd_poll.o \ issetugid.o \ lchown.o \ getdents.o \ lchmod.o \ netbsd_lchown.o \ lutimes.o \ netbsd_msync.o \ nstat.o \ nfstat.o \ nlstat.o \ fhstatfs.o \ fhopen.o \ fhstat.o \ modnext.o \ modstat.o \ modfnext.o \ modfind.o \ kldload.o \ kldunload.o \ kldfind.o \ kldnext.o \ kldstat.o \ kldfirstmod.o \ getsid.o \ setresuid.o \ setresgid.o \ aio_return.o \ aio_suspend.o \ aio_cancel.o \ aio_error.o \ aio_read.o \ aio_write.o \ lio_listio.o \ yield.o \ thr_sleep.o \ thr_wakeup.o \ mlockall.o \ munlockall.o \ __getcwd.o \ sched_setparam.o \ sched_getparam.o \ sched_setscheduler.o \ sched_getscheduler.o \ sched_yield.o \ sched_get_priority_max.o \ sched_get_priority_min.o \ sched_rr_get_interval.o \ utrace.o \ sendfile.o \ kldsym.o \ jail.o \ sigprocmask.o \ sigsuspend.o \ sigaction.o \ sigpending.o \ sigreturn.o \ __acl_get_file.o \ __acl_set_file.o \ __acl_get_fd.o \ __acl_set_fd.o \ __acl_delete_file.o \ __acl_delete_fd.o \ __acl_aclcheck_file.o \ __acl_aclcheck_fd.o \ extattrctl.o \ extattr_set_file.o \ extattr_get_file.o \ extattr_delete_file.o \ aio_waitcomplete.o \ getresuid.o \ getresgid.o \ kqueue.o \ kevent.o \ __cap_get_proc.o \ __cap_set_proc.o \ __cap_get_fd.o \ __cap_get_file.o \ __cap_set_fd.o \ __cap_set_file.o Index: head/sys/sys/sysproto.h =================================================================== --- head/sys/sys/sysproto.h (revision 63986) +++ head/sys/sys/sysproto.h (revision 63987) @@ -1,1457 +1,1457 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.78 2000/07/13 20:31:24 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.80 2000/07/29 00:16:26 peter Exp */ #ifndef _SYS_SYSPROTO_H_ #define _SYS_SYSPROTO_H_ #include #include struct proc; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) struct nosys_args { register_t dummy; }; -struct rexit_args { +struct sys_exit_args { int rval; char rval_[PAD_(int)]; }; struct fork_args { register_t dummy; }; struct read_args { int fd; char fd_[PAD_(int)]; void * buf; char buf_[PAD_(void *)]; size_t nbyte; char nbyte_[PAD_(size_t)]; }; struct write_args { int fd; char fd_[PAD_(int)]; const void * buf; char buf_[PAD_(const void *)]; size_t nbyte; char nbyte_[PAD_(size_t)]; }; struct open_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct close_args { int fd; char fd_[PAD_(int)]; }; struct wait_args { int pid; char pid_[PAD_(int)]; int * status; char status_[PAD_(int *)]; int options; char options_[PAD_(int)]; struct rusage * rusage; char rusage_[PAD_(struct rusage *)]; }; struct link_args { char * path; char path_[PAD_(char *)]; char * link; char link_[PAD_(char *)]; }; struct unlink_args { char * path; char path_[PAD_(char *)]; }; struct chdir_args { char * path; char path_[PAD_(char *)]; }; struct fchdir_args { int fd; char fd_[PAD_(int)]; }; struct mknod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; int dev; char dev_[PAD_(int)]; }; struct chmod_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct chown_args { char * path; char path_[PAD_(char *)]; int uid; char uid_[PAD_(int)]; int gid; char gid_[PAD_(int)]; }; struct obreak_args { char * nsize; char nsize_[PAD_(char *)]; }; struct getfsstat_args { struct statfs * buf; char buf_[PAD_(struct statfs *)]; long bufsize; char bufsize_[PAD_(long)]; int flags; char flags_[PAD_(int)]; }; struct getpid_args { register_t dummy; }; struct mount_args { char * type; char type_[PAD_(char *)]; char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct unmount_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct setuid_args { uid_t uid; char uid_[PAD_(uid_t)]; }; struct getuid_args { register_t dummy; }; struct geteuid_args { register_t dummy; }; struct ptrace_args { int req; char req_[PAD_(int)]; pid_t pid; char pid_[PAD_(pid_t)]; caddr_t addr; char addr_[PAD_(caddr_t)]; int data; char data_[PAD_(int)]; }; struct recvmsg_args { int s; char s_[PAD_(int)]; struct msghdr * msg; char msg_[PAD_(struct msghdr *)]; int flags; char flags_[PAD_(int)]; }; struct sendmsg_args { int s; char s_[PAD_(int)]; caddr_t msg; char msg_[PAD_(caddr_t)]; int flags; char flags_[PAD_(int)]; }; struct recvfrom_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; size_t len; char len_[PAD_(size_t)]; int flags; char flags_[PAD_(int)]; caddr_t from; char from_[PAD_(caddr_t)]; int * fromlenaddr; char fromlenaddr_[PAD_(int *)]; }; struct accept_args { int s; char s_[PAD_(int)]; caddr_t name; char name_[PAD_(caddr_t)]; int * anamelen; char anamelen_[PAD_(int *)]; }; struct getpeername_args { int fdes; char fdes_[PAD_(int)]; caddr_t asa; char asa_[PAD_(caddr_t)]; int * alen; char alen_[PAD_(int *)]; }; struct getsockname_args { int fdes; char fdes_[PAD_(int)]; caddr_t asa; char asa_[PAD_(caddr_t)]; int * alen; char alen_[PAD_(int *)]; }; struct access_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct chflags_args { char * path; char path_[PAD_(char *)]; int flags; char flags_[PAD_(int)]; }; struct fchflags_args { int fd; char fd_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct sync_args { register_t dummy; }; struct kill_args { int pid; char pid_[PAD_(int)]; int signum; char signum_[PAD_(int)]; }; struct getppid_args { register_t dummy; }; struct dup_args { u_int fd; char fd_[PAD_(u_int)]; }; struct pipe_args { register_t dummy; }; struct getegid_args { register_t dummy; }; struct profil_args { caddr_t samples; char samples_[PAD_(caddr_t)]; size_t size; char size_[PAD_(size_t)]; size_t offset; char offset_[PAD_(size_t)]; u_int scale; char scale_[PAD_(u_int)]; }; struct ktrace_args { const char * fname; char fname_[PAD_(const char *)]; int ops; char ops_[PAD_(int)]; int facs; char facs_[PAD_(int)]; int pid; char pid_[PAD_(int)]; }; struct getgid_args { register_t dummy; }; struct getlogin_args { char * namebuf; char namebuf_[PAD_(char *)]; u_int namelen; char namelen_[PAD_(u_int)]; }; struct setlogin_args { char * namebuf; char namebuf_[PAD_(char *)]; }; struct acct_args { char * path; char path_[PAD_(char *)]; }; struct osigpending_args { register_t dummy; }; struct sigaltstack_args { stack_t * ss; char ss_[PAD_(stack_t *)]; stack_t * oss; char oss_[PAD_(stack_t *)]; }; struct ioctl_args { int fd; char fd_[PAD_(int)]; u_long com; char com_[PAD_(u_long)]; caddr_t data; char data_[PAD_(caddr_t)]; }; struct reboot_args { int opt; char opt_[PAD_(int)]; }; struct revoke_args { char * path; char path_[PAD_(char *)]; }; struct symlink_args { char * path; char path_[PAD_(char *)]; char * link; char link_[PAD_(char *)]; }; struct readlink_args { char * path; char path_[PAD_(char *)]; char * buf; char buf_[PAD_(char *)]; int count; char count_[PAD_(int)]; }; struct execve_args { char * fname; char fname_[PAD_(char *)]; char ** argv; char argv_[PAD_(char **)]; char ** envv; char envv_[PAD_(char **)]; }; struct umask_args { int newmask; char newmask_[PAD_(int)]; }; struct chroot_args { char * path; char path_[PAD_(char *)]; }; struct getpagesize_args { register_t dummy; }; struct msync_args { void * addr; char addr_[PAD_(void *)]; size_t len; char len_[PAD_(size_t)]; int flags; char flags_[PAD_(int)]; }; struct vfork_args { register_t dummy; }; struct sbrk_args { int incr; char incr_[PAD_(int)]; }; struct sstk_args { int incr; char incr_[PAD_(int)]; }; struct ovadvise_args { int anom; char anom_[PAD_(int)]; }; struct munmap_args { void * addr; char addr_[PAD_(void *)]; size_t len; char len_[PAD_(size_t)]; }; struct mprotect_args { const void * addr; char addr_[PAD_(const void *)]; size_t len; char len_[PAD_(size_t)]; int prot; char prot_[PAD_(int)]; }; struct madvise_args { void * addr; char addr_[PAD_(void *)]; size_t len; char len_[PAD_(size_t)]; int behav; char behav_[PAD_(int)]; }; struct mincore_args { const void * addr; char addr_[PAD_(const void *)]; size_t len; char len_[PAD_(size_t)]; char * vec; char vec_[PAD_(char *)]; }; struct getgroups_args { u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; gid_t * gidset; char gidset_[PAD_(gid_t *)]; }; struct setgroups_args { u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; gid_t * gidset; char gidset_[PAD_(gid_t *)]; }; struct getpgrp_args { register_t dummy; }; struct setpgid_args { int pid; char pid_[PAD_(int)]; int pgid; char pgid_[PAD_(int)]; }; struct setitimer_args { u_int which; char which_[PAD_(u_int)]; struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)]; }; struct owait_args { register_t dummy; }; struct swapon_args { char * name; char name_[PAD_(char *)]; }; struct getitimer_args { u_int which; char which_[PAD_(u_int)]; struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; }; struct getdtablesize_args { register_t dummy; }; struct dup2_args { u_int from; char from_[PAD_(u_int)]; u_int to; char to_[PAD_(u_int)]; }; struct fcntl_args { int fd; char fd_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; long arg; char arg_[PAD_(long)]; }; struct select_args { int nd; char nd_[PAD_(int)]; fd_set * in; char in_[PAD_(fd_set *)]; fd_set * ou; char ou_[PAD_(fd_set *)]; fd_set * ex; char ex_[PAD_(fd_set *)]; struct timeval * tv; char tv_[PAD_(struct timeval *)]; }; struct fsync_args { int fd; char fd_[PAD_(int)]; }; struct setpriority_args { int which; char which_[PAD_(int)]; int who; char who_[PAD_(int)]; int prio; char prio_[PAD_(int)]; }; struct socket_args { int domain; char domain_[PAD_(int)]; int type; char type_[PAD_(int)]; int protocol; char protocol_[PAD_(int)]; }; struct connect_args { int s; char s_[PAD_(int)]; caddr_t name; char name_[PAD_(caddr_t)]; int namelen; char namelen_[PAD_(int)]; }; struct getpriority_args { int which; char which_[PAD_(int)]; int who; char who_[PAD_(int)]; }; struct bind_args { int s; char s_[PAD_(int)]; caddr_t name; char name_[PAD_(caddr_t)]; int namelen; char namelen_[PAD_(int)]; }; struct setsockopt_args { int s; char s_[PAD_(int)]; int level; char level_[PAD_(int)]; int name; char name_[PAD_(int)]; caddr_t val; char val_[PAD_(caddr_t)]; int valsize; char valsize_[PAD_(int)]; }; struct listen_args { int s; char s_[PAD_(int)]; int backlog; char backlog_[PAD_(int)]; }; struct gettimeofday_args { struct timeval * tp; char tp_[PAD_(struct timeval *)]; struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; }; struct getrusage_args { int who; char who_[PAD_(int)]; struct rusage * rusage; char rusage_[PAD_(struct rusage *)]; }; struct getsockopt_args { int s; char s_[PAD_(int)]; int level; char level_[PAD_(int)]; int name; char name_[PAD_(int)]; caddr_t val; char val_[PAD_(caddr_t)]; int * avalsize; char avalsize_[PAD_(int *)]; }; struct readv_args { int fd; char fd_[PAD_(int)]; struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; u_int iovcnt; char iovcnt_[PAD_(u_int)]; }; struct writev_args { int fd; char fd_[PAD_(int)]; struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; u_int iovcnt; char iovcnt_[PAD_(u_int)]; }; struct settimeofday_args { struct timeval * tv; char tv_[PAD_(struct timeval *)]; struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; }; struct fchown_args { int fd; char fd_[PAD_(int)]; int uid; char uid_[PAD_(int)]; int gid; char gid_[PAD_(int)]; }; struct fchmod_args { int fd; char fd_[PAD_(int)]; int mode; char mode_[PAD_(int)]; }; struct setreuid_args { int ruid; char ruid_[PAD_(int)]; int euid; char euid_[PAD_(int)]; }; struct setregid_args { int rgid; char rgid_[PAD_(int)]; int egid; char egid_[PAD_(int)]; }; struct rename_args { char * from; char from_[PAD_(char *)]; char * to; char to_[PAD_(char *)]; }; struct flock_args { int fd; char fd_[PAD_(int)]; int how; char how_[PAD_(int)]; }; struct mkfifo_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct sendto_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; size_t len; char len_[PAD_(size_t)]; int flags; char flags_[PAD_(int)]; caddr_t to; char to_[PAD_(caddr_t)]; int tolen; char tolen_[PAD_(int)]; }; struct shutdown_args { int s; char s_[PAD_(int)]; int how; char how_[PAD_(int)]; }; struct socketpair_args { int domain; char domain_[PAD_(int)]; int type; char type_[PAD_(int)]; int protocol; char protocol_[PAD_(int)]; int * rsv; char rsv_[PAD_(int *)]; }; struct mkdir_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct rmdir_args { char * path; char path_[PAD_(char *)]; }; struct utimes_args { char * path; char path_[PAD_(char *)]; struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; }; struct adjtime_args { struct timeval * delta; char delta_[PAD_(struct timeval *)]; struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)]; }; struct ogethostid_args { register_t dummy; }; struct setsid_args { register_t dummy; }; struct quotactl_args { char * path; char path_[PAD_(char *)]; int cmd; char cmd_[PAD_(int)]; int uid; char uid_[PAD_(int)]; caddr_t arg; char arg_[PAD_(caddr_t)]; }; struct oquota_args { register_t dummy; }; struct nfssvc_args { int flag; char flag_[PAD_(int)]; caddr_t argp; char argp_[PAD_(caddr_t)]; }; struct statfs_args { char * path; char path_[PAD_(char *)]; struct statfs * buf; char buf_[PAD_(struct statfs *)]; }; struct fstatfs_args { int fd; char fd_[PAD_(int)]; struct statfs * buf; char buf_[PAD_(struct statfs *)]; }; struct getfh_args { char * fname; char fname_[PAD_(char *)]; struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)]; }; struct getdomainname_args { char * domainname; char domainname_[PAD_(char *)]; int len; char len_[PAD_(int)]; }; struct setdomainname_args { char * domainname; char domainname_[PAD_(char *)]; int len; char len_[PAD_(int)]; }; struct uname_args { struct utsname * name; char name_[PAD_(struct utsname *)]; }; struct sysarch_args { int op; char op_[PAD_(int)]; char * parms; char parms_[PAD_(char *)]; }; struct rtprio_args { int function; char function_[PAD_(int)]; pid_t pid; char pid_[PAD_(pid_t)]; struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; }; struct semsys_args { int which; char which_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; }; struct msgsys_args { int which; char which_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; int a5; char a5_[PAD_(int)]; int a6; char a6_[PAD_(int)]; }; struct shmsys_args { int which; char which_[PAD_(int)]; int a2; char a2_[PAD_(int)]; int a3; char a3_[PAD_(int)]; int a4; char a4_[PAD_(int)]; }; struct pread_args { int fd; char fd_[PAD_(int)]; void * buf; char buf_[PAD_(void *)]; size_t nbyte; char nbyte_[PAD_(size_t)]; int pad; char pad_[PAD_(int)]; off_t offset; char offset_[PAD_(off_t)]; }; struct pwrite_args { int fd; char fd_[PAD_(int)]; const void * buf; char buf_[PAD_(const void *)]; size_t nbyte; char nbyte_[PAD_(size_t)]; int pad; char pad_[PAD_(int)]; off_t offset; char offset_[PAD_(off_t)]; }; struct ntp_adjtime_args { struct timex * tp; char tp_[PAD_(struct timex *)]; }; struct setgid_args { gid_t gid; char gid_[PAD_(gid_t)]; }; struct setegid_args { gid_t egid; char egid_[PAD_(gid_t)]; }; struct seteuid_args { uid_t euid; char euid_[PAD_(uid_t)]; }; struct stat_args { char * path; char path_[PAD_(char *)]; struct stat * ub; char ub_[PAD_(struct stat *)]; }; struct fstat_args { int fd; char fd_[PAD_(int)]; struct stat * sb; char sb_[PAD_(struct stat *)]; }; struct lstat_args { char * path; char path_[PAD_(char *)]; struct stat * ub; char ub_[PAD_(struct stat *)]; }; struct pathconf_args { char * path; char path_[PAD_(char *)]; int name; char name_[PAD_(int)]; }; struct fpathconf_args { int fd; char fd_[PAD_(int)]; int name; char name_[PAD_(int)]; }; struct __getrlimit_args { u_int which; char which_[PAD_(u_int)]; struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)]; }; struct __setrlimit_args { u_int which; char which_[PAD_(u_int)]; struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)]; }; struct getdirentries_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; u_int count; char count_[PAD_(u_int)]; long * basep; char basep_[PAD_(long *)]; }; struct mmap_args { caddr_t addr; char addr_[PAD_(caddr_t)]; size_t len; char len_[PAD_(size_t)]; int prot; char prot_[PAD_(int)]; int flags; char flags_[PAD_(int)]; int fd; char fd_[PAD_(int)]; int pad; char pad_[PAD_(int)]; off_t pos; char pos_[PAD_(off_t)]; }; struct lseek_args { int fd; char fd_[PAD_(int)]; int pad; char pad_[PAD_(int)]; off_t offset; char offset_[PAD_(off_t)]; int whence; char whence_[PAD_(int)]; }; struct truncate_args { char * path; char path_[PAD_(char *)]; int pad; char pad_[PAD_(int)]; off_t length; char length_[PAD_(off_t)]; }; struct ftruncate_args { int fd; char fd_[PAD_(int)]; int pad; char pad_[PAD_(int)]; off_t length; char length_[PAD_(off_t)]; }; struct sysctl_args { int * name; char name_[PAD_(int *)]; u_int namelen; char namelen_[PAD_(u_int)]; void * old; char old_[PAD_(void *)]; size_t * oldlenp; char oldlenp_[PAD_(size_t *)]; void * new; char new_[PAD_(void *)]; size_t newlen; char newlen_[PAD_(size_t)]; }; struct mlock_args { const void * addr; char addr_[PAD_(const void *)]; size_t len; char len_[PAD_(size_t)]; }; struct munlock_args { const void * addr; char addr_[PAD_(const void *)]; size_t len; char len_[PAD_(size_t)]; }; struct undelete_args { char * path; char path_[PAD_(char *)]; }; struct futimes_args { int fd; char fd_[PAD_(int)]; struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; }; struct getpgid_args { pid_t pid; char pid_[PAD_(pid_t)]; }; struct poll_args { struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; u_int nfds; char nfds_[PAD_(u_int)]; int timeout; char timeout_[PAD_(int)]; }; struct __semctl_args { int semid; char semid_[PAD_(int)]; int semnum; char semnum_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; union semun * arg; char arg_[PAD_(union semun *)]; }; struct semget_args { key_t key; char key_[PAD_(key_t)]; int nsems; char nsems_[PAD_(int)]; int semflg; char semflg_[PAD_(int)]; }; struct semop_args { int semid; char semid_[PAD_(int)]; struct sembuf * sops; char sops_[PAD_(struct sembuf *)]; u_int nsops; char nsops_[PAD_(u_int)]; }; struct msgctl_args { int msqid; char msqid_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; struct msqid_ds * buf; char buf_[PAD_(struct msqid_ds *)]; }; struct msgget_args { key_t key; char key_[PAD_(key_t)]; int msgflg; char msgflg_[PAD_(int)]; }; struct msgsnd_args { int msqid; char msqid_[PAD_(int)]; void * msgp; char msgp_[PAD_(void *)]; size_t msgsz; char msgsz_[PAD_(size_t)]; int msgflg; char msgflg_[PAD_(int)]; }; struct msgrcv_args { int msqid; char msqid_[PAD_(int)]; void * msgp; char msgp_[PAD_(void *)]; size_t msgsz; char msgsz_[PAD_(size_t)]; long msgtyp; char msgtyp_[PAD_(long)]; int msgflg; char msgflg_[PAD_(int)]; }; struct shmat_args { int shmid; char shmid_[PAD_(int)]; void * shmaddr; char shmaddr_[PAD_(void *)]; int shmflg; char shmflg_[PAD_(int)]; }; struct shmctl_args { int shmid; char shmid_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; struct shmid_ds * buf; char buf_[PAD_(struct shmid_ds *)]; }; struct shmdt_args { void * shmaddr; char shmaddr_[PAD_(void *)]; }; struct shmget_args { key_t key; char key_[PAD_(key_t)]; int size; char size_[PAD_(int)]; int shmflg; char shmflg_[PAD_(int)]; }; struct clock_gettime_args { clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; struct timespec * tp; char tp_[PAD_(struct timespec *)]; }; struct clock_settime_args { clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; const struct timespec * tp; char tp_[PAD_(const struct timespec *)]; }; struct clock_getres_args { clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; struct timespec * tp; char tp_[PAD_(struct timespec *)]; }; struct nanosleep_args { const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)]; struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)]; }; struct minherit_args { void * addr; char addr_[PAD_(void *)]; size_t len; char len_[PAD_(size_t)]; int inherit; char inherit_[PAD_(int)]; }; struct rfork_args { int flags; char flags_[PAD_(int)]; }; struct openbsd_poll_args { struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; u_int nfds; char nfds_[PAD_(u_int)]; int timeout; char timeout_[PAD_(int)]; }; struct issetugid_args { register_t dummy; }; struct lchown_args { char * path; char path_[PAD_(char *)]; int uid; char uid_[PAD_(int)]; int gid; char gid_[PAD_(int)]; }; struct getdents_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; size_t count; char count_[PAD_(size_t)]; }; struct lchmod_args { char * path; char path_[PAD_(char *)]; mode_t mode; char mode_[PAD_(mode_t)]; }; struct lutimes_args { char * path; char path_[PAD_(char *)]; struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; }; struct nstat_args { char * path; char path_[PAD_(char *)]; struct nstat * ub; char ub_[PAD_(struct nstat *)]; }; struct nfstat_args { int fd; char fd_[PAD_(int)]; struct nstat * sb; char sb_[PAD_(struct nstat *)]; }; struct nlstat_args { char * path; char path_[PAD_(char *)]; struct nstat * ub; char ub_[PAD_(struct nstat *)]; }; struct fhstatfs_args { const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; struct statfs * buf; char buf_[PAD_(struct statfs *)]; }; struct fhopen_args { const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; int flags; char flags_[PAD_(int)]; }; struct fhstat_args { const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; struct stat * sb; char sb_[PAD_(struct stat *)]; }; struct modnext_args { int modid; char modid_[PAD_(int)]; }; struct modstat_args { int modid; char modid_[PAD_(int)]; struct module_stat * stat; char stat_[PAD_(struct module_stat *)]; }; struct modfnext_args { int modid; char modid_[PAD_(int)]; }; struct modfind_args { const char * name; char name_[PAD_(const char *)]; }; struct kldload_args { const char * file; char file_[PAD_(const char *)]; }; struct kldunload_args { int fileid; char fileid_[PAD_(int)]; }; struct kldfind_args { const char * file; char file_[PAD_(const char *)]; }; struct kldnext_args { int fileid; char fileid_[PAD_(int)]; }; struct kldstat_args { int fileid; char fileid_[PAD_(int)]; struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)]; }; struct kldfirstmod_args { int fileid; char fileid_[PAD_(int)]; }; struct getsid_args { pid_t pid; char pid_[PAD_(pid_t)]; }; struct setresuid_args { uid_t ruid; char ruid_[PAD_(uid_t)]; uid_t euid; char euid_[PAD_(uid_t)]; uid_t suid; char suid_[PAD_(uid_t)]; }; struct setresgid_args { gid_t rgid; char rgid_[PAD_(gid_t)]; gid_t egid; char egid_[PAD_(gid_t)]; gid_t sgid; char sgid_[PAD_(gid_t)]; }; struct aio_return_args { struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; }; struct aio_suspend_args { struct aiocb *const * aiocbp; char aiocbp_[PAD_(struct aiocb *const *)]; int nent; char nent_[PAD_(int)]; const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; }; struct aio_cancel_args { int fd; char fd_[PAD_(int)]; struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; }; struct aio_error_args { struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; }; struct aio_read_args { struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; }; struct aio_write_args { struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; }; struct lio_listio_args { int mode; char mode_[PAD_(int)]; struct aiocb *const * acb_list; char acb_list_[PAD_(struct aiocb *const *)]; int nent; char nent_[PAD_(int)]; struct sigevent * sig; char sig_[PAD_(struct sigevent *)]; }; struct yield_args { register_t dummy; }; struct thr_sleep_args { const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; }; struct thr_wakeup_args { pid_t pid; char pid_[PAD_(pid_t)]; }; struct mlockall_args { int how; char how_[PAD_(int)]; }; struct munlockall_args { register_t dummy; }; struct __getcwd_args { u_char * buf; char buf_[PAD_(u_char *)]; u_int buflen; char buflen_[PAD_(u_int)]; }; struct sched_setparam_args { pid_t pid; char pid_[PAD_(pid_t)]; const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; }; struct sched_getparam_args { pid_t pid; char pid_[PAD_(pid_t)]; struct sched_param * param; char param_[PAD_(struct sched_param *)]; }; struct sched_setscheduler_args { pid_t pid; char pid_[PAD_(pid_t)]; int policy; char policy_[PAD_(int)]; const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; }; struct sched_getscheduler_args { pid_t pid; char pid_[PAD_(pid_t)]; }; struct sched_yield_args { register_t dummy; }; struct sched_get_priority_max_args { int policy; char policy_[PAD_(int)]; }; struct sched_get_priority_min_args { int policy; char policy_[PAD_(int)]; }; struct sched_rr_get_interval_args { pid_t pid; char pid_[PAD_(pid_t)]; struct timespec * interval; char interval_[PAD_(struct timespec *)]; }; struct utrace_args { const void * addr; char addr_[PAD_(const void *)]; size_t len; char len_[PAD_(size_t)]; }; struct sendfile_args { int fd; char fd_[PAD_(int)]; int s; char s_[PAD_(int)]; off_t offset; char offset_[PAD_(off_t)]; size_t nbytes; char nbytes_[PAD_(size_t)]; struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)]; off_t * sbytes; char sbytes_[PAD_(off_t *)]; int flags; char flags_[PAD_(int)]; }; struct kldsym_args { int fileid; char fileid_[PAD_(int)]; int cmd; char cmd_[PAD_(int)]; void * data; char data_[PAD_(void *)]; }; struct jail_args { struct jail * jail; char jail_[PAD_(struct jail *)]; }; struct sigprocmask_args { int how; char how_[PAD_(int)]; const sigset_t * set; char set_[PAD_(const sigset_t *)]; sigset_t * oset; char oset_[PAD_(sigset_t *)]; }; struct sigsuspend_args { const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; }; struct sigaction_args { int sig; char sig_[PAD_(int)]; const struct sigaction * act; char act_[PAD_(const struct sigaction *)]; struct sigaction * oact; char oact_[PAD_(struct sigaction *)]; }; struct sigpending_args { sigset_t * set; char set_[PAD_(sigset_t *)]; }; struct sigreturn_args { ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)]; }; struct __acl_get_file_args { const char * path; char path_[PAD_(const char *)]; acl_type_t type; char type_[PAD_(acl_type_t)]; struct acl * aclp; char aclp_[PAD_(struct acl *)]; }; struct __acl_set_file_args { const char * path; char path_[PAD_(const char *)]; acl_type_t type; char type_[PAD_(acl_type_t)]; struct acl * aclp; char aclp_[PAD_(struct acl *)]; }; struct __acl_get_fd_args { int filedes; char filedes_[PAD_(int)]; acl_type_t type; char type_[PAD_(acl_type_t)]; struct acl * aclp; char aclp_[PAD_(struct acl *)]; }; struct __acl_set_fd_args { int filedes; char filedes_[PAD_(int)]; acl_type_t type; char type_[PAD_(acl_type_t)]; struct acl * aclp; char aclp_[PAD_(struct acl *)]; }; struct __acl_delete_file_args { const char * path; char path_[PAD_(const char *)]; acl_type_t type; char type_[PAD_(acl_type_t)]; }; struct __acl_delete_fd_args { int filedes; char filedes_[PAD_(int)]; acl_type_t type; char type_[PAD_(acl_type_t)]; }; struct __acl_aclcheck_file_args { const char * path; char path_[PAD_(const char *)]; acl_type_t type; char type_[PAD_(acl_type_t)]; struct acl * aclp; char aclp_[PAD_(struct acl *)]; }; struct __acl_aclcheck_fd_args { int filedes; char filedes_[PAD_(int)]; acl_type_t type; char type_[PAD_(acl_type_t)]; struct acl * aclp; char aclp_[PAD_(struct acl *)]; }; struct extattrctl_args { const char * path; char path_[PAD_(const char *)]; int cmd; char cmd_[PAD_(int)]; const char * attrname; char attrname_[PAD_(const char *)]; char * arg; char arg_[PAD_(char *)]; }; struct extattr_set_file_args { const char * path; char path_[PAD_(const char *)]; const char * attrname; char attrname_[PAD_(const char *)]; struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; unsigned iovcnt; char iovcnt_[PAD_(unsigned)]; }; struct extattr_get_file_args { const char * path; char path_[PAD_(const char *)]; const char * attrname; char attrname_[PAD_(const char *)]; struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; unsigned iovcnt; char iovcnt_[PAD_(unsigned)]; }; struct extattr_delete_file_args { const char * path; char path_[PAD_(const char *)]; const char * attrname; char attrname_[PAD_(const char *)]; }; struct aio_waitcomplete_args { struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)]; struct timespec * timeout; char timeout_[PAD_(struct timespec *)]; }; struct getresuid_args { uid_t * ruid; char ruid_[PAD_(uid_t *)]; uid_t * euid; char euid_[PAD_(uid_t *)]; uid_t * suid; char suid_[PAD_(uid_t *)]; }; struct getresgid_args { gid_t * rgid; char rgid_[PAD_(gid_t *)]; gid_t * egid; char egid_[PAD_(gid_t *)]; gid_t * sgid; char sgid_[PAD_(gid_t *)]; }; struct kqueue_args { register_t dummy; }; struct kevent_args { int fd; char fd_[PAD_(int)]; const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)]; int nchanges; char nchanges_[PAD_(int)]; struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)]; int nevents; char nevents_[PAD_(int)]; const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; }; struct __cap_get_proc_args { struct cap * cap_p; char cap_p_[PAD_(struct cap *)]; }; struct __cap_set_proc_args { struct cap * cap_p; char cap_p_[PAD_(struct cap *)]; }; struct __cap_get_fd_args { int fd; char fd_[PAD_(int)]; struct cap * cap_p; char cap_p_[PAD_(struct cap *)]; }; struct __cap_get_file_args { const char * path_p; char path_p_[PAD_(const char *)]; struct cap * cap_p; char cap_p_[PAD_(struct cap *)]; }; struct __cap_set_fd_args { int fd; char fd_[PAD_(int)]; struct cap * cap_p; char cap_p_[PAD_(struct cap *)]; }; struct __cap_set_file_args { const char * path_p; char path_p_[PAD_(const char *)]; struct cap * cap_p; char cap_p_[PAD_(struct cap *)]; }; int nosys __P((struct proc *, struct nosys_args *)); -void exit __P((struct proc *, struct rexit_args *)) __dead2; +void sys_exit __P((struct proc *, struct sys_exit_args *)); int fork __P((struct proc *, struct fork_args *)); int read __P((struct proc *, struct read_args *)); int write __P((struct proc *, struct write_args *)); int open __P((struct proc *, struct open_args *)); int close __P((struct proc *, struct close_args *)); int wait4 __P((struct proc *, struct wait_args *)); int link __P((struct proc *, struct link_args *)); int unlink __P((struct proc *, struct unlink_args *)); int chdir __P((struct proc *, struct chdir_args *)); int fchdir __P((struct proc *, struct fchdir_args *)); int mknod __P((struct proc *, struct mknod_args *)); int chmod __P((struct proc *, struct chmod_args *)); int chown __P((struct proc *, struct chown_args *)); int obreak __P((struct proc *, struct obreak_args *)); int getfsstat __P((struct proc *, struct getfsstat_args *)); int getpid __P((struct proc *, struct getpid_args *)); int mount __P((struct proc *, struct mount_args *)); int unmount __P((struct proc *, struct unmount_args *)); int setuid __P((struct proc *, struct setuid_args *)); int getuid __P((struct proc *, struct getuid_args *)); int geteuid __P((struct proc *, struct geteuid_args *)); int ptrace __P((struct proc *, struct ptrace_args *)); int recvmsg __P((struct proc *, struct recvmsg_args *)); int sendmsg __P((struct proc *, struct sendmsg_args *)); int recvfrom __P((struct proc *, struct recvfrom_args *)); int accept __P((struct proc *, struct accept_args *)); int getpeername __P((struct proc *, struct getpeername_args *)); int getsockname __P((struct proc *, struct getsockname_args *)); int access __P((struct proc *, struct access_args *)); int chflags __P((struct proc *, struct chflags_args *)); int fchflags __P((struct proc *, struct fchflags_args *)); int sync __P((struct proc *, struct sync_args *)); int kill __P((struct proc *, struct kill_args *)); int getppid __P((struct proc *, struct getppid_args *)); int dup __P((struct proc *, struct dup_args *)); int pipe __P((struct proc *, struct pipe_args *)); int getegid __P((struct proc *, struct getegid_args *)); int profil __P((struct proc *, struct profil_args *)); int ktrace __P((struct proc *, struct ktrace_args *)); int getgid __P((struct proc *, struct getgid_args *)); int getlogin __P((struct proc *, struct getlogin_args *)); int setlogin __P((struct proc *, struct setlogin_args *)); int acct __P((struct proc *, struct acct_args *)); int sigaltstack __P((struct proc *, struct sigaltstack_args *)); int ioctl __P((struct proc *, struct ioctl_args *)); int reboot __P((struct proc *, struct reboot_args *)); int revoke __P((struct proc *, struct revoke_args *)); int symlink __P((struct proc *, struct symlink_args *)); int readlink __P((struct proc *, struct readlink_args *)); int execve __P((struct proc *, struct execve_args *)); int umask __P((struct proc *, struct umask_args *)); int chroot __P((struct proc *, struct chroot_args *)); int msync __P((struct proc *, struct msync_args *)); int vfork __P((struct proc *, struct vfork_args *)); int sbrk __P((struct proc *, struct sbrk_args *)); int sstk __P((struct proc *, struct sstk_args *)); int ovadvise __P((struct proc *, struct ovadvise_args *)); int munmap __P((struct proc *, struct munmap_args *)); int mprotect __P((struct proc *, struct mprotect_args *)); int madvise __P((struct proc *, struct madvise_args *)); int mincore __P((struct proc *, struct mincore_args *)); int getgroups __P((struct proc *, struct getgroups_args *)); int setgroups __P((struct proc *, struct setgroups_args *)); int getpgrp __P((struct proc *, struct getpgrp_args *)); int setpgid __P((struct proc *, struct setpgid_args *)); int setitimer __P((struct proc *, struct setitimer_args *)); int swapon __P((struct proc *, struct swapon_args *)); int getitimer __P((struct proc *, struct getitimer_args *)); int getdtablesize __P((struct proc *, struct getdtablesize_args *)); int dup2 __P((struct proc *, struct dup2_args *)); int fcntl __P((struct proc *, struct fcntl_args *)); int select __P((struct proc *, struct select_args *)); int fsync __P((struct proc *, struct fsync_args *)); int setpriority __P((struct proc *, struct setpriority_args *)); int socket __P((struct proc *, struct socket_args *)); int connect __P((struct proc *, struct connect_args *)); int getpriority __P((struct proc *, struct getpriority_args *)); int bind __P((struct proc *, struct bind_args *)); int setsockopt __P((struct proc *, struct setsockopt_args *)); int listen __P((struct proc *, struct listen_args *)); int gettimeofday __P((struct proc *, struct gettimeofday_args *)); int getrusage __P((struct proc *, struct getrusage_args *)); int getsockopt __P((struct proc *, struct getsockopt_args *)); int readv __P((struct proc *, struct readv_args *)); int writev __P((struct proc *, struct writev_args *)); int settimeofday __P((struct proc *, struct settimeofday_args *)); int fchown __P((struct proc *, struct fchown_args *)); int fchmod __P((struct proc *, struct fchmod_args *)); int setreuid __P((struct proc *, struct setreuid_args *)); int setregid __P((struct proc *, struct setregid_args *)); int rename __P((struct proc *, struct rename_args *)); int flock __P((struct proc *, struct flock_args *)); int mkfifo __P((struct proc *, struct mkfifo_args *)); int sendto __P((struct proc *, struct sendto_args *)); int shutdown __P((struct proc *, struct shutdown_args *)); int socketpair __P((struct proc *, struct socketpair_args *)); int mkdir __P((struct proc *, struct mkdir_args *)); int rmdir __P((struct proc *, struct rmdir_args *)); int utimes __P((struct proc *, struct utimes_args *)); int adjtime __P((struct proc *, struct adjtime_args *)); int setsid __P((struct proc *, struct setsid_args *)); int quotactl __P((struct proc *, struct quotactl_args *)); int nfssvc __P((struct proc *, struct nfssvc_args *)); int statfs __P((struct proc *, struct statfs_args *)); int fstatfs __P((struct proc *, struct fstatfs_args *)); int getfh __P((struct proc *, struct getfh_args *)); int getdomainname __P((struct proc *, struct getdomainname_args *)); int setdomainname __P((struct proc *, struct setdomainname_args *)); int uname __P((struct proc *, struct uname_args *)); int sysarch __P((struct proc *, struct sysarch_args *)); int rtprio __P((struct proc *, struct rtprio_args *)); int semsys __P((struct proc *, struct semsys_args *)); int msgsys __P((struct proc *, struct msgsys_args *)); int shmsys __P((struct proc *, struct shmsys_args *)); int pread __P((struct proc *, struct pread_args *)); int pwrite __P((struct proc *, struct pwrite_args *)); int ntp_adjtime __P((struct proc *, struct ntp_adjtime_args *)); int setgid __P((struct proc *, struct setgid_args *)); int setegid __P((struct proc *, struct setegid_args *)); int seteuid __P((struct proc *, struct seteuid_args *)); int stat __P((struct proc *, struct stat_args *)); int fstat __P((struct proc *, struct fstat_args *)); int lstat __P((struct proc *, struct lstat_args *)); int pathconf __P((struct proc *, struct pathconf_args *)); int fpathconf __P((struct proc *, struct fpathconf_args *)); int getrlimit __P((struct proc *, struct __getrlimit_args *)); int setrlimit __P((struct proc *, struct __setrlimit_args *)); int getdirentries __P((struct proc *, struct getdirentries_args *)); int mmap __P((struct proc *, struct mmap_args *)); int lseek __P((struct proc *, struct lseek_args *)); int truncate __P((struct proc *, struct truncate_args *)); int ftruncate __P((struct proc *, struct ftruncate_args *)); int __sysctl __P((struct proc *, struct sysctl_args *)); int mlock __P((struct proc *, struct mlock_args *)); int munlock __P((struct proc *, struct munlock_args *)); int undelete __P((struct proc *, struct undelete_args *)); int futimes __P((struct proc *, struct futimes_args *)); int getpgid __P((struct proc *, struct getpgid_args *)); int poll __P((struct proc *, struct poll_args *)); int lkmnosys __P((struct proc *, struct nosys_args *)); int __semctl __P((struct proc *, struct __semctl_args *)); int semget __P((struct proc *, struct semget_args *)); int semop __P((struct proc *, struct semop_args *)); int msgctl __P((struct proc *, struct msgctl_args *)); int msgget __P((struct proc *, struct msgget_args *)); int msgsnd __P((struct proc *, struct msgsnd_args *)); int msgrcv __P((struct proc *, struct msgrcv_args *)); int shmat __P((struct proc *, struct shmat_args *)); int shmctl __P((struct proc *, struct shmctl_args *)); int shmdt __P((struct proc *, struct shmdt_args *)); int shmget __P((struct proc *, struct shmget_args *)); int clock_gettime __P((struct proc *, struct clock_gettime_args *)); int clock_settime __P((struct proc *, struct clock_settime_args *)); int clock_getres __P((struct proc *, struct clock_getres_args *)); int nanosleep __P((struct proc *, struct nanosleep_args *)); int minherit __P((struct proc *, struct minherit_args *)); int rfork __P((struct proc *, struct rfork_args *)); int openbsd_poll __P((struct proc *, struct openbsd_poll_args *)); int issetugid __P((struct proc *, struct issetugid_args *)); int lchown __P((struct proc *, struct lchown_args *)); int getdents __P((struct proc *, struct getdents_args *)); int lchmod __P((struct proc *, struct lchmod_args *)); int lutimes __P((struct proc *, struct lutimes_args *)); int nstat __P((struct proc *, struct nstat_args *)); int nfstat __P((struct proc *, struct nfstat_args *)); int nlstat __P((struct proc *, struct nlstat_args *)); int fhstatfs __P((struct proc *, struct fhstatfs_args *)); int fhopen __P((struct proc *, struct fhopen_args *)); int fhstat __P((struct proc *, struct fhstat_args *)); int modnext __P((struct proc *, struct modnext_args *)); int modstat __P((struct proc *, struct modstat_args *)); int modfnext __P((struct proc *, struct modfnext_args *)); int modfind __P((struct proc *, struct modfind_args *)); int kldload __P((struct proc *, struct kldload_args *)); int kldunload __P((struct proc *, struct kldunload_args *)); int kldfind __P((struct proc *, struct kldfind_args *)); int kldnext __P((struct proc *, struct kldnext_args *)); int kldstat __P((struct proc *, struct kldstat_args *)); int kldfirstmod __P((struct proc *, struct kldfirstmod_args *)); int getsid __P((struct proc *, struct getsid_args *)); int setresuid __P((struct proc *, struct setresuid_args *)); int setresgid __P((struct proc *, struct setresgid_args *)); int aio_return __P((struct proc *, struct aio_return_args *)); int aio_suspend __P((struct proc *, struct aio_suspend_args *)); int aio_cancel __P((struct proc *, struct aio_cancel_args *)); int aio_error __P((struct proc *, struct aio_error_args *)); int aio_read __P((struct proc *, struct aio_read_args *)); int aio_write __P((struct proc *, struct aio_write_args *)); int lio_listio __P((struct proc *, struct lio_listio_args *)); int yield __P((struct proc *, struct yield_args *)); int thr_sleep __P((struct proc *, struct thr_sleep_args *)); int thr_wakeup __P((struct proc *, struct thr_wakeup_args *)); int mlockall __P((struct proc *, struct mlockall_args *)); int munlockall __P((struct proc *, struct munlockall_args *)); int __getcwd __P((struct proc *, struct __getcwd_args *)); int sched_setparam __P((struct proc *, struct sched_setparam_args *)); int sched_getparam __P((struct proc *, struct sched_getparam_args *)); int sched_setscheduler __P((struct proc *, struct sched_setscheduler_args *)); int sched_getscheduler __P((struct proc *, struct sched_getscheduler_args *)); int sched_yield __P((struct proc *, struct sched_yield_args *)); int sched_get_priority_max __P((struct proc *, struct sched_get_priority_max_args *)); int sched_get_priority_min __P((struct proc *, struct sched_get_priority_min_args *)); int sched_rr_get_interval __P((struct proc *, struct sched_rr_get_interval_args *)); int utrace __P((struct proc *, struct utrace_args *)); int sendfile __P((struct proc *, struct sendfile_args *)); int kldsym __P((struct proc *, struct kldsym_args *)); int jail __P((struct proc *, struct jail_args *)); int sigprocmask __P((struct proc *, struct sigprocmask_args *)); int sigsuspend __P((struct proc *, struct sigsuspend_args *)); int sigaction __P((struct proc *, struct sigaction_args *)); int sigpending __P((struct proc *, struct sigpending_args *)); int sigreturn __P((struct proc *, struct sigreturn_args *)); int __acl_get_file __P((struct proc *, struct __acl_get_file_args *)); int __acl_set_file __P((struct proc *, struct __acl_set_file_args *)); int __acl_get_fd __P((struct proc *, struct __acl_get_fd_args *)); int __acl_set_fd __P((struct proc *, struct __acl_set_fd_args *)); int __acl_delete_file __P((struct proc *, struct __acl_delete_file_args *)); int __acl_delete_fd __P((struct proc *, struct __acl_delete_fd_args *)); int __acl_aclcheck_file __P((struct proc *, struct __acl_aclcheck_file_args *)); int __acl_aclcheck_fd __P((struct proc *, struct __acl_aclcheck_fd_args *)); int extattrctl __P((struct proc *, struct extattrctl_args *)); int extattr_set_file __P((struct proc *, struct extattr_set_file_args *)); int extattr_get_file __P((struct proc *, struct extattr_get_file_args *)); int extattr_delete_file __P((struct proc *, struct extattr_delete_file_args *)); int aio_waitcomplete __P((struct proc *, struct aio_waitcomplete_args *)); int getresuid __P((struct proc *, struct getresuid_args *)); int getresgid __P((struct proc *, struct getresgid_args *)); int kqueue __P((struct proc *, struct kqueue_args *)); int kevent __P((struct proc *, struct kevent_args *)); int __cap_get_proc __P((struct proc *, struct __cap_get_proc_args *)); int __cap_set_proc __P((struct proc *, struct __cap_set_proc_args *)); int __cap_get_fd __P((struct proc *, struct __cap_get_fd_args *)); int __cap_get_file __P((struct proc *, struct __cap_get_file_args *)); int __cap_set_fd __P((struct proc *, struct __cap_set_fd_args *)); int __cap_set_file __P((struct proc *, struct __cap_set_file_args *)); #ifdef COMPAT_43 struct ocreat_args { char * path; char path_[PAD_(char *)]; int mode; char mode_[PAD_(int)]; }; struct olseek_args { int fd; char fd_[PAD_(int)]; long offset; char offset_[PAD_(long)]; int whence; char whence_[PAD_(int)]; }; struct ostat_args { char * path; char path_[PAD_(char *)]; struct ostat * ub; char ub_[PAD_(struct ostat *)]; }; struct olstat_args { char * path; char path_[PAD_(char *)]; struct ostat * ub; char ub_[PAD_(struct ostat *)]; }; struct osigaction_args { int signum; char signum_[PAD_(int)]; struct osigaction * nsa; char nsa_[PAD_(struct osigaction *)]; struct osigaction * osa; char osa_[PAD_(struct osigaction *)]; }; struct osigprocmask_args { int how; char how_[PAD_(int)]; osigset_t mask; char mask_[PAD_(osigset_t)]; }; struct ofstat_args { int fd; char fd_[PAD_(int)]; struct ostat * sb; char sb_[PAD_(struct ostat *)]; }; struct getkerninfo_args { int op; char op_[PAD_(int)]; char * where; char where_[PAD_(char *)]; size_t * size; char size_[PAD_(size_t *)]; int arg; char arg_[PAD_(int)]; }; struct ommap_args { void * addr; char addr_[PAD_(void *)]; int len; char len_[PAD_(int)]; int prot; char prot_[PAD_(int)]; int flags; char flags_[PAD_(int)]; int fd; char fd_[PAD_(int)]; long pos; char pos_[PAD_(long)]; }; struct gethostname_args { char * hostname; char hostname_[PAD_(char *)]; u_int len; char len_[PAD_(u_int)]; }; struct sethostname_args { char * hostname; char hostname_[PAD_(char *)]; u_int len; char len_[PAD_(u_int)]; }; struct osend_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; int len; char len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct orecv_args { int s; char s_[PAD_(int)]; caddr_t buf; char buf_[PAD_(caddr_t)]; int len; char len_[PAD_(int)]; int flags; char flags_[PAD_(int)]; }; struct osigreturn_args { struct osigcontext * sigcntxp; char sigcntxp_[PAD_(struct osigcontext *)]; }; struct osigvec_args { int signum; char signum_[PAD_(int)]; struct sigvec * nsv; char nsv_[PAD_(struct sigvec *)]; struct sigvec * osv; char osv_[PAD_(struct sigvec *)]; }; struct osigblock_args { int mask; char mask_[PAD_(int)]; }; struct osigsetmask_args { int mask; char mask_[PAD_(int)]; }; struct osigsuspend_args { osigset_t mask; char mask_[PAD_(osigset_t)]; }; struct osigstack_args { struct sigstack * nss; char nss_[PAD_(struct sigstack *)]; struct sigstack * oss; char oss_[PAD_(struct sigstack *)]; }; struct orecvmsg_args { int s; char s_[PAD_(int)]; struct omsghdr * msg; char msg_[PAD_(struct omsghdr *)]; int flags; char flags_[PAD_(int)]; }; struct osendmsg_args { int s; char s_[PAD_(int)]; caddr_t msg; char msg_[PAD_(caddr_t)]; int flags; char flags_[PAD_(int)]; }; struct otruncate_args { char * path; char path_[PAD_(char *)]; long length; char length_[PAD_(long)]; }; struct oftruncate_args { int fd; char fd_[PAD_(int)]; long length; char length_[PAD_(long)]; }; struct ogetpeername_args { int fdes; char fdes_[PAD_(int)]; caddr_t asa; char asa_[PAD_(caddr_t)]; int * alen; char alen_[PAD_(int *)]; }; struct osethostid_args { long hostid; char hostid_[PAD_(long)]; }; struct ogetrlimit_args { u_int which; char which_[PAD_(u_int)]; struct ogetrlimit * rlp; char rlp_[PAD_(struct ogetrlimit *)]; }; struct osetrlimit_args { u_int which; char which_[PAD_(u_int)]; struct ogetrlimit * rlp; char rlp_[PAD_(struct ogetrlimit *)]; }; struct okillpg_args { int pgid; char pgid_[PAD_(int)]; int signum; char signum_[PAD_(int)]; }; struct ogetdirentries_args { int fd; char fd_[PAD_(int)]; char * buf; char buf_[PAD_(char *)]; u_int count; char count_[PAD_(u_int)]; long * basep; char basep_[PAD_(long *)]; }; int ocreat __P((struct proc *, struct ocreat_args *)); int olseek __P((struct proc *, struct olseek_args *)); int ostat __P((struct proc *, struct ostat_args *)); int olstat __P((struct proc *, struct olstat_args *)); int osigaction __P((struct proc *, struct osigaction_args *)); int osigprocmask __P((struct proc *, struct osigprocmask_args *)); int osigpending __P((struct proc *, struct osigpending_args *)); int ofstat __P((struct proc *, struct ofstat_args *)); int ogetkerninfo __P((struct proc *, struct getkerninfo_args *)); int ogetpagesize __P((struct proc *, struct getpagesize_args *)); int ommap __P((struct proc *, struct ommap_args *)); int owait __P((struct proc *, struct owait_args *)); int ogethostname __P((struct proc *, struct gethostname_args *)); int osethostname __P((struct proc *, struct sethostname_args *)); int oaccept __P((struct proc *, struct accept_args *)); int osend __P((struct proc *, struct osend_args *)); int orecv __P((struct proc *, struct orecv_args *)); int osigreturn __P((struct proc *, struct osigreturn_args *)); int osigvec __P((struct proc *, struct osigvec_args *)); int osigblock __P((struct proc *, struct osigblock_args *)); int osigsetmask __P((struct proc *, struct osigsetmask_args *)); int osigsuspend __P((struct proc *, struct osigsuspend_args *)); int osigstack __P((struct proc *, struct osigstack_args *)); int orecvmsg __P((struct proc *, struct orecvmsg_args *)); int osendmsg __P((struct proc *, struct osendmsg_args *)); int orecvfrom __P((struct proc *, struct recvfrom_args *)); int otruncate __P((struct proc *, struct otruncate_args *)); int oftruncate __P((struct proc *, struct oftruncate_args *)); int ogetpeername __P((struct proc *, struct ogetpeername_args *)); int ogethostid __P((struct proc *, struct ogethostid_args *)); int osethostid __P((struct proc *, struct osethostid_args *)); int ogetrlimit __P((struct proc *, struct ogetrlimit_args *)); int osetrlimit __P((struct proc *, struct osetrlimit_args *)); int okillpg __P((struct proc *, struct okillpg_args *)); int oquota __P((struct proc *, struct oquota_args *)); int ogetsockname __P((struct proc *, struct getsockname_args *)); int ogetdirentries __P((struct proc *, struct ogetdirentries_args *)); #endif /* COMPAT_43 */ #undef PAD_ #endif /* !_SYS_SYSPROTO_H_ */