vsprintf: add simple_strntoul

cpio extraction currently does a memcpy to ensure that the archive hex fields are null terminated for simple_strtoul(). simple_strntoul() will allow us to avoid the memcpy. Signed-off-by: David Disseldorp <ddiss@suse.de> Link: https://lore.kernel.org/r/20250304061020.9815-4-ddiss@suse.de Signed-off-by: Christian Brauner <brauner@kernel.org>


Author David Disseldorp Committer Christian Brauner Date Commit Parent 83c0b272
+8
2 changed files
+8
2 changed files