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] [thread-next>] [day] [month] [year] [list]
Message-ID: <50EF2441.7020507@linaro.org>
Date:	Thu, 10 Jan 2013 12:27:45 -0800
From:	John Stultz <john.stultz@...aro.org>
To:	Richard Cochran <richardcochran@...il.com>
CC:	Miroslav Lichvar <mlichvar@...hat.com>,
	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] posix-timers: Fix clock_adjtime to return timex data
 on success

On 01/10/2013 12:12 PM, Richard Cochran wrote:
> On Thu, Jan 10, 2013 at 06:12:02PM +0100, Miroslav Lichvar wrote:
>> Copy the modified timex data back to the user also with positive return
>> values. This fixes reading of the CLOCK_REALTIME timex data when the
>> clock is in a non-zero state.
>>
>> Signed-off-by: Miroslav Lichvar <mlichvar@...hat.com>
> Acked-by: Richard Cochran <richardcochran@...il.com>
>
> (Adding John Stultz on CC)

Just to clarify (the commit message makes it pretty hard to understand 
exactly what's going wrong), this is to handle the case where 
clock_adj() returns a non-zero time_state value (such as TIME_INS) ?

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