Messages in this thread | | | From | Deepa Dinamani <> | Date | Sun, 6 Nov 2016 13:14:05 -0800 | Subject | Re: [RFC 0/6] vfs: Add timestamp range check support |
| |
On Sun, Nov 6, 2016 at 12:28 PM, Arnd Bergmann <arnd@arndb.de> wrote: > On Sunday, November 6, 2016 9:44:33 AM CET Deepa Dinamani wrote: >> I will post xfs tests that validate mount and range checking. >> I will keep the policy same as what the RFC suggests for now. >> >> Clamping can be verified once vfs is transitioned to using time64_t. > > Won't it already work as expected on 64-bit architectures as they > have a 64-bit time_t?
Yes, on 64 bit architectures, it should work fine. 32 bit machines will have wrong clamped timestamps though for some filesystems.
I can post a test for clamping that only works on 64 bit machines.
Thanks, -Deepa
| |