diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2003-10-20 16:16:03 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2003-10-20 16:16:03 +0000 |
commit | 72e9866f3dd8a1406840c9d2e18b12f7ff939141 (patch) | |
tree | cf0bbc0bb4d0de2fb38529a7420d66bb920337ac /sys/kern | |
parent | 1bfb4986099befab26dc0c1e40e47e89f92f62fb (diff) | |
download | FreeBSD-src-72e9866f3dd8a1406840c9d2e18b12f7ff939141.zip FreeBSD-src-72e9866f3dd8a1406840c9d2e18b12f7ff939141.tar.gz |
Mark dup as MPSAFE. Giant was pushed into dup ages ago, but it looks
like it was missed in syscalls.master.
Spotted by: alc
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 4 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 2 | ||||
-rw-r--r-- | sys/kern/syscalls.master | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 0d78a24..ecb7770 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.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 */ diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 2cb82a1..cc818e8 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.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[] = { diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index cf1970e..4bb4093 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -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, \ |