about summary refs log tree commit diff
path: root/gshadow/getsgnam_r.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-08-28 14:27:03 -0400
committerZack Weinberg <zackw@panix.com>2019-09-04 16:11:27 -0400
commita26918cfda4bc4b9dad8aae1496e3ef7cbb63d96 (patch)
tree29ebb5af2e1bbac8c0c21d220bb0a713db1e7921 /gshadow/getsgnam_r.c
parent7b5af2d8f2a2b858319a792678b15a0db08764c7 (diff)
downloadglibc-a26918cfda4bc4b9dad8aae1496e3ef7cbb63d96.tar.gz
glibc-a26918cfda4bc4b9dad8aae1496e3ef7cbb63d96.tar.xz
glibc-a26918cfda4bc4b9dad8aae1496e3ef7cbb63d96.zip
y2038: Introduce the __ASSUME_TIME64_SYSCALLS define
Add a macro to linux/kernel-features.h, __ASSUME_TIME64_SYSCALLS, to
indicate whether the kernel can be assumed to provide a set of system
calls that process 64-bit time_t.

__ASSUME_TIME64_SYSCALLS does not indicate whether time_t is actually
64 bits (that's __TIMEBITS) and also does not indicate whether the
64-bit time_t system calls have "time64" suffixes on their names.

Code that uses __ASSUME_TIME64_SYSCALLS will be added in subsequent
patches.

	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_TIME64_SYSCALLS): New macro.

Reviewed-by: Alistair Francis <alistair23@gmail.com>
Reviewed-by: Joseph Myers <joseph@codesourcery.com>
Reviewed-by: Zack Weinberg <zackw@panix.com>
Diffstat (limited to 'gshadow/getsgnam_r.c')
0 files changed, 0 insertions, 0 deletions