diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-07-11 16:04:07 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-07-11 16:04:07 +0200 |
commit | 3d3572f59059e2b19b8541ea648a6172136ec42e (patch) | |
tree | 59beaca069f8cb8cd1f4cc0284a3bc6209d9b02e /malloc/alloc_buffer_alloc_array.c | |
parent | 02e7ac5ee3c6d2ef20c024ea7c243d0ae8496608 (diff) | |
download | glibc-3d3572f59059e2b19b8541ea648a6172136ec42e.zip glibc-3d3572f59059e2b19b8541ea648a6172136ec42e.tar.gz glibc-3d3572f59059e2b19b8541ea648a6172136ec42e.tar.bz2 |
Linux: Keep termios ioctl constants strictly internal
Undefine TCGETS, TCGETS2, and related ioctl constants in the installed
headers. Extract the correct constants (using the kernel type
definitions) automatically from the UAPI headers. The kernel
constants are available under KERNEL_* names during the glibc build,
computed using assembler constant extraction mechanism.
Alpha may have to use TCGETS instead of TCGETS2 because TCTGETS2
became available in Linux 4.20 only. Introduce ARCH_TCGETS to make
this choice explict.
To support emulation on powerpc, glibc versions of the termios
constants are added to the emulation code in internal-ioctl.h.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions