]> git.ipfire.org Git - thirdparty/glibc.git/commit
linux/termios/powerpc: deal with powerpc-unique ioctl emulation
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 12 Jun 2025 01:35:35 +0000 (18:35 -0700)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 17 Jun 2025 12:11:38 +0000 (09:11 -0300)
commit5f54d8bc48983bed844c02e1fe614ad223e78838
treea482b3652d7f126e8f0f0e97bac336fda82d6d08
parent091256f0d1be5efebe5fede0d710e0de7375124d
linux/termios/powerpc: deal with powerpc-unique ioctl emulation

The powerpc architecture, only, emulates the termios ioctls using the
glibc termios structure. Export the real kernel ones as the termios2
interface; although the kernel doesn't call it termios2, it is exactly
the termios2 interface, and it avoids the namespace clash between the
emulated ioctls and the real kernel ioctls.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/powerpc/bits/ioctls.h [new file with mode: 0644]