[GIT PULL] vfs initramfs

From: Christian Brauner
Date: Sat Mar 22 2025 - 06:21:05 EST


Hey Linus,

/* Summary */

This adds basic kunit test coverage for initramfs unpacking and cleans
up some buffer handling issues and inefficiencies.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:

Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.15-rc1.initramfs

for you to fetch changes up to 0054b437c0ec5732851e37590c56d920319f58ad:

MAINTAINERS: append initramfs files to the VFS section (2025-03-18 15:13:58 +0100)

Please consider pulling these changes from the signed vfs-6.15-rc1.initramfs tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc1.initramfs

----------------------------------------------------------------
Christian Brauner (1):
Merge patch series "initramfs: kunit tests and cleanups"

David Disseldorp (9):
init: add initramfs_internal.h
initramfs_test: kunit tests for initramfs unpacking
vsprintf: add simple_strntoul
initramfs: avoid memcpy for hex header fields
initramfs: allocate heap buffers together
initramfs: reuse name_len for dir mtime tracking
initramfs: fix hardlink hash leak without TRAILER
initramfs: avoid static buffer for error message
MAINTAINERS: append initramfs files to the VFS section

MAINTAINERS | 3 +
include/linux/kstrtox.h | 1 +
init/.kunitconfig | 3 +
init/Kconfig | 7 +
init/Makefile | 1 +
init/initramfs.c | 66 ++++----
init/initramfs_internal.h | 8 +
init/initramfs_test.c | 407 ++++++++++++++++++++++++++++++++++++++++++++++
lib/vsprintf.c | 7 +
9 files changed, 475 insertions(+), 28 deletions(-)
create mode 100644 init/.kunitconfig
create mode 100644 init/initramfs_internal.h
create mode 100644 init/initramfs_test.c