y2038: syscalls: rename y2038 compat syscalls
authorArnd Bergmann <arnd@arndb.de>
Sun, 6 Jan 2019 23:33:08 +0000 (00:33 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 6 Feb 2019 23:13:27 +0000 (00:13 +0100)
commit8dabe7245bbc134f2cfcc12cde75c019dab924cc
treeb08c1d41803f1586bc32a22334fa2b183b0eb0ba
parent7948450d455658601fedbf3b3e9890b4b36a214a
y2038: syscalls: rename y2038 compat syscalls

A lot of system calls that pass a time_t somewhere have an implementation
using a COMPAT_SYSCALL_DEFINEx() on 64-bit architectures, and have
been reworked so that this implementation can now be used on 32-bit
architectures as well.

The missing step is to redefine them using the regular SYSCALL_DEFINEx()
to get them out of the compat namespace and make it possible to build them
on 32-bit architectures.

Any system call that ends in 'time' gets a '32' suffix on its name for
that version, while the others get a '_time32' suffix, to distinguish
them from the normal version, which takes a 64-bit time argument in the
future.

In this step, only 64-bit architectures are changed, doing this rename
first lets us avoid touching the 32-bit architectures twice.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
26 files changed:
arch/arm64/include/asm/unistd32.h
arch/mips/kernel/syscalls/syscall_n32.tbl
arch/mips/kernel/syscalls/syscall_o32.tbl
arch/parisc/kernel/syscalls/syscall.tbl
arch/powerpc/kernel/syscalls/syscall.tbl
arch/s390/kernel/syscalls/syscall.tbl
arch/sparc/kernel/syscalls/syscall.tbl
arch/x86/entry/syscalls/syscall_32.tbl
fs/aio.c
fs/select.c
fs/timerfd.c
fs/utimes.c
include/linux/compat.h
include/linux/syscalls.h
include/uapi/asm-generic/unistd.h
ipc/mqueue.c
ipc/sem.c
kernel/futex.c
kernel/sched/core.c
kernel/signal.c
kernel/sys_ni.c
kernel/time/hrtimer.c
kernel/time/posix-stubs.c
kernel/time/posix-timers.c
kernel/time/time.c
net/compat.c