Pavel Tatashin 2cc05debe6 pstore: Pass max_reason to kmesg dump
Add a new member to struct pstore_info for passing information about
kmesg dump maximum reason. This allows a finer control of what kmesg
dumps are sent to pstore storage backends.

Those backends that do not explicitly set this field (keeping it equal to
0), get the default behavior: store only Oopses and Panics, or everything
if the printk.always_kmsg_dump boot param is set.

Link: https://lore.kernel.org/lkml/20200515184434.8470-5-keescook@chromium.org/
Change-Id: Iedf5f428a0bdb38f1fe5effa6226292b7144bd95
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2024-11-01 22:39:10 -03:00
..
2023-08-23 14:54:21 +00:00
2023-09-30 11:44:35 +00:00
2023-09-30 11:44:35 +00:00
2020-05-20 12:15:34 +02:00
2024-07-10 19:51:57 -03:00
2023-01-18 09:32:42 +01:00
2024-03-26 00:32:02 -03:00
2021-12-14 10:16:55 +01:00
2024-03-26 00:32:02 -03:00
2022-02-23 12:10:45 +01:00