]> git.ipfire.org Git - thirdparty/glibc.git/commit
Revert "Linux: Keep termios ioctl constants strictly internal"
authorFlorian Weimer <fweimer@redhat.com>
Mon, 21 Jul 2025 13:12:44 +0000 (15:12 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 21 Jul 2025 13:13:08 +0000 (15:13 +0200)
commit0f93d54cde08d1da321493b999d6833779995a86
tree951f763307c756d5a3f4dacff68c514f8d3ef8ea
parentc744519bad81067697600bd01e90b90ae338bf08
Revert "Linux: Keep termios ioctl constants strictly internal"

This reverts commit 3d3572f59059e2b19b8541ea648a6172136ec42e.

Reason for revert: TCGETS etc. work to some extent on at least
a subset of architectures, so there is no pressing need to force
applications off them.  Removal of the macros breaks building
the sanitizers, impacting both GCC and LLVM.

Reviewed-by: Sam James <sam@gentoo.org>
18 files changed:
NEWS
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/alpha/bits/ioctls.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/termios_arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/bits/ioctls.h
sysdeps/unix/sysv/linux/hppa/bits/ioctls.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/isatty.c
sysdeps/unix/sysv/linux/isatty_nostatus.c
sysdeps/unix/sysv/linux/mips/termios_arch.h [moved from sysdeps/unix/sysv/linux/mips/old_termios.h with 62% similarity]
sysdeps/unix/sysv/linux/powerpc/internal-ioctl.h
sysdeps/unix/sysv/linux/powerpc/termios_arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/sparc/bits/ioctls.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/sparc/termios_arch.h [moved from sysdeps/unix/sysv/linux/sparc/old_termios.h with 62% similarity]
sysdeps/unix/sysv/linux/tcgetattr.c
sysdeps/unix/sysv/linux/tcsetattr.c
sysdeps/unix/sysv/linux/termios-kernel-consts.sym [deleted file]
sysdeps/unix/sysv/linux/termios_arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/termios_internals.h