Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515774

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

From Deepa Dinamani <deepa.kernel@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC 0/6] vfs: Add timestamp range check support
Date 2016-11-06 22:20 +0100
Message-ID <sAD17-2bK-7@gated-at.bofh.it> (permalink)
References <sz5kS-7UD-7@gated-at.bofh.it> <szAyl-2Ih-5@gated-at.bofh.it> <sAzJT-8qW-1@gated-at.bofh.it> <sACeJ-1GA-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC 0/6] vfs: Add timestamp range check support Deepa Dinamani <deepa.kernel@gmail.com> - 2016-11-02 16:10 +0100
  [RFC 1/6] vfs: Add file timestamp range support Deepa Dinamani <deepa.kernel@gmail.com> - 2016-11-02 16:10 +0100
  [RFC 2/6] vfs: Add checks for filesystem timestamp limits Deepa Dinamani <deepa.kernel@gmail.com> - 2016-11-02 16:10 +0100
  [RFC 5/6] vfs: Add timestamp_truncate() api Deepa Dinamani <deepa.kernel@gmail.com> - 2016-11-02 16:10 +0100
  Re: [RFC 0/6] vfs: Add timestamp range check support Dave Chinner <david@fromorbit.com> - 2016-11-02 23:50 +0100
    Re: [RFC 0/6] vfs: Add timestamp range check support "Darrick J. Wong" <darrick.wong@oracle.com> - 2016-11-03 08:00 +0100
    Re: [RFC 0/6] vfs: Add timestamp range check support Theodore Ts'o <tytso@mit.edu> - 2016-11-03 21:50 +0100
      Re: [RFC 0/6] vfs: Add timestamp range check support Dave Chinner <david@fromorbit.com> - 2016-11-04 01:00 +0100
      Re: [RFC 0/6] vfs: Add timestamp range check support Andreas Dilger <adilger@dilger.ca> - 2016-11-04 01:30 +0100
        Re: [RFC 0/6] vfs: Add timestamp range check support Deepa Dinamani <deepa.kernel@gmail.com> - 2016-11-06 18:50 +0100
          Re: [RFC 0/6] vfs: Add timestamp range check support Arnd Bergmann <arnd@arndb.de> - 2016-11-06 21:30 +0100
            Re: [RFC 0/6] vfs: Add timestamp range check support Deepa Dinamani <deepa.kernel@gmail.com> - 2016-11-06 22:20 +0100

csiph-web