[Bug libc/10339] Terminal interface: non-standard baudrates are not handled properly on Linux-systems
hpa at zytor dot com
sourceware-bugzilla@sourceware.org
Tue Oct 2 20:30:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=10339
--- Comment #5 from hpa at zytor dot com <hpa at zytor dot com> ---
To answer a few more questions:
1. All future Linux ports are required to use the new generic ABI definitions
(defined in include/uapi/asm-generic). This is intended to permanently
address the issue of platform-specific ABIs (which was an artifact of
the misguided idea of providing binary compatibility with legacy Unices
on some platforms.)
So all future platforms will support termios2.
2. After doing some digging, it seems like the only platform that doesn't
support termios2 is Alpha... ironically because it had c_ispeed and
c_ospeed in its termios structure already. However, at least somewhere
along the line, the kernel infrastructure for supporting this as a one-
off without BOTHER seems to have broken. I have contacted the serial
and Alpha maintainers and proposed a very simple solution, but it would of
course only work on new enough kernels.
Final question:
What platforms and Linux kernel versions does glibc support these days?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list