From ba94ed4e5cc5053c00157f948df0c5660702fd8b Mon Sep 17 00:00:00 2001 From: claudio Date: Fri, 10 May 2024 09:21:01 +0000 Subject: [PATCH] The ptsignal() race against p_sigmask changes by dosigsuspend() are fixed. Unlock sigsuspend() and __thrsigdivert() again. --- 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 7a801dc6eb0..55f484967fc 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ -; $OpenBSD: syscalls.master,v 1.262 2024/04/24 19:09:14 claudio Exp $ +; $OpenBSD: syscalls.master,v 1.263 2024/05/10 09:21:01 claudio Exp $ ; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -234,7 +234,7 @@ 110 STD NOLOCK { int sys_pselect(int nd, fd_set *in, fd_set *ou, \ fd_set *ex, const struct timespec *ts, \ const sigset_t *mask); } -111 STD { int sys_sigsuspend(int mask); } +111 STD NOLOCK { int sys_sigsuspend(int mask); } 112 STD NOLOCK { int sys_sendsyslog(const char *buf, size_t nbyte, \ int flags); } 113 UNIMPL fktrace @@ -525,7 +525,7 @@ 301 STD NOLOCK { int sys___thrwakeup(const volatile void *ident, \ int n); } 302 STD { void sys___threxit(pid_t *notdead); } -303 STD { int sys___thrsigdivert(sigset_t sigmask, \ +303 STD NOLOCK { int sys___thrsigdivert(sigset_t sigmask, \ siginfo_t *info, const struct timespec *timeout); } 304 STD { int sys___getcwd(char *buf, size_t len); } 305 STD NOLOCK { int sys_adjfreq(const int64_t *freq, \ -- 2.20.1