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


Groups > linux.kernel > #1630985

Re: [Y2038] [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [Y2038] [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits
Date 2017-04-25 22:40 +0200
Message-ID <tAfpE-11t-11@gated-at.bofh.it> (permalink)
References (1 earlier) <tu4nf-13d-1@gated-at.bofh.it> <tu4Qi-1sE-1@gated-at.bofh.it> <tubf3-5sB-1@gated-at.bofh.it> <tAeDf-up-9@gated-at.bofh.it> <tAeWC-Q9-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 25, 2017 at 10:02 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> On Tue, Apr 25, 2017 at 12:47 PM, Arnd Bergmann <arnd@arndb.de> wrote:
>>
>> There is one global option that I want to see, and that is for completely
>> disabling all components that are known to be broken in y2038.
>
> I really don't see the point.
>
> Don't do it. Make it some local hack, I'm not taking crazy patches.

I have the local hack , and used it to find all the drivers that use a
32-bit time_t internally (and mark them with a Kconfig dependency
for testing).

Would it be ok to have a simple way of removing the time_t definition (e.g.
by passing '-DREQUIRE_TIME64' to the compiler, but without the Kconfig
option? That way, someone who wants to ship a product can at least
find the obvious dependencies on stuff that remains broken.

       Arnd

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


Thread

Re: [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits Arnd Bergmann <arnd@arndb.de> - 2017-04-25 21:50 +0200
  Re: [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits Linus Torvalds <torvalds@linux-foundation.org> - 2017-04-25 22:10 +0200
    Re: [Y2038] [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits Linus Torvalds <torvalds@linux-foundation.org> - 2017-04-25 22:40 +0200
      Re: [Y2038] [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits Arnd Bergmann <arnd@arndb.de> - 2017-04-25 23:30 +0200
    Re: [Y2038] [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits Arnd Bergmann <arnd@arndb.de> - 2017-04-25 22:40 +0200

csiph-web