From a2f10724b54a8e02ff29587bc3733b943be9e44b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 7 Nov 2003 20:56:54 +0000 Subject: [PATCH] Regen. --- sys/alpha/osf1/osf1_proto.h | 14 ++++- sys/alpha/osf1/osf1_syscall.h | 2 +- sys/alpha/osf1/osf1_sysent.c | 98 +++++++++++++++++------------------ 3 files changed, 62 insertions(+), 52 deletions(-) diff --git a/sys/alpha/osf1/osf1_proto.h b/sys/alpha/osf1/osf1_proto.h index a6f0d5cbb88b..685f74d9c721 100644 --- a/sys/alpha/osf1/osf1_proto.h +++ b/sys/alpha/osf1/osf1_proto.h @@ -3,15 +3,19 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.5 2001/09/01 19:36:47 dillon Exp + * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.6 2003/11/07 20:56:31 jhb Exp */ #ifndef _OSF1_SYSPROTO_H_ #define _OSF1_SYSPROTO_H_ #include - #include +#include +#include +#include + +#include struct proc; @@ -360,6 +364,12 @@ int osf1_setsysinfo(struct thread *, struct osf1_setsysinfo_args *); #endif /* COMPAT_43 */ + +#ifdef COMPAT_FREEBSD4 + + +#endif /* COMPAT_FREEBSD4 */ + #undef PAD_ #undef PADL_ #undef PADR_ diff --git a/sys/alpha/osf1/osf1_syscall.h b/sys/alpha/osf1/osf1_syscall.h index b081e7ca94c1..b4bd5be4527f 100644 --- a/sys/alpha/osf1/osf1_syscall.h +++ b/sys/alpha/osf1/osf1_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.5 2001/09/01 19:36:47 dillon Exp + * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.6 2003/11/07 20:56:31 jhb Exp */ #define OSF1_SYS_nosys 0 diff --git a/sys/alpha/osf1/osf1_sysent.c b/sys/alpha/osf1/osf1_sysent.c index aba8712d2716..6b9458f319dd 100644 --- a/sys/alpha/osf1/osf1_sysent.c +++ b/sys/alpha/osf1/osf1_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.5 2001/09/01 19:36:47 dillon Exp + * created from; FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.6 2003/11/07 20:56:31 jhb Exp */ #include "opt_compat.h" @@ -21,10 +21,10 @@ struct sysent osf1_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = nosys */ { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ @@ -38,11 +38,11 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | AS(osf1_setuid_args), (sy_call_t *)osf1_setuid }, /* 23 = osf1_setuid */ + { SYF_MPSAFE | 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 */ @@ -55,22 +55,22 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */ + { SYF_MPSAFE | AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask }, /* 48 = osf1_sigprocmask */ + { SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ @@ -78,10 +78,10 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 63 = getpgrp */ { 0, (sy_call_t *)ogetpagesize }, /* 64 = ogetpagesize */ { 0, (sy_call_t *)nosys }, /* 65 = mremap */ { SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 66 = vfork */ @@ -97,31 +97,31 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups }, /* 79 = getgroups */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ { SYF_MPSAFE | AS(gethostname_args), (sy_call_t *)ogethostname }, /* 87 = ogethostname */ { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ @@ -129,8 +129,8 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend }, /* 111 = osf1_sigsuspend */ + { SYF_MPSAFE | 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 */ @@ -144,13 +144,13 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ @@ -165,7 +165,7 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | 0, (sy_call_t *)setsid }, /* 147 = setsid */ { 0, (sy_call_t *)nosys }, /* 148 = quotactl */ { SYF_MPSAFE | 0, (sy_call_t *)oquota }, /* 149 = oquota */ { AS(getsockname_args), (sy_call_t *)ogetsockname }, /* 150 = ogetsockname */ @@ -174,7 +174,7 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | 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 */ @@ -218,25 +218,25 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)msgctl }, /* 200 = msgctl */ + { SYF_MPSAFE | AS(msgget_args), (sy_call_t *)msgget }, /* 201 = msgget */ + { SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 202 = msgrcv */ + { SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 203 = msgsnd */ + { SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)__semctl }, /* 204 = __semctl */ + { SYF_MPSAFE | AS(semget_args), (sy_call_t *)semget }, /* 205 = semget */ + { SYF_MPSAFE | AS(semop_args), (sy_call_t *)semop }, /* 206 = semop */ { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | AS(shmat_args), (sy_call_t *)shmat }, /* 209 = shmat */ + { SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)shmctl }, /* 210 = shmctl */ + { SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)shmdt }, /* 211 = shmdt */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 = */ @@ -251,15 +251,15 @@ struct sysent osf1_sysent[] = { { 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 */ + { SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid }, /* 233 = getpgid */ + { SYF_MPSAFE | AS(getsid_args), (sy_call_t *)getsid }, /* 234 = getsid */ + { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */