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)
Wed, Nov 12, 3:44 AM
Unknown Object (File)
Sat, Nov 8, 4:50 AM
Unknown Object (File)
Sat, Nov 8, 4:49 AM
Unknown Object (File)
Sat, Nov 8, 1:53 AM
Unknown Object (File)
Oct 26 2025, 3:00 PM
Unknown Object (File)
Oct 25 2025, 7:41 AM
Unknown Object (File)
Oct 24 2025, 4:36 PM
Unknown Object (File)
Oct 23 2025, 4:35 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.Thu, Nov 27, 12:19 AM
This revision was automatically updated to reflect the committed changes.