Mark dup as MPSAFE. Giant was pushed into dup ages ago, but it looks

like it was missed in syscalls.master.

Spotted by:	alc
This commit is contained in:
David Malone 2003-10-20 16:16:03 +00:00
parent 31b3783c8d
commit 111b0d0d29
6 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.152 2003/07/17 22:45:33 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.153 2003/09/07 05:42:06 alc Exp
*/
#include "opt_compat.h"
@ -69,7 +69,7 @@ struct sysent sysent[] = {
{ compat(AS(ostat_args),stat) }, /* 38 = old stat */
{ SYF_MPSAFE | 0, (sy_call_t *)getppid }, /* 39 = getppid */
{ compat(AS(olstat_args),lstat) }, /* 40 = old lstat */
{ AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
{ SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
{ 0, (sy_call_t *)pipe }, /* 42 = pipe */
{ SYF_MPSAFE | 0, (sy_call_t *)getegid }, /* 43 = getegid */
{ SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.152 2003/07/17 22:45:33 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.153 2003/09/07 05:42:06 alc Exp
*/
const char *syscallnames[] = {

View File

@ -96,7 +96,7 @@
38 COMPAT POSIX { int stat(char *path, struct ostat *ub); }
39 MSTD POSIX { pid_t getppid(void); }
40 COMPAT POSIX { int lstat(char *path, struct ostat *ub); }
41 STD POSIX { int dup(u_int fd); }
41 MSTD POSIX { int dup(u_int fd); }
42 STD POSIX { int pipe(void); }
43 MSTD POSIX { gid_t getegid(void); }
44 MSTD BSD { int profil(caddr_t samples, size_t size, \

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.152 2003/07/17 22:45:33 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.153 2003/09/07 05:42:06 alc Exp
*/
#define SYS_syscall 0

View File

@ -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.152 2003/07/17 22:45:33 davidxu Exp
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.153 2003/09/07 05:42:06 alc Exp
MIASM = \
syscall.o \
exit.o \

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.152 2003/07/17 22:45:33 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.153 2003/09/07 05:42:06 alc Exp
*/
#ifndef _SYS_SYSPROTO_H_