linux/arch
Arnd Bergmann d33c577ccc y2038: rename old time and utime syscalls
The time, stime, utime, utimes, and futimesat system calls are only
used on older architectures, and we do not provide y2038 safe variants
of them, as they are replaced by clock_gettime64, clock_settime64,
and utimensat_time64.

However, for consistency it seems better to have the 32-bit architectures
that still use them call the "time32" entry points (leaving the
traditional handlers for the 64-bit architectures), like we do for system
calls that now require two versions.

Note: We used to always define __ARCH_WANT_SYS_TIME and
__ARCH_WANT_SYS_UTIME and only set __ARCH_WANT_COMPAT_SYS_TIME and
__ARCH_WANT_SYS_UTIME32 for compat mode on 64-bit kernels. Now this is
reversed: only 64-bit architectures set __ARCH_WANT_SYS_TIME/UTIME, while
we need __ARCH_WANT_SYS_TIME32/UTIME32 for 32-bit architectures and compat
mode. The resulting asm/unistd.h changes look a bit counterintuitive.

This is only a cleanup patch and it should not change any behavior.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2019-02-07 00:13:28 +01:00
..
alpha timex: use __kernel_timex internally 2019-02-07 00:13:27 +01:00
arc arch: remove redundant UAPI generic-y defines 2019-01-06 10:22:15 +09:00
arm y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
arm64 y2038: syscalls: rename y2038 compat syscalls 2019-02-07 00:13:27 +01:00
c6x arch: restore generic-y += shmparam.h for some architectures 2019-01-06 18:16:11 -08:00
csky csky: fixup compile error with CPU 810. 2019-01-10 04:37:37 -08:00
h8300 arch: restore generic-y += shmparam.h for some architectures 2019-01-06 18:16:11 -08:00
hexagon arch: restore generic-y += shmparam.h for some architectures 2019-01-06 18:16:11 -08:00
ia64 arch: add pkey and rseq syscall numbers everywhere 2019-01-25 17:22:50 +01:00
m68k y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
microblaze y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
mips y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
nds32 arch: remove redundant UAPI generic-y defines 2019-01-06 10:22:15 +09:00
nios2 arch: remove redundant UAPI generic-y defines 2019-01-06 10:22:15 +09:00
openrisc arch/openrisc: Fix issues with access_ok() 2019-01-08 18:22:30 -08:00
parisc y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
powerpc y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
riscv Fix a handful of audit-related issue 2019-01-07 08:45:47 -08:00
s390 y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
sh y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
sparc y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
um Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
unicore32 arch: restore generic-y += shmparam.h for some architectures 2019-01-06 18:16:11 -08:00
x86 y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
xtensa y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
.gitignore
Kconfig y2038: use time32 syscall names on 32-bit 2019-02-07 00:13:28 +01:00