[PATCH 1/3] y2038: linux: Provide __futimes64 implementation
Joseph Myers
joseph at codesourcery.com
Tue Jul 7 16:36:02 EDT 2020
On Tue, 7 Jul 2020, Vineet Gupta via Libc-alpha wrote:
> The issue is generic/utimes.c
>
> Is that the right file to build. If yes then it needs fixing as it expects
> __NR_utimensat (and thus require the aliasing hack in ARC sysdep.h)
It was the right file to build, back when sysdeps/unix/sysv/linux/utimes.c
required a utimes syscall to be present and architectures with the generic
syscall interface didn't gave one.
Now, there is nothing in sysdeps/unix/sysv/linux/utimes.c that wouldn't
work on asm-generic architectures. So generic/utimes.c should be removed.
Likewise, hppa/utimes.c should also be removed (now that
sysdeps/unix/sysv/linux/utimes.c doesn't use the utimes syscalls, it
doesn't matter than hppa got it late), and the __ASSUME_UTIMES definition
in sysdeps/unix/sysv/linux/hppa/kernel-features.h should also be removed
(because nothing will use it once the hppa utimes.c goes away).
Similarly, there is no longer a need for generic/futimesat.c so that can
go away as well.
--
Joseph S. Myers
joseph at codesourcery.com
More information about the linux-snps-arc
mailing list