diff options
| author | David Disseldorp <ddiss@suse.de> | 2026-03-31 17:57:31 +1100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-21 09:32:46 +0200 |
| commit | 8d14fe78cb5ac5b7ac85f5fbf0be9afb3a3dba0e (patch) | |
| tree | ce5d38454ad8cb57f9dca60563dc20221c56d46f /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | a243a7b02ef925d1b7d6a9308202fd0b8b381535 (diff) | |
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 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
