This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10339] Terminal interface: non-standard baudrates are not handled properly on Linux-systems


https://sourceware.org/bugzilla/show_bug.cgi?id=10339

--- Comment #18 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
For the patchset:

- Instead of making Linux specific I think we can make it a GNU ABI and return
ENOSYS as default
- The patch which ads cf{get,set}{o,i}baud need to split
  - one patch which adds c_ispeed/c_ospeed for the missing architectures (mips
and sparc), add the compat symbol, and the new implementation.
  - We usually avoid adding arch-conditional on Linux generic code (such as
#ifdef __alpha__), we usually an override which the architecture can set or if
the architecture is an outlier (as alpha usually is) just add an alpha
implementation.
  - INLINE_SYSCALL -> INLINE_SYSCALL_CALL (to avoid require set the expected
size)
- For the patch "Define IBSHIFT, CIBAUD and BOTHER in the bits/termios.h
headers" we can propose it now since it is an independently consolidation.

I will work on consolidate current termios.h header definition, which should be
orthogonal to current new abi proposal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]