pstore: Select compression at runtime
To allow for easier build test coverage and run-time testing, this allows multiple compression algorithms to be built into pstore. Still only one is supported to operate at a time (which can be selected at build time or at boot time, similar to how LSMs are selected). Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
@@ -37,4 +37,7 @@ extern bool pstore_is_mounted(void);
|
||||
extern void pstore_record_init(struct pstore_record *record,
|
||||
struct pstore_info *psi);
|
||||
|
||||
/* Called during module_init() */
|
||||
extern void __init pstore_choose_compression(void);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user