[PATCH 02/16] pstore/ram: Should update old dmesg buffer before reading

Kees Cook keescook at chromium.org
Tue May 22 15:25:33 UTC 2012


On Tue, May 22, 2012 at 7:17 AM, Anton Vorontsov
<anton.vorontsov at linaro.org> wrote:
> Without the update, we'll only see the new dmesg buffer after the
> reboot, but previously we could see it right away. Making an oops
> visible in pstore filesystem before reboot is a somewhat dubious
> feature, but removing it wasn't an intentional change, so let's
> restore it.
>
> For this we have to make persistent_ram_save_old() safe for calling
> multiple times, and also extern it.
>
> Signed-off-by: Anton Vorontsov <anton.vorontsov at linaro.org>

Acked-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook
Chrome OS Security



More information about the devel mailing list