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


Groups > linux.kernel > #1294589

Re: [PATCH 2/5] Handle leap seconds in mktime64()

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/5] Handle leap seconds in mktime64()
Date 2015-12-18 10:20 +0100
Message-ID <qGZmH-3IZ-43@gated-at.bofh.it> (permalink)
References <qGQMp-6FZ-3@gated-at.bofh.it> <qGQMp-6FZ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Friday 18 December 2015 00:02:02 David Howells wrote:
> Handle leap seconds in mktime64() - where the seconds parameter is the
> value 60 - by treating it the same as 59.
> 
> This facility will be used by the X.509 parser.  Doing it in mktime64()
> makes the policy common to the whole kernel and easier to find.
> 
> Whilst we're at it, remove the const markers from all the parameters since
> they don't really achieve anything and we do need to alter the sec
> parameter.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>
> cc: John Stultz <john.stultz@linaro.org>
> cc: Arnd Bergmann <arnd@arndb.de>
> cc: stable@vger.kernel.org
> 

Acked-by: Arnd Bergmann <arnd@arndb.de>
--
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 2/5] Handle leap seconds in mktime64() David Howells <dhowells@redhat.com> - 2015-12-18 01:10 +0100
  Re: [PATCH 2/5] Handle leap seconds in mktime64() Arnd Bergmann <arnd@arndb.de> - 2015-12-18 10:20 +0100

csiph-web