Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat getpid(2) is MP-safe.



details:   https://anonhg.NetBSD.org/src/rev/c2ef4b25b36b
branches:  trunk
changeset: 502942:c2ef4b25b36b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jan 27 07:59:58 2001 +0000

description:
getpid(2) is MP-safe.

diffstat:

 sys/compat/svr4/svr4_syscall.h     |  4 ++--
 sys/compat/svr4/svr4_syscallargs.h |  4 ++--
 sys/compat/svr4/svr4_syscalls.c    |  4 ++--
 sys/compat/svr4/svr4_sysent.c      |  6 +++---
 sys/compat/svr4/syscalls.master    |  4 ++--
 sys/compat/ultrix/syscalls.master  |  4 ++--
 6 files changed, 13 insertions(+), 13 deletions(-)

diffs (109 lines):

diff -r 227cbf54e77b -r c2ef4b25b36b sys/compat/svr4/svr4_syscall.h
--- a/sys/compat/svr4/svr4_syscall.h    Sat Jan 27 07:58:37 2001 +0000
+++ b/sys/compat/svr4/svr4_syscall.h    Sat Jan 27 07:59:58 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_syscall.h,v 1.65 2001/01/27 07:29:39 thorpej Exp $ */
+/* $NetBSD: svr4_syscall.h,v 1.66 2001/01/27 08:00:59 thorpej Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.48 2000/12/09 05:27:30 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.49 2001/01/27 07:59:58 thorpej Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
diff -r 227cbf54e77b -r c2ef4b25b36b sys/compat/svr4/svr4_syscallargs.h
--- a/sys/compat/svr4/svr4_syscallargs.h        Sat Jan 27 07:58:37 2001 +0000
+++ b/sys/compat/svr4/svr4_syscallargs.h        Sat Jan 27 07:59:58 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_syscallargs.h,v 1.64 2001/01/27 07:29:39 thorpej Exp $ */
+/* $NetBSD: svr4_syscallargs.h,v 1.65 2001/01/27 08:00:59 thorpej Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.48 2000/12/09 05:27:30 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.49 2001/01/27 07:59:58 thorpej Exp 
  */
 
 #ifndef _SVR4_SYS__SYSCALLARGS_H_
diff -r 227cbf54e77b -r c2ef4b25b36b sys/compat/svr4/svr4_syscalls.c
--- a/sys/compat/svr4/svr4_syscalls.c   Sat Jan 27 07:58:37 2001 +0000
+++ b/sys/compat/svr4/svr4_syscalls.c   Sat Jan 27 07:59:58 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_syscalls.c,v 1.65 2001/01/27 07:29:39 thorpej Exp $ */
+/* $NetBSD: svr4_syscalls.c,v 1.66 2001/01/27 08:00:59 thorpej Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.48 2000/12/09 05:27:30 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.49 2001/01/27 07:59:58 thorpej Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
diff -r 227cbf54e77b -r c2ef4b25b36b sys/compat/svr4/svr4_sysent.c
--- a/sys/compat/svr4/svr4_sysent.c     Sat Jan 27 07:58:37 2001 +0000
+++ b/sys/compat/svr4/svr4_sysent.c     Sat Jan 27 07:59:58 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_sysent.c,v 1.67 2001/01/27 07:29:39 thorpej Exp $ */
+/* $NetBSD: svr4_sysent.c,v 1.68 2001/01/27 08:00:59 thorpej Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.48 2000/12/09 05:27:30 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.49 2001/01/27 07:59:58 thorpej Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -70,7 +70,7 @@
            svr4_sys_stat },                    /* 18 = stat */
        { 3, s(struct compat_43_sys_lseek_args), 0,
            compat_43_sys_lseek },              /* 19 = lseek */
-       { 0, 0, 0,
+       { 0, 0, SYCALL_MPSAFE | 0,
            sys_getpid },                       /* 20 = getpid */
        { 0, 0, 0,
            sys_nosys },                        /* 21 = unimplemented old_mount */
diff -r 227cbf54e77b -r c2ef4b25b36b sys/compat/svr4/syscalls.master
--- a/sys/compat/svr4/syscalls.master   Sat Jan 27 07:58:37 2001 +0000
+++ b/sys/compat/svr4/syscalls.master   Sat Jan 27 07:59:58 2001 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.48 2000/12/09 05:27:30 mycroft Exp $
+       $NetBSD: syscalls.master,v 1.49 2001/01/27 07:59:58 thorpej Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -80,7 +80,7 @@
                            struct svr4_stat* ub); }
 19     NOARGS          { long compat_43_sys_lseek(int fd, long offset, \
                            int whence); }
-20     NOARGS          { pid_t sys_getpid(void); }
+20     NOARGS MPSAFE   { pid_t sys_getpid(void); }
 21     UNIMPL          old_mount
 22     UNIMPL          System V umount
 23     NOARGS          { int sys_setuid(uid_t uid); }
diff -r 227cbf54e77b -r c2ef4b25b36b sys/compat/ultrix/syscalls.master
--- a/sys/compat/ultrix/syscalls.master Sat Jan 27 07:58:37 2001 +0000
+++ b/sys/compat/ultrix/syscalls.master Sat Jan 27 07:59:58 2001 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.35 2000/12/09 05:31:10 mycroft Exp $
+       $NetBSD: syscalls.master,v 1.36 2001/01/27 08:01:34 thorpej Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -68,7 +68,7 @@
 18     OBSOL           stat
 19     NOARGS          { long compat_43_sys_lseek(int fd, long offset, \
                            int whence); }
-20     NOARGS          { pid_t sys_getpid(void); }
+20     NOARGS MPSAFE   { pid_t sys_getpid(void); }
 21     STD             { int ultrix_sys_mount(char *special, char *dir, \
                             int rdonly, int type, caddr_t data); }
 22     OBSOL           sysV_unmount



Home | Main Index | Thread Index | Old Index