summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-09-26 15:38:53 +0000
committertedu <tedu@openbsd.org>2015-09-26 15:38:53 +0000
commit462e3ff93de404fdf25d42e8dd07375eafd3d997 (patch)
tree49a26f3a6cba831375d11faa200b741eb19b48c7 /sys
parentmatthew noticed there's a race where we are using the kernel lock to tie (diff)
downloadwireguard-openbsd-462e3ff93de404fdf25d42e8dd07375eafd3d997.tar.xz
wireguard-openbsd-462e3ff93de404fdf25d42e8dd07375eafd3d997.zip
unlock the mmap! reminded and ok kettenis
Diffstat (limited to 'sys')
-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 4dca9276ecb..31bcfd24104 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.159 2015/09/13 17:08:03 guenther Exp $
+; $OpenBSD: syscalls.master,v 1.160 2015/09/26 15:38:53 tedu Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -341,7 +341,7 @@
195 STD { int sys_setrlimit(int which, \
const struct rlimit *rlp); }
196 OBSOL ogetdirentries48
-197 STD { void *sys_mmap(void *addr, size_t len, int prot, \
+197 STD NOLOCK { void *sys_mmap(void *addr, size_t len, int prot, \
int flags, int fd, long pad, off_t pos); }
198 INDIR { quad_t sys___syscall(quad_t num, ...); }
199 STD { off_t sys_lseek(int fd, int pad, off_t offset, \