From: claudio Date: Wed, 24 Apr 2024 19:09:14 +0000 (+0000) Subject: Revert rev 1.261 and require sigsuspend and __thrsigdivert to take X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=49bc1808ec0d6dbb1e2ba8069469b2935ebc652b;p=openbsd Revert rev 1.261 and require sigsuspend and __thrsigdivert to take KERNEL_LOCK. There is at least a race in sigsuspend which can be triggered by dump(8). Should be enough to allow me to look for the real cause. --- diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 9a6ccbd522b..7a801dc6eb0 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ -; $OpenBSD: syscalls.master,v 1.261 2024/04/15 15:08:20 claudio Exp $ +; $OpenBSD: syscalls.master,v 1.262 2024/04/24 19:09:14 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 NOLOCK { int sys_sigsuspend(int mask); } +111 STD { 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 NOLOCK { int sys___thrsigdivert(sigset_t sigmask, \ +303 STD { 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, \