Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <IA0PR11MB79100FA5DA9209EED249503DE063A@IA0PR11MB7910.namprd11.prod.outlook.com>
Date: Wed, 11 Feb 2026 20:33:46 +0000
From: "Dora, Sunil Kumar" <SunilKumar.Dora@...driver.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
CC: "Kokkonda, Sundeep" <Sundeep.Kokkonda@...driver.com>
Subject: Question: Support for custom (non-standard) baud rates in musl

Hi,
I am currently investigating a build issue in GDB related to setting custom (non-standard) baud rates on Linux.
>From reviewing musl's termios implementation, I noticed:

  *
cfsetospeed / cfsetispeed appear to return EINVAL for non-standard baud rates.
  *
The c_ispeed / c_ospeed fields are not exposed with the same naming as in glibc.
  *
Linux-specific interfaces such as termios2, BOTHER, TCGETS2, etc., are not visible through the standard musl headers.

I would like to confirm whether the lack of support for arbitrary/custom baud rates (via BOTHER / termios2) is an intentional design decision in musl.
If custom baud rates are expected to work on musl-based Linux systems, I would appreciate guidance on the correct and supported approach.
Thank you for your time.
Best regards,
Sunil Dora


Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.