y2038: globally rename compat_time to old_time32
Christoph Hellwig suggested a slightly different path for handling backwards compatibility with the 32-bit time_t based system calls: Rather than simply reusing the compat_sys_* entry points on 32-bit architectures unchanged, we get rid of those entry points and the compat_time types by renaming them to something that makes more sense on 32-bit architectures (which don't have a compat mode otherwise), and then share the entry points under the new name with the 64-bit architectures that use them for implementing the compatibility. The following types and interfaces are renamed here, and moved from linux/compat_time.h to linux/time32.h: old new --- --- compat_time_t old_time32_t struct compat_timeval struct old_timeval32 struct compat_timespec struct old_timespec32 struct compat_itimerspec struct old_itimerspec32 ns_to_compat_timeval() ns_to_old_timeval32() get_compat_itimerspec64() get_old_itimerspec32() put_compat_itimerspec64() put_old_itimer...
Showing
- arch/arm64/include/asm/compat.h 3 additions, 3 deletionsarch/arm64/include/asm/compat.h
- arch/arm64/include/asm/stat.h 1 addition, 1 deletionarch/arm64/include/asm/stat.h
- arch/mips/include/asm/compat.h 3 additions, 3 deletionsarch/mips/include/asm/compat.h
- arch/mips/kernel/binfmt_elfn32.c 7 additions, 7 deletionsarch/mips/kernel/binfmt_elfn32.c
- arch/mips/kernel/binfmt_elfo32.c 7 additions, 7 deletionsarch/mips/kernel/binfmt_elfo32.c
- arch/parisc/include/asm/compat.h 3 additions, 3 deletionsarch/parisc/include/asm/compat.h
- arch/powerpc/include/asm/compat.h 3 additions, 3 deletionsarch/powerpc/include/asm/compat.h
- arch/powerpc/kernel/asm-offsets.c 4 additions, 4 deletionsarch/powerpc/kernel/asm-offsets.c
- arch/powerpc/oprofile/backtrace.c 1 addition, 1 deletionarch/powerpc/oprofile/backtrace.c
- arch/sparc/include/asm/compat.h 3 additions, 3 deletionsarch/sparc/include/asm/compat.h
- fs/aio.c 4 additions, 4 deletionsfs/aio.c
- fs/compat_binfmt_elf.c 1 addition, 1 deletionfs/compat_binfmt_elf.c
- fs/select.c 10 additions, 10 deletionsfs/select.c
- fs/timerfd.c 6 additions, 6 deletionsfs/timerfd.c
- fs/utimes.c 6 additions, 6 deletionsfs/utimes.c
- include/linux/compat.h 48 additions, 48 deletionsinclude/linux/compat.h
- include/linux/compat_time.h 0 additions, 32 deletionsinclude/linux/compat_time.h
- include/linux/elfcore-compat.h 4 additions, 4 deletionsinclude/linux/elfcore-compat.h
- include/linux/restart_block.h 2 additions, 2 deletionsinclude/linux/restart_block.h
- include/linux/syscalls.h 1 addition, 1 deletioninclude/linux/syscalls.h
Please register or sign in to comment