lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 15 Dec 2015 22:11:51 -0800
From:	John Stultz <john.stultz@...aro.org>
To:	DengChao <chao.deng@...aro.org>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 2/2] ntp:Change the type of time_reftime to time64_t and
 replace get_seconds with __ktime_get_real_seconds

On Sat, Dec 12, 2015 at 8:24 PM, DengChao <chao.deng@...aro.org> wrote:
> The type of static variant "time_reftime" and the call of get_seconds
> in ntp are both not y2038 safe.
> So change the type of time_reftime to time64_t and replace get_seconds
> with __ktime_get_real_seconds.
> The local variant "secs" in ntp_update_offset represents seconds between
> now and last ntp adjustment, it seems impossible that this time will last
> more than 68 years, so keep its type as "long".
>
> Reviewed-by: John Stultz <john.stultz@...aro.org>
> Signed-off-by: DengChao <chao.deng@...aro.org>

Reworked the commit log a bit, but queued this for testing.

thanks
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ