diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2021-11-29 16:30:31 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2021-11-29 16:30:31 +0000 |
commit | d3bf08fdbb5b7cd55e46cf5ed81bf688ba9b8807 (patch) | |
tree | 1d0832a86c1d35aa853161b516a538c160d868af | |
parent | 934908fe338e4fcb7f9c876b52d84dc0a60892cf (diff) |
Unlock accept(2) and accept4(2) syscalls. Unlock them both because they
follow the same code path.
ok bluhm@
-rw-r--r-- | sys/kern/syscalls.master | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index b1548df66db..70157df3dce 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ -; $OpenBSD: syscalls.master,v 1.219 2021/10/27 03:24:44 visa Exp $ +; $OpenBSD: syscalls.master,v 1.220 2021/11/29 16:30:30 mvs Exp $ ; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -95,7 +95,7 @@ 29 STD NOLOCK { ssize_t sys_recvfrom(int s, void *buf, size_t len, \ int flags, struct sockaddr *from, \ socklen_t *fromlenaddr); } -30 STD { int sys_accept(int s, struct sockaddr *name, \ +30 STD NOLOCK { int sys_accept(int s, struct sockaddr *name, \ socklen_t *anamelen); } 31 STD { int sys_getpeername(int fdes, struct sockaddr *asa, \ socklen_t *alen); } @@ -204,7 +204,7 @@ 91 STD NOLOCK { int sys_nanosleep(const struct timespec *rqtp, \ struct timespec *rmtp); } 92 STD NOLOCK { int sys_fcntl(int fd, int cmd, ... void *arg); } -93 STD { int sys_accept4(int s, struct sockaddr *name, \ +93 STD NOLOCK { int sys_accept4(int s, struct sockaddr *name, \ socklen_t *anamelen, int flags); } 94 STD NOLOCK { int sys___thrsleep(const volatile void *ident, \ clockid_t clock_id, const struct timespec *tp, \ |