Page MenuHomeFreeBSD

vt: Allow VT_SETMODE with frsig=0
ClosedPublic

Authored by emaste on Oct 1 2025, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 30, 12:54 PM
Unknown Object (File)
Mon, Dec 29, 11:17 PM
Unknown Object (File)
Sun, Dec 28, 4:58 AM
Unknown Object (File)
Tue, Dec 23, 5:28 PM
Unknown Object (File)
Tue, Dec 23, 6:40 AM
Unknown Object (File)
Dec 9 2025, 5:07 PM
Unknown Object (File)
Dec 5 2025, 1:02 PM
Unknown Object (File)
Nov 30 2025, 8:19 PM
Subscribers
None

Details

Summary
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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste requested review of this revision.Oct 1 2025, 5:21 PM
emaste created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Nov 27 2025, 12:19 AM
This revision was automatically updated to reflect the committed changes.