diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-07-21 15:12:44 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-07-21 15:13:08 +0200 |
commit | 0f93d54cde08d1da321493b999d6833779995a86 (patch) | |
tree | 951f763307c756d5a3f4dacff68c514f8d3ef8ea /sysdeps/unix/sysv/linux/bits | |
parent | c744519bad81067697600bd01e90b90ae338bf08 (diff) | |
download | glibc-0f93d54cde08d1da321493b999d6833779995a86.zip glibc-0f93d54cde08d1da321493b999d6833779995a86.tar.gz glibc-0f93d54cde08d1da321493b999d6833779995a86.tar.bz2 |
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>
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/ioctls.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/ioctls.h b/sysdeps/unix/sysv/linux/bits/ioctls.h index f340a4f..1ddcd4f 100644 --- a/sysdeps/unix/sysv/linux/bits/ioctls.h +++ b/sysdeps/unix/sysv/linux/bits/ioctls.h @@ -22,18 +22,4 @@ /* Use the definitions from the kernel header files. */ #include <asm/ioctls.h> -/* The GNU C library has a different definition of struct termios, - incompatible with what the ioctl interface expects. The existence - of the termios2 ioctls is considered an implementation detail. - Undefine all related ioctl constants. */ -#undef TCGETS -#undef TCSETS -#undef TCSETSF -#undef TCSETSW -#undef TCGETS2 -#undef TCSETS2 -#undef TCSETSF2 -#undef TCSETSW2 - - #include <linux/sockios.h> |