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]
Message-ID: <1706054.BUola9D1zu@vostro.rjw.lan>
Date:	Thu, 27 Jun 2013 14:32:25 +0200
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Pavel Machek <pavel@....cz>
Cc:	Shuah Khan <shuah.kh@...sung.com>, len.brown@...el.com,
	linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
	shuahkhan@...il.com
Subject: Re: [PATCH v3] power: Add warning message about incorrect system date and time after resume when pm_trace is enabled

On Thursday, June 27, 2013 01:18:08 AM Pavel Machek wrote:
> On Wed 2013-06-26 16:27:35, Shuah Khan wrote:
> > pm_trace uses the system's Real Time Clock (RTC) to save the magic number.
> > Reason for this is that the RTC is the only reliably available piece of
> > hardware during resume operations where a value can be set that will
> > survive a reboot.
> > 
> > Consequence is that after a resume (even if it is successful) your system
> > clock will have a value corresponding to the magic number instead of the
> > correct date/time! It is therefore advisable to use a program like ntp-date
> > or rdate to reset the correct date/time from an external time source when
> > using this trace option.
> > 
> > There is no run-time message to warn users of the consequences of enabling
> > pm_trace. Adding a warning message to pm_trace_store() will serve as a
> > reminder to users to set the system date and time after resume.
> > 
> > Signed-off-by: Shuah Khan <shuah.kh@...sung.com>
> 
> Acked-by: Pavel Machek <pavel@....cz>

Queued up for 3.11.

Thanks,
Rafael

--
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