Page MenuHomeFreeBSD

vt: Allow VT_SETMODE with frsig=0
ClosedPublic

Authored by emaste on Oct 1 2025, 5:21 PM.
Tags
None
Referenced Files
F163884790: D52835.id167164.diff
Sun, Jul 26, 9:33 PM
Unknown Object (File)
Tue, Jul 21, 7:06 PM
Unknown Object (File)
Tue, Jul 21, 5:35 PM
Unknown Object (File)
Tue, Jul 21, 2:00 PM
Unknown Object (File)
Mon, Jul 20, 4:09 PM
Unknown Object (File)
Sun, Jul 19, 5:01 AM
Unknown Object (File)
Sat, Jul 18, 1:50 PM
Unknown Object (File)
Wed, Jul 15, 6:47 AM
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.