summaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-05-28 09:17:12 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-05-28 09:17:12 +0000
commit689b234371adcbdd7dfc69809bcffc6190e8320f (patch)
treea68c4d6a16163ff0b67c825b291bb0f297f4078c /sys/kern/syscalls.master
parentdb59b64713e904b704251f1fbb5d740f11690a1e (diff)
Grab the KERNEL_LOCK() after socreate() and soconnect2() in socket(2)
and socketpair(2). Tested by many as part of a larger diff, ok visa@ some time ago.
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index c9411db3ba1..8578e3e276e 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.180 2017/12/12 01:12:34 deraadt Exp $
+; $OpenBSD: syscalls.master,v 1.181 2018/05/28 09:17:11 mpi Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -212,7 +212,7 @@
void *lock, const int *abort); }
95 STD { int sys_fsync(int fd); }
96 STD { int sys_setpriority(int which, id_t who, int prio); }
-97 STD { int sys_socket(int domain, int type, int protocol); }
+97 STD NOLOCK { int sys_socket(int domain, int type, int protocol); }
98 STD { int sys_connect(int s, const struct sockaddr *name, \
socklen_t namelen); }
99 STD { int sys_getdents(int fd, void *buf, size_t buflen); }
@@ -265,7 +265,7 @@
size_t len, int flags, const struct sockaddr *to, \
socklen_t tolen); }
134 STD { int sys_shutdown(int s, int how); }
-135 STD { int sys_socketpair(int domain, int type, \
+135 STD NOLOCK { int sys_socketpair(int domain, int type, \
int protocol, int *rsv); }
136 STD { int sys_mkdir(const char *path, mode_t mode); }
137 STD { int sys_rmdir(const char *path); }