diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2022-04-06 11:31:09 +0900 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-04-26 17:58:51 -0400 |
commit | 765b8552a200471414e9e92de3e35ceb9e735e61 (patch) | |
tree | 1e1359050ddd8a809d2fc6c8d28aa8cbd1d91caa /include/linux/bootconfig.h | |
parent | 6014a23638cdee63a71ef13c51d7c563eb5829ee (diff) | |
download | linux-stable-765b8552a200471414e9e92de3e35ceb9e735e61.tar.gz linux-stable-765b8552a200471414e9e92de3e35ceb9e735e61.tar.bz2 linux-stable-765b8552a200471414e9e92de3e35ceb9e735e61.zip |
bootconfig: Check the checksum before removing the bootconfig from initrd
Check the bootconfig's checksum before removing the bootconfig data
from initrd to avoid modifying initrd by mistake.
This will also simplifies the get_boot_config_from_initrd() interface.
Link: https://lkml.kernel.org/r/164921226891.1090670.16955839243639298134.stgit@devnote2
Cc: Padmanabha Srinivasaiah <treasure4paddy@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/bootconfig.h')
0 files changed, 0 insertions, 0 deletions