aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDavid Disseldorp <[email protected]>2022-05-10 01:29:20 +0000
committerakpm <[email protected]>2022-05-10 01:29:20 +0000
commit800c24dc34b93d2014f3952683f8d5e9309e1b73 (patch)
tree4c93bda186b6636f6054909d065322298ac2add4 /lib/string_helpers.c
parentgen_init_cpio: support file checksum archiving (diff)
downloadkernel-800c24dc34b93d2014f3952683f8d5e9309e1b73.tar.gz
kernel-800c24dc34b93d2014f3952683f8d5e9309e1b73.zip
initramfs: support cpio extraction with file checksums
Add support for extraction of checksum-enabled "070702" cpio archives, specified in Documentation/driver-api/early-userspace/buffer-format.rst. Fail extraction if the calculated file data checksum doesn't match the value carried in the header. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Disseldorp <[email protected]> Suggested-by: Matthew Wilcox (Oracle) <[email protected]> Cc: Al Viro <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Martin Wilck <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions