Re: [Y2038] [PATCH 13/16] hfs/hfsplus: use 64-bit inode timestamps

2019-11-13 Thread Viacheslav Dubeyko
> On Nov 13, 2019, at 11:06 AM, Arnd Bergmann wrote: > > On Wed, Nov 13, 2019 at 7:00 AM Viacheslav Dubeyko wrote: >>> On Nov 9, 2019, at 12:32 AM, Arnd Bergmann wrote: >>> * There are two time systems. Both are based on seconds since >>> * a particular t

Re: [Y2038] [PATCH 13/16] hfs/hfsplus: use 64-bit inode timestamps

2019-11-12 Thread Viacheslav Dubeyko
https://developer.apple.com/library/archive/technotes/tn/tn1150.html > Link: [2] > https://opensource.apple.com/source/hfs/hfs-407.30.1/core/MacOSStubs.c.auto.html > Link: https://lore.kernel.org/lkml/20180711224625.airwna6gzyatoowe@eaf/ > Cc: Viacheslav Dubeyko > Suggested-by: "Erne

Re: [Y2038] [PATCH 1/3] hfs: stop using timespec based interfaces

2018-06-20 Thread Viacheslav Dubeyko
On Tue, 2018-06-19 at 21:42 +0200, Arnd Bergmann wrote: > On Tue, Jun 19, 2018 at 7:03 PM, Viacheslav Dubeyko m> wrote: > > > > On Tue, 2018-06-19 at 18:02 +0200, Arnd Bergmann wrote: > > > > > > The native HFS timestamps overflow in year 2040, two years af

Re: [Y2038] [PATCH 1/3] hfs: stop using timespec based interfaces

2018-06-19 Thread Viacheslav Dubeyko
On Tue, 2018-06-19 at 18:02 +0200, Arnd Bergmann wrote: > The native HFS timestamps overflow in year 2040, two years after the > Unix > y2038 overflow. However, the way that the conversion between on-disk > timestamps and in-kernel timestamps was implemented, 64-bit machines > actually ended up