Re: [PATCH] pstore: pass reason to backend write callback

From: Kees Cook
Date: Wed Nov 16 2011 - 12:55:15 EST


On Tue, Nov 15, 2011 at 6:59 PM, Chen Gong <gong.chen@xxxxxxxxxxxxxxx> wrote:
> ä 2011/11/15 7:29, Kees Cook åé:
>> This allows a backend to filter on the dmesg reason as well as the pstore
>> reason. When ramoops is switched to pstore, this is needed since it has
>> no interest in storing non-crash dmesg details.
> We ever talked about it here: https://lkml.org/lkml/2011/9/20/468.
> Matthew's patch is good enough if pstore_write can be cleaned.

Ah, thanks for the URL. Yeah, it looks like it would be sane to just
remove pstore_write completely. I will send an updated patch.

Thanks!

-Kees

--
Kees Cook
ChromeOS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/