ueGDYOUa+OovqjuTi92Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760574904; a=rsa-sha256; cv=none; b=nbatxN+GR8FXLXe5hEk9a8ZXYGCnlr7A1G2NB06sp0vpXnBURa/EcLYujvlFrWELtOg/MJ YNsPjImAxHNLwP9vPqaJNG24oOgLxRKd3RdZAP5B/BGpo1Q3jqJK1NvDIZ3kBJwzuDHOXp +rXRvCYacnWj1hBS9cXLe35Nd2u9cEDtIj2iEcQCW5r8n681Xvzk9beS5Q3bOtv28Pgrif a0tZ4RESgKvz4enKcrn+bRcc2bfgR+e+Gl4+N2dBL9frOs2+KM72c4U7lfZM8HdgjjH7uE 98gye9vc0DOWpZM3UW5bPyVcge58ZSP/t756onE1ExVHEowMpm6Ad/9Xe+gpKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cn89h2Xcwz11qt; Thu, 16 Oct 2025 00:35:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59G0Z4d3011653; Thu, 16 Oct 2025 00:35:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59G0Z4tX011650; Thu, 16 Oct 2025 00:35:04 GMT (envelope-from git) Date: Thu, 16 Oct 2025 00:35:04 GMT Message-Id: <202510160035.59G0Z4tX011650@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jose Luis Duran Subject: git: 7161c525abff - stable/15 - openssh: blocklist: Remove non async-signal safe probe List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jlduran X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 7161c525abffe6cdb19ac01223d058fcbabf49c5 Auto-Submitted: auto-generated The branch stable/15 has been updated by jlduran: URL: https://cgit.FreeBSD.org/src/commit/?id=7161c525abffe6cdb19ac01223d058fcbabf49c5 commit 7161c525abffe6cdb19ac01223d058fcbabf49c5 Author: Jose Luis Duran AuthorDate: 2025-10-15 13:29:30 +0000 Commit: Jose Luis Duran CommitDate: 2025-10-16 00:30:07 +0000 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 (cherry picked from commit 9c82c17c2a3ac61a69cb5337cb6f92ae88bc0b08) --- crypto/openssh/sshd-session.c | 2 -- 1 file changed, 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.