From nobody Mon Oct 26 03:40:14 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jCfXN0C7yz6wksv for ; Mon, 26 Oct 2026 03:40:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jCfXM39kcz4JT7 for ; Mon, 26 Oct 2026 03:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792986019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Num/BK9LvLKzKLJUQb+kYlmv3LZ+w9ndfbSUWttfvsc=; b=a7V1DRaSlMAnkSil0IbYL77okMLkn2efiYMLWYGqTwnmrvQkFWsje2pRYt8f2x5OP/uATE BJhvurJt3iS14+Gd8f09KhklJmSNkdjgYwGR25driDE7iHeEQfCDj4LJ0FnXVnkqotCXNl ABYR99KLQL4aKOV0nUE8opdVRUe05BTd73VJDW25/XrT+kIwslTh12ucMUoIkd/3Jg2yoX 0ALJjIqQVfDI7PJlVsHjbGOtrG0NHmAZthUZnZaJRWVIn0uMmFuziU3HzhbU1TpzCrZlTB JFka+KMsMM59tzRJ1aAisqRJKhGL1/6bd931BvfS5zIsI4mGpRy2MBSO/3yLZA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792986019; b=WISwYlFQqrRkaRUhuzwQP5cFZt2r1OQhdQNhhgfRW1M9/gfbdDdY5xHSP4ZkRIEgeQgtGb 3IIbxs7hdSm1Uwb6PwB3pigO5LtbDY7Mw+465zrkHyMm9PTgWxrx7u145dbCEfH5NE67mR zm5JodnTFgAf1XUo9oFXF9O9cTOUSseZk5QiSRXHHATCW14fEVxmptGO+46XUfZNOEI/Yy xHaSA+xaCbMM+5fp6gZPRTugvc4scwz+9TFdBMaXafV5EETPBIyR4JR+EIRS6tF3Whixtq G4qgnpRThESRrFATixdKJ6dbL0TGjRWXBDTUgz/UkqIrAJuCmMpx++nV+Nlv/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792986019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Num/BK9LvLKzKLJUQb+kYlmv3LZ+w9ndfbSUWttfvsc=; b=fQuZhCs5R/2dM7v8CYd46GfVObrmIarVg30M+xEiud9yHcKOVn7+nL2cl+9h/mU4hF2reG 7QnGMhC0fM5G+RUlYrKKU3YO2oLAQ18Kl3hwxXSlM2neti+fbtSR6yhAW3tKfIb4fsU74I zxAaVQoKQZbjm4Y61Jtif+t+MUT3dxRfdN0f0iU4mDmO12zZPqkq+dZoeJWtv9Ujw075La wsFC+N6CLU8ISmWPISRxbSXuu8YXOTxRoOA3ogktIEZGXZ7+faqPudrk+KKIogQXZ7pRKl AuAwcBBa22zu6pQOwx6JYEuoRXYzvMQpF2lzbq24AkX95jJrt5Ob8OCwz1slwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jCfXM2qD8zGVl for ; Mon, 26 Oct 2026 03:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 40e1a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 26 Oct 2026 03:40:14 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Vladimir Grebenshchikov From: Konstantin Belousov Subject: git: fb97b4f1e3a5 - stable/15 - termios.4: clarify the behavior on the last close of controlling terminal List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: fb97b4f1e3a5e02a14666a3dca6eab1634b9fe7b Auto-Submitted: auto-generated Date: Mon, 26 Oct 2026 03:40:14 +0000 Message-Id: <6adecb9e.40e1a.42f91b8f@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=fb97b4f1e3a5e02a14666a3dca6eab1634b9fe7b commit fb97b4f1e3a5e02a14666a3dca6eab1634b9fe7b Author: Vladimir Grebenshchikov AuthorDate: 2026-10-13 23:04:27 +0000 Commit: Konstantin Belousov CommitDate: 2026-10-26 03:38:17 +0000 termios.4: clarify the behavior on the last close of controlling terminal (cherry picked from commit 44961edac85505ddd7d6670b8e0bfba9cbb7c70b) --- share/man/man4/termios.4 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4 index 26402d94a872..423b10bb403c 100644 --- a/share/man/man4/termios.4 +++ b/share/man/man4/termios.4 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 14, 2026 +.Dd October 16, 2026 .Dt TERMIOS 4 .Os .Sh NAME @@ -160,10 +160,11 @@ creates a new session with the function; other processes remaining in the old session that had this terminal as their controlling terminal continue to have it. -A process does not relinquish its -controlling terminal simply by closing all of its file descriptors -associated with the controlling terminal if other processes continue to -have it open. +Closing all file descriptors associated with the controlling terminal in +one process does not disassociate the terminal from the session while +another process continues to have it open. +When the last file descriptor associated with the controlling terminal is +closed, the terminal is disassociated from the session. .Pp When a controlling process terminates, the controlling terminal is disassociated from the current session, allowing it to be acquired by a