From f7b200fd2f76b44c2d292ad560de496df7325dd4 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 1 Sep 2001 03:56:12 +0000 Subject: [PATCH] regenerate syscalls --- sys/kern/init_sysent.c | 40 ++++++++++++++++++++-------------------- sys/kern/syscalls.c | 2 +- sys/sys/syscall-hide.h | 2 +- sys/sys/syscall.h | 2 +- sys/sys/syscall.mk | 2 +- sys/sys/sysproto.h | 2 +- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 1222bc43445a..542c2ddbf0c6 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.93 2001/08/31 00:02:18 dillon Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.95 2001/09/01 03:54:09 dillon Exp */ #include "opt_compat.h" @@ -24,7 +24,7 @@ struct sysent sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = syscall */ { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ - { 0, (sy_call_t *)fork }, /* 2 = fork */ + { 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 */ { AS(open_args), (sy_call_t *)open }, /* 5 = open */ @@ -73,7 +73,7 @@ struct sysent sysent[] = { { 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 */ + { SYF_MPSAFE | 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 */ @@ -81,14 +81,14 @@ struct sysent sysent[] = { { 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(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(SYF_MPSAFE | 0,getpagesize) }, /* 64 = old getpagesize */ { AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */ - { 0, (sy_call_t *)vfork }, /* 66 = vfork */ + { SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 66 = vfork */ { 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */ { 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */ { SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */ @@ -107,7 +107,7 @@ struct sysent sysent[] = { { 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 */ + { SYF_MPSAFE | 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 */ @@ -177,7 +177,7 @@ struct sysent sysent[] = { { 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 */ + { SYF_MPSAFE | 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 */ @@ -273,7 +273,7 @@ struct sysent sysent[] = { { 0, (sy_call_t *)nosys }, /* 248 = nosys */ { 0, (sy_call_t *)nosys }, /* 249 = nosys */ { SYF_MPSAFE | AS(minherit_args), (sy_call_t *)minherit }, /* 250 = minherit */ - { AS(rfork_args), (sy_call_t *)rfork }, /* 251 = rfork */ + { SYF_MPSAFE | 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 */ @@ -343,24 +343,24 @@ struct sysent sysent[] = { { 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 */ + { SYF_MPSAFE | 0, (sy_call_t *)yield }, /* 321 = yield */ { 0, (sy_call_t *)nosys }, /* 322 = obsolete thr_sleep */ { 0, (sy_call_t *)nosys }, /* 323 = obsolete thr_wakeup */ { SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall }, /* 324 = mlockall */ { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 327 = sched_setparam */ + { SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 328 = sched_getparam */ + { SYF_MPSAFE | AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler }, /* 329 = sched_setscheduler */ + { SYF_MPSAFE | AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler }, /* 330 = sched_getscheduler */ + { SYF_MPSAFE | 0, (sy_call_t *)sched_yield }, /* 331 = sched_yield */ + { SYF_MPSAFE | AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 332 = sched_get_priority_max */ + { SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */ + { SYF_MPSAFE | 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 */ { SYF_MPSAFE | 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 */ + { SYF_MPSAFE | 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 */ @@ -384,8 +384,8 @@ struct sysent sysent[] = { { 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 */ + { SYF_MPSAFE | 0, (sy_call_t *)kqueue }, /* 362 = kqueue */ + { SYF_MPSAFE | 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 */ diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 5c00c8187783..13ae14b83081 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.91 2001/05/29 09:22:22 phk Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.95 2001/09/01 03:54:09 dillon Exp */ char *syscallnames[] = { diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h index 128202f94fec..f481cf8465b0 100644 --- a/sys/sys/syscall-hide.h +++ b/sys/sys/syscall-hide.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.91 2001/05/29 09:22:22 phk Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.95 2001/09/01 03:54:09 dillon Exp */ HIDE_POSIX(fork) diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 22710b7e1fd9..ca7d3b13dd47 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.91 2001/05/29 09:22:22 phk Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.95 2001/09/01 03:54:09 dillon Exp */ #define SYS_syscall 0 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 98848567ce73..ee345f229807 100644 --- a/sys/sys/syscall.mk +++ b/sys/sys/syscall.mk @@ -1,7 +1,7 @@ # FreeBSD system call names. # DO NOT EDIT-- this file is automatically generated. # $FreeBSD$ -# created from FreeBSD: src/sys/kern/syscalls.master,v 1.91 2001/05/29 09:22:22 phk Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.95 2001/09/01 03:54:09 dillon Exp MIASM = \ syscall.o \ exit.o \ diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 535117c0b389..ff82ab67b3e4 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.91 2001/05/29 09:22:22 phk Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.95 2001/09/01 03:54:09 dillon Exp */ #ifndef _SYS_SYSPROTO_H_