diff options
| author | David Disseldorp <ddiss@suse.de> | 2026-03-31 09:57:31 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-21 10:32:46 +0300 |
| commit | 8d14fe78cb5ac5b7ac85f5fbf0be9afb3a3dba0e (patch) | |
| tree | ce5d38454ad8cb57f9dca60563dc20221c56d46f /scripts/patch-kernel | |
| parent | a243a7b02ef925d1b7d6a9308202fd0b8b381535 (diff) | |
| download | linux-8d14fe78cb5ac5b7ac85f5fbf0be9afb3a3dba0e.tar.xz | |
initramfs_test: add fill_cpio() inject_ox parameter
fill_cpio() uses sprintf() to write out the in-memory cpio archive from
an array of struct initramfs_test_cpio. This change allows callers to
modify the cpio sprintf() format string so that future tests can
intentionally corrupt the header with "0x" and "0X" prefixed fields.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Link: https://patch.msgid.link/20260331070519.5974-2-ddiss@suse.de
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
