Thread (64 messages) 64 messages, 9 authors, 2019-01-25

Re: [PATCH v2 25/29] y2038: syscalls: rename y2038 compat syscalls

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2019-01-25 15:47:48
Also in: linux-alpha, linux-api, linux-arm-kernel, linux-fsdevel, linux-mips, linux-sh, linuxppc-dev, lkml, netdev, sparclinux

On Fri, Jan 18, 2019 at 05:18:31PM +0100, Arnd Bergmann wrote:
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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
For arm64:

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help