glibc/sysdeps/unix/sysv/linux/aarch64
H. Peter Anvin (Intel) 5f138519eb termios: add new baud_t interface, defined to be explicitly numeric
Add an explicitly numeric interface for baudrate setting. For glibc,
this only announces what is a fair accompli, but this is a plausible
way forward for standardization, and may be possible to infill on
non-compliant systems. The POSIX committee has stated:

[https://www.austingroupbugs.net/view.php?id=1916#c7135]

	A future version of this standard is expected to add at least
	the following symbolic constants for use as values of objects
	of type speed_t: B57600, B115200, B230400, B460800, and
	B921600.

	Implementations are encouraged to propose additional
	interfaces which will make it possible to set and query a
	wider range of speeds than just those enumerated by the
	constants beginning with B. If a set of common interfaces
	emerges between several implementations, a future version of
	this standard will likely add those interfaces.

This is exactly that interface.

The use of the term "baud" is due to the need to have a term
contrasting "speed", and it is already well established as a legacy
term -- including in the names of the legacy Bxxx
constants. Futhermore, it *is* valid from the point of view that the
termios interface fundamentally emulates an RS-232 serial port as far
as the application software is concerned.

The documentation states that for the current version of glibc,
speed_t == baud_t, but explicitly declares that this may not be the
case in the future.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2025-06-17 09:11:38 -03:00
..
bits AArch64: Remove LP64 and ILP32 ifdefs 2025-02-24 14:20:29 +00:00
sys
Implies
Makefile aarch64: Fix _dl_tlsdesc_dynamic unwind for pac-ret (BZ 32612) 2025-03-31 10:08:06 -03:00
Versions
arch-pkey.h
arch-syscall.h Update syscall lists for Linux 6.15 2025-05-29 19:21:46 +00:00
c++-types.data
clone.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
clone3.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
configure
configure.ac
cpu-features.c aarch64: Add HWCAP_GCS 2025-01-21 11:45:14 +00:00
dl-cache.h AArch64: Remove LP64 and ILP32 ifdefs 2025-02-24 14:20:29 +00:00
dl-procinfo.c Remove unused dl-procinfo.h 2025-02-28 16:55:18 +00:00
dl-procruntime.c aarch64: Add glibc.cpu.aarch64_gcs tunable 2025-01-20 09:31:33 +00:00
getcontext.S AArch64: Remove PTR_REG defines 2025-02-24 14:16:55 +00:00
gettimeofday.c
ioctl.S
kernel-features.h
kernel_rt_sigframe.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc-start.h aarch64: Process gnu properties in static exe 2025-01-20 09:36:19 +00:00
libc.abilist termios: add new baud_t interface, defined to be explicitly numeric 2025-06-17 09:11:38 -03:00
libc_malloc_debug.abilist
libc_sigaction.c
libdl.abilist
libm.abilist Implement C23 rootn. 2025-05-14 10:51:46 +00:00
libmvec.abilist AArch64: Implement AdvSIMD and SVE atan2pi/f 2025-05-19 15:35:25 +00:00
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data
makecontext.c aarch64: Use __alloc_gcs in makecontext 2025-01-20 09:36:19 +00:00
pkey_get.c
pkey_set.c
pointer_guard.h AArch64: Cleanup pointer mangling 2025-02-24 14:17:57 +00:00
readelflib.c
send.c
setcontext.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
shlib-versions
sigcontextinfo.h
single-thread.h
swapcontext.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
syscall.S
syscall_cancel.S
sysconf.c aarch64: Use 64-bit variable to access the special registers 2025-01-13 10:17:38 -03:00
sysdep.c
sysdep.h AArch64: Remove LP64 and ILP32 ifdefs 2025-02-24 14:20:29 +00:00
tst-aarch64-pkey.c Fix tst-aarch64-pkey to handle ENOSPC as not supported 2025-02-15 11:08:43 +01:00
tst-gcs-abort.sh aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-disabled-static.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-disabled.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-dlopen-disabled.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-enforced.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-optional-off.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-optional-on.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-override.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-enforced-abort.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-enforced-static-abort.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-enforced-static.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-enforced.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-helper.h aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-mod1.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-mod2.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-mod3.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-noreturn.c aarch64: Add GCS test with signal handler 2025-02-21 16:23:44 +00:00
tst-gcs-optional-off.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-optional-on.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-optional-static-off.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-optional-static-on.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-override-static.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-override.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-shared-disabled.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared-enforced-abort.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared-optional.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared-override.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-skeleton.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-tlsdesc-pac-mod.c aarch64: Fix _dl_tlsdesc_dynamic unwind for pac-ret (BZ 32612) 2025-03-31 10:08:06 -03:00
tst-tlsdesc-pac.c aarch64: Fix _dl_tlsdesc_dynamic unwind for pac-ret (BZ 32612) 2025-03-31 10:08:06 -03:00
ucontext-internal.h aarch64: Add GCS support for setcontext 2025-01-20 09:22:41 +00:00
ucontext_i.sym
vfork.S aarch64: Add GCS support to vfork 2025-01-20 09:22:41 +00:00
vltest.py