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:		e02003bce7 ("openssh: blocklist: Use NetBSD probes")
MFC after:	1 day
Differential Revision:	https://reviews.freebsd.org/D53109
This commit is contained in:
Jose Luis Duran
2025-10-15 13:29:30 +00:00
parent bde703e8b6
commit 9c82c17c2a
-2
View File
@@ -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.