From: Anton Vorontsov <anton.vorontsov@linaro.org>
To: John Stultz <john.stultz@linaro.org>
Cc: linux-kernel@vger.kernel.org, Kees Cook <keescook@chromium.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] time: create __getnstimeofday for WARNless calls
Date: Mon, 17 Dec 2012 11:28:54 -0800 [thread overview]
Message-ID: <20121217192806.GA10376@lizard.gateway.2wire.net> (raw)
In-Reply-To: <1355770314-9167-1-git-send-email-john.stultz@linaro.org>
On Mon, Dec 17, 2012 at 01:51:54PM -0500, John Stultz wrote:
> From: Kees Cook <keescook@chromium.org>
>
> Hey Thomas,
> Wanted to see if maybe there was still time for this for 3.8?
> thanks
> -john
>
> The pstore RAM backend can get called during resume, and must be defensive
> against a suspended time source. Expose getnstimeofday logic that returns
> an error instead of a WARN. This can be detected and the timestamp can
> be zeroed out.
>
> Reported-by: Doug Anderson <dianders@chromium.org>
> Cc: Anton Vorontsov <anton.vorontsov@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Kees Cook <keescook@chromium.org>
> Signed-off-by: John Stultz <john.stultz@linaro.org>
> ---
> fs/pstore/ram.c | 10 +++++++---
For pstore/ram part:
Acked-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Thanks!
next prev parent reply other threads:[~2012-12-17 19:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-17 18:51 [PATCH] time: create __getnstimeofday for WARNless calls John Stultz
2012-12-17 19:28 ` Anton Vorontsov [this message]
2012-12-20 11:43 ` Thomas Gleixner
2012-12-20 16:02 ` Kees Cook
-- strict thread matches above, loose matches on Subject: below --
2012-11-19 18:26 Kees Cook
2012-12-13 18:17 ` Kees Cook
2012-12-15 1:16 ` John Stultz
2012-12-15 1:17 ` John Stultz
2012-12-15 7:22 ` Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121217192806.GA10376@lizard.gateway.2wire.net \
--to=anton.vorontsov@linaro.org \
--cc=john.stultz@linaro.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox