summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2011-07-07 18:30:50 +0000
committertedu <tedu@openbsd.org>2011-07-07 18:30:50 +0000
commit6c981f1850b6b11ee2bfe9dfc623683327fbfe74 (patch)
tree4e7b2500cb5c14b04d0318089f1d60d71e7d34df
parentmake the check more readable (diff)
downloadwireguard-openbsd-6c981f1850b6b11ee2bfe9dfc623683327fbfe74.tar.xz
wireguard-openbsd-6c981f1850b6b11ee2bfe9dfc623683327fbfe74.zip
getpid is NOLOCK again. ok deraadt guenther
-rw-r--r--sys/kern/syscalls.master4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index bc5544b872d..3594ce6c090 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.109 2011/07/07 01:19:40 tedu Exp $
+; $OpenBSD: syscalls.master,v 1.110 2011/07/07 18:30:50 tedu Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -75,7 +75,7 @@
18 COMPAT_25 { int sys_getfsstat(struct statfs *buf, long bufsize, \
int flags); } ogetfsstat
19 OBSOL olseek
-20 STD { pid_t sys_getpid(void); }
+20 STD NOLOCK { pid_t sys_getpid(void); }
21 STD { int sys_mount(const char *type, const char *path, \
int flags, void *data); }
22 STD { int sys_unmount(const char *path, int flags); }