From 5846ab5bdabc79be1220c80c30f22ca57c258a27 Mon Sep 17 00:00:00 2001 From: mvs Date: Mon, 29 Nov 2021 16:30:30 +0000 Subject: [PATCH] Unlock accept(2) and accept4(2) syscalls. Unlock them both because they follow the same code path. ok bluhm@ --- sys/kern/syscalls.master | 6 +++--- 1 file 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, \ -- 2.20.1