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:	Fri, 17 Jun 2016 13:50:20 -0700
From:	John Stultz <john.stultz@...aro.org>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	y2038 Mailman List <y2038@...ts.linaro.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] time: avoid timespec in udelay_test

On Fri, Jun 17, 2016 at 9:03 AM, Arnd Bergmann <arnd@...db.de> wrote:
> udelay_test_single() uses ktime_get_ts() to get two timespec values
> and calculate the difference between them, while udelay_test_show()
> uses the same to printk() the current monotonic time.
>
> Both of these are y2038 safe on all machines, but we want to
> get rid of struct timespec anyway, so this converts the code to
> use ktime_get_ns() and ktime_get_ts64() respectively.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>

Queued for testing

thanks
-john

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ