glibc/sysdeps/unix/sysv/linux/bits
Adhemerval Zanella a4ed0471d7 Always define __USE_TIME_BITS64 when 64 bit time_t is used
It was raised on libc-help [1] that some Linux kernel interfaces expect
the libc to define __USE_TIME_BITS64 to indicate the time_t size for the
kABI.  Different than defined by the initial y2038 design document [2],
the __USE_TIME_BITS64 is only defined for ABIs that support more than
one time_t size (by defining the _TIME_BITS for each module).

The 64 bit time_t redirects are now enabled using a different internal
define (__USE_TIME64_REDIRECTS). There is no expected change in semantic
or code generation.

Checked on x86_64-linux-gnu, i686-linux-gnu, aarch64-linux-gnu, and
arm-linux-gnueabi

[1] https://sourceware.org/pipermail/libc-help/2024-January/006557.html
[2] https://sourceware.org/glibc/wiki/Y2038ProofnessDesign

Reviewed-by: DJ Delorie <dj@redhat.com>
2024-04-02 15:28:36 -03:00
..
types Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
a.out.h Update. 2003-07-25 09:06:04 +00:00
dirent.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dirent_ext.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
epoll.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
errno.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
eventfd.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fcntl-linux.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fcntl.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
in.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
initspin.h Update. 2000-10-15 06:50:42 +00:00
inotify.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ioctl-types.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ioctls.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ipc-perm.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
local_lim.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mman-linux.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mman-map-flags-generic.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mman-shared.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mman.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mman_ext.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mqueue.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
msq.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
param.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
poll.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
posix_opt.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
procfs-extra.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
procfs-id.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
procfs-prregset.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
procfs.h Unify some sys/procfs.h headers. 2018-09-25 16:48:15 +00:00
pthread_stack_min-dynamic.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_stack_min.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ptrace-shared.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
resource.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
rseq.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sched.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
semaphore.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
shm.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
shmlba.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sigaction.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sigcontext.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sigevent-consts.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
siginfo-arch.h Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
siginfo-consts-arch.h Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
siginfo-consts.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
signal_ext.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
signalfd.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
signum-arch.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sigstack.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sigstksz.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
socket-constants.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
socket.h Add SOL_VSOCK from Linux 6.7 to bits/socket.h 2024-02-08 12:57:24 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
spawn_ext.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ss_flags.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
stat.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
statfs.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
statvfs.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
statx.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
stdio_lim.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
struct_stat.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
struct_stat_time64_helper.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-baud.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-c_cc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-c_cflag.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-c_iflag.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-c_lflag.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-c_oflag.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-misc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-struct.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios-tcflow.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
time.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
timerfd.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
timex.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
typesizes.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
uio-ext.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
uio_lim.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
unistd_ext.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
utsname.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
waitflags.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00