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>
Showing
- arch/arm64/include/asm/unistd32.h 24 additions, 24 deletionsarch/arm64/include/asm/unistd32.h
- arch/mips/kernel/syscalls/syscall_n32.tbl 25 additions, 25 deletionsarch/mips/kernel/syscalls/syscall_n32.tbl
- arch/mips/kernel/syscalls/syscall_o32.tbl 26 additions, 26 deletionsarch/mips/kernel/syscalls/syscall_o32.tbl
- arch/parisc/kernel/syscalls/syscall.tbl 27 additions, 27 deletionsarch/parisc/kernel/syscalls/syscall.tbl
- arch/powerpc/kernel/syscalls/syscall.tbl 26 additions, 26 deletionsarch/powerpc/kernel/syscalls/syscall.tbl
- arch/s390/kernel/syscalls/syscall.tbl 26 additions, 26 deletionsarch/s390/kernel/syscalls/syscall.tbl
- arch/sparc/kernel/syscalls/syscall.tbl 26 additions, 26 deletionsarch/sparc/kernel/syscalls/syscall.tbl
- arch/x86/entry/syscalls/syscall_32.tbl 26 additions, 26 deletionsarch/x86/entry/syscalls/syscall_32.tbl
- fs/aio.c 5 additions, 5 deletionsfs/aio.c
- fs/select.c 2 additions, 2 deletionsfs/select.c
- fs/timerfd.c 2 additions, 2 deletionsfs/timerfd.c
- fs/utimes.c 5 additions, 5 deletionsfs/utimes.c
- include/linux/compat.h 4 additions, 69 deletionsinclude/linux/compat.h
- include/linux/syscalls.h 57 additions, 0 deletionsinclude/linux/syscalls.h
- include/uapi/asm-generic/unistd.h 22 additions, 22 deletionsinclude/uapi/asm-generic/unistd.h
- ipc/mqueue.c 8 additions, 8 deletionsipc/mqueue.c
- ipc/sem.c 1 addition, 1 deletionipc/sem.c
- kernel/futex.c 1 addition, 1 deletionkernel/futex.c
- kernel/sched/core.c 2 additions, 3 deletionskernel/sched/core.c
- kernel/signal.c 1 addition, 1 deletionkernel/signal.c
Loading
Please register or sign in to comment