[Bug 289812] [vt] Make frsig field optional in VT_SETMODE.
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 289812] [vt] Make frsig field optional in VT_SETMODE."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Oct 2025 16:55:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289812
--- Comment #6 from Ed Maste <emaste@freebsd.org> ---
It looks like Linux doesn't care, it just passes whatever was provided in
acqsig or relsig to kill_pid(). For us the Linuxulator behaviour makes sense
because it has to translate the requested Linux signal to FreeBSD and there is
no mapping for an invalid signal.
mpv currently has `struct vt_mode vt_mode = { 0 };` and I'd expect that sort of
idiom to be pretty common.
sddm has
vt_mode setModeRequest { };
bool ok = true;
setModeRequest.mode = VT_PROCESS;
setModeRequest.relsig = RELEASE_DISPLAY_SIGNAL;
setModeRequest.acqsig = ACQUIRE_DISPLAY_SIGNAL;
if (ioctl(fd, VT_SETMODE, &setModeRequest) < 0) {
qDebug() << "Failed to manage VT manually:" << strerror(errno);
ok = false;
}
--
You are receiving this mail because:
You are the assignee for the bug.