Re: [Y2038] [PATCH v2 02/17] y2038: Remove newstat family from default syscall set

2018-07-19 Thread Arnd Bergmann
On Wed, Jul 18, 2018 at 10:15 PM, Joseph Myers wrote: > On Tue, 17 Jul 2018, Arnd Bergmann wrote: > >> That would definitely help. See below for the stat implementation >> I did in my musl libc prototype based on statx(). It passes the >> LTP syscall tests, but that doesn't mean all the corner cas

Re: [Y2038] [PATCH v2 02/17] y2038: Remove newstat family from default syscall set

2018-07-18 Thread Joseph Myers
On Tue, 17 Jul 2018, Arnd Bergmann wrote: > That would definitely help. See below for the stat implementation > I did in my musl libc prototype based on statx(). It passes the > LTP syscall tests, but that doesn't mean all the corner cases > are correct. Well, you definitely need explicit timesta

Re: [Y2038] [PATCH v2 02/17] y2038: Remove newstat family from default syscall set

2018-07-17 Thread Arnd Bergmann
On Tue, Jul 17, 2018 at 2:50 PM, Christoph Hellwig wrote: > On Mon, Jul 16, 2018 at 06:10:48PM +0200, Arnd Bergmann wrote: >> We have four generations of stat() syscalls: >> - the oldstat syscalls that are only used on the older architectures >> - the newstat family that is used on all 64-bit arch

Re: [Y2038] [PATCH v2 02/17] y2038: Remove newstat family from default syscall set

2018-07-17 Thread Christoph Hellwig
On Mon, Jul 16, 2018 at 06:10:48PM +0200, Arnd Bergmann wrote: > We have four generations of stat() syscalls: > - the oldstat syscalls that are only used on the older architectures > - the newstat family that is used on all 64-bit architectures but > lacked support for large files on 32-bit archi

[Y2038] [PATCH v2 02/17] y2038: Remove newstat family from default syscall set

2018-07-16 Thread Arnd Bergmann
We have four generations of stat() syscalls: - the oldstat syscalls that are only used on the older architectures - the newstat family that is used on all 64-bit architectures but lacked support for large files on 32-bit architectures. - the stat64 family that is used mostly on 32-bit architectur