diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-03-24 12:45:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-03-24 12:45:21 -0700 |
| commit | c1c98301ece230bd874a27c957879fcc16ca1dbb (patch) | |
| tree | 58d21c6ac14b0351437508c460186ec4632a273e /init/Kconfig | |
| parent | e63046adefc03800f1af76476701606bb148b49c (diff) | |
| parent | 0054b437c0ec5732851e37590c56d920319f58ad (diff) | |
| download | linux-c1c98301ece230bd874a27c957879fcc16ca1dbb.tar.gz linux-c1c98301ece230bd874a27c957879fcc16ca1dbb.tar.bz2 linux-c1c98301ece230bd874a27c957879fcc16ca1dbb.zip | |
Merge tag 'vfs-6.15-rc1.initramfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull vfs initramfs updates from Christian Brauner:
"This adds basic kunit test coverage for initramfs unpacking and cleans
up some buffer handling issues and inefficiencies"
* tag 'vfs-6.15-rc1.initramfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
MAINTAINERS: append initramfs files to the VFS section
initramfs: avoid static buffer for error message
initramfs: fix hardlink hash leak without TRAILER
initramfs: reuse name_len for dir mtime tracking
initramfs: allocate heap buffers together
initramfs: avoid memcpy for hex header fields
vsprintf: add simple_strntoul
initramfs_test: kunit tests for initramfs unpacking
init: add initramfs_internal.h
Diffstat (limited to 'init/Kconfig')
| -rw-r--r-- | init/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 324c2886b2ea..1f694bf478c7 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1454,6 +1454,13 @@ config INITRAMFS_PRESERVE_MTIME If unsure, say Y. +config INITRAMFS_TEST + bool "Test initramfs cpio archive extraction" if !KUNIT_ALL_TESTS + depends on BLK_DEV_INITRD && KUNIT=y + default KUNIT_ALL_TESTS + help + Build KUnit tests for initramfs. See Documentation/dev-tools/kunit + choice prompt "Compiler optimization level" default CC_OPTIMIZE_FOR_PERFORMANCE |
