glibc/sysdeps/unix/sysv/linux/bits
Florian Weimer 3d3572f590 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>
2025-07-11 16:04:07 +02:00
..
types Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
a.out.h
dirent.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dirent_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
epoll.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
errno.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
eventfd.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fcntl-linux.h Add AT_* constants from Linux 6.12 2025-04-22 17:00:34 +00:00
fcntl.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
in.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
initspin.h
inotify.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ioctl-types.h linux/termio: remove <termio.h> and struct termio 2025-04-25 07:30:59 +02:00
ioctls.h Linux: Keep termios ioctl constants strictly internal 2025-07-11 16:04:07 +02:00
ipc-perm.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
local_lim.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mman-linux.h nptl: Add support for setup guard pages with MADV_GUARD_INSTALL 2025-01-30 10:16:37 -03:00
mman-map-flags-generic.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mman-shared.h misc: add PKEY_UNRESTRICTED macro 2025-05-28 10:58:40 +01:00
mman.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mman_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mqueue.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
msq.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
param.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
poll.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
posix_opt.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs-extra.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs-id.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs-prregset.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs.h
pthread_stack_min-dynamic.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pthread_stack_min.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ptrace-shared.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
resource.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
rseq.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sched.h Linux: Remove attribute access from sched_getattr (bug 32781) 2025-03-12 10:23:47 +01:00
sem.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
semaphore.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
shm.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
shmlba.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigaction.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigcontext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigevent-consts.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
siginfo-arch.h
siginfo-consts-arch.h
siginfo-consts.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
signal_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
signalfd.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
signum-arch.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigstack.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigstksz.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket-constants.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket_type.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
spawn_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ss_flags.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stat.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statfs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statvfs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statx.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stdio_lim.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
struct_stat.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
struct_stat_time64_helper.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_cc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_cflag.h linux: implement arbitrary and split speeds in termios 2025-06-17 09:11:38 -03:00
termios-c_iflag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_lflag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_oflag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-cbaud.h linux: implement arbitrary and split speeds in termios 2025-06-17 09:11:38 -03:00
termios-misc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-struct.h termios: unify the naming of the termios speed fields 2025-06-17 09:11:38 -03:00
termios-tcflow.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios.h termios: merge the termios baud definitions 2025-06-17 09:11:38 -03:00
time.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
timerfd.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
timex.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
typesizes.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
uio-ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
uio_lim.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
unistd_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
utsname.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
waitflags.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00