From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Arnd Bergmann To: David Howells Cc: keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-security-module@vger.kernel.org, John Stultz Subject: Re: [PATCH 2/5] Handle leap seconds in mktime64() Date: Fri, 18 Dec 2015 10:09:34 +0100 Message-ID: <1653126.BsZ0fumaLr@wuerfel> In-Reply-To: <20151218000202.29483.81449.stgit@warthog.procyon.org.uk> References: <20151218000148.29483.67155.stgit@warthog.procyon.org.uk> <20151218000202.29483.81449.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: 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 > cc: John Stultz > cc: Arnd Bergmann > cc: stable@vger.kernel.org > Acked-by: Arnd Bergmann