HomeFreeBSD

vt: Allow VT_SETMODE with frsig=0

Description

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

Details

Provenance
emasteAuthored on Sep 30 2025, 7:39 PM
Differential Revision
D52835: vt: Allow VT_SETMODE with frsig=0
Parents
rGddec4209b10d: ipfilter: fix broken build
Branches
Unknown
Tags
Unknown