[openssh-commits] [openssh] 01/01: Also check pid in pselect_notify_setup.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Aug 20 10:49:04 AEST 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 9a2ed62173cc551b2b5f479460bb015b19499de8
Author: Darren Tucker <dtucker at dtucker.net>
Date: Fri Aug 20 10:48:13 2021 +1000
Also check pid in pselect_notify_setup.
Spotted by djm at .
---
openbsd-compat/bsd-pselect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openbsd-compat/bsd-pselect.c b/openbsd-compat/bsd-pselect.c
index 1d4140a5..fff1bf54 100644
--- a/openbsd-compat/bsd-pselect.c
+++ b/openbsd-compat/bsd-pselect.c
@@ -80,7 +80,7 @@ pselect_notify_setup(void)
{
static int initialized;
- if (initialized)
+ if (initialized && notify_pid == getpid())
return;
if (notify_pid == 0)
debug3_f("initializing");
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list