Page MenuHomeFreeBSD

vt: Allow VT_SETMODE with frsig=0
Needs ReviewPublic

Authored by emaste on Wed, Oct 1, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 3, 9:48 AM
Unknown Object (File)
Thu, Oct 2, 11:43 PM
Unknown Object (File)
Thu, Oct 2, 6:51 AM
Unknown Object (File)
Thu, Oct 2, 5:01 AM
Unknown Object (File)
Thu, Oct 2, 4:55 AM
Unknown Object (File)
Thu, Oct 2, 4:10 AM
Subscribers
None

Details

Reviewers
imp
dumbbell
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

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Wed, Oct 1, 5:21 PM
emaste created this revision.