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


Groups > linux.kernel > #1272626

Re: [PATCH] net: dns_resolver: convert time_t to time64_t

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] net: dns_resolver: convert time_t to time64_t
Date 2015-11-18 23:30 +0100
Message-ID <qwjoJ-O1-1@gated-at.bofh.it> (permalink)
References <qwhwB-7V2-5@gated-at.bofh.it> <qw4zn-7DL-3@gated-at.bofh.it> <qwhwB-7V2-5@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


David Miller <davem@davemloft.net> wrote:

> From: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
> Date: Wed, 18 Nov 2015 08:36:44 +0200
> 
> > Changes the definition of the pointer _expiry from time_t to
> > time64_t. This is to handle the Y2038 problem where time_t
> > will overflow in the year 2038. The change is safe because
> > the kernel subsystems that call dns_query pass NULL.
> > 
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
> > ---
> > Changelog:
> > v1: The changes were originally made by Arnd Bergmann in
> > relation to time_t. I've broken down a patch sent to me
> > into two independent patches.
> 
> Want me to apply this to 'net'?

Fine by me.

Acked-by: David Howells <dhowells@redhat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH] net: dns_resolver: convert time_t to time64_t Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> - 2015-11-18 07:40 +0100
  Re: [PATCH] net: dns_resolver: convert time_t to time64_t David Miller <davem@davemloft.net> - 2015-11-18 21:30 +0100
    Re: [PATCH] net: dns_resolver: convert time_t to time64_t Arnd Bergmann <arnd@arndb.de> - 2015-11-18 22:10 +0100
      Re: [PATCH] net: dns_resolver: convert time_t to time64_t David Miller <davem@davemloft.net> - 2015-11-18 22:40 +0100
    Re: [PATCH] net: dns_resolver: convert time_t to time64_t David Howells <dhowells@redhat.com> - 2015-11-18 23:30 +0100

csiph-web