summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-07-06 20:55:59 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-07-06 20:55:59 +0000
commit768be5765618406c96134203b588b282437a7226 (patch)
tree6396f519f06cc135ac44d92cd7e9efa60a27d418
parentd5860a22db7aeebafb942d42e6e1c4cab2109af8 (diff)
getentropy(2) doesn't need the kernel lock, so mark it with NOLOCK.
ok matthew@
-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 0c38538ee5b..c84da166ab8 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.140 2014/06/14 18:01:42 deraadt Exp $
+; $OpenBSD: syscalls.master,v 1.141 2014/07/06 20:55:58 kettenis Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -57,7 +57,7 @@
5 STD { int sys_open(const char *path, \
int flags, ... mode_t mode); }
6 STD { int sys_close(int fd); }
-7 STD { int sys_getentropy(void *buf, size_t nbyte); }
+7 STD NOLOCK { int sys_getentropy(void *buf, size_t nbyte); }
8 STD { int sys___tfork(const struct __tfork *param, \
size_t psize); }
9 STD { int sys_link(const char *path, const char *link); }