[Bug 289812] Make frsig field optional in VT_SETMODE.
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 289812] [vt] Make frsig field optional in VT_SETMODE."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Dec 2025 16:33:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289812
--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=224d65015465d085f2e07edccef1f23a8c217b88
commit 224d65015465d085f2e07edccef1f23a8c217b88
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-09-30 19:39:34 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-12-09 16:32:10 +0000
vt: Allow VT_SETMODE with frsig=0
Linux does not check that any of the signals in vt_mode VT_SETMODE ioctl
(relsig, acqsig, frsig) are valid, but FreeBSD required that all three
are valid. frsig is unusued in both Linux and FreeBSD, and software
typically leaves it unset. To improve portability, allow frsig to be
set to zero.
PR: 289812
Reported by: Dušan Gvozdenović
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52835
(cherry picked from commit 5198c32210039d8dc92554647384eee75688848c)
sys/dev/vt/vt_core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.