summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2025-10-15 13:29:30 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2025-10-15 13:31:44 +0000
commit9c82c17c2a3ac61a69cb5337cb6f92ae88bc0b08 (patch)
tree0ec4ed4b702c81c2f11b09247111dd2c66a19915 /crypto
parentbde703e8b6ab3acc73bbb20f1ebe26221f33e9f1 (diff)
openssh: blocklist: Remove non async-signal safe probe
BLOCKLIST_NOTIFY() is called within a signal handler for the alarm after the grace period has expired that may only take async-signal safe actions. Reviewed by: emaste Fixes: e02003bce726 ("openssh: blocklist: Use NetBSD probes") MFC after: 1 day Differential Revision: https://reviews.freebsd.org/D53109
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/sshd-session.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/openssh/sshd-session.c b/crypto/openssh/sshd-session.c
index e8299c254567..ca35790149ac 100644
--- a/crypto/openssh/sshd-session.c
+++ b/crypto/openssh/sshd-session.c
@@ -217,8 +217,6 @@ mm_is_monitor(void)
static void
grace_alarm_handler(int sig)
{
- BLOCKLIST_NOTIFY(the_active_state, BLOCKLIST_AUTH_FAIL,
- "Grace period expired");
/*
* Try to kill any processes that we have spawned, E.g. authorized
* keys command helpers or privsep children.