[RFC 0/6] vfs: Add timestamp range check support

Deepa Dinamani deepa.kernel at gmail.com
Sun Nov 6 13:14:05 PST 2016


On Sun, Nov 6, 2016 at 12:28 PM, Arnd Bergmann <arnd at 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



More information about the linux-afs mailing list