Back to Browse

Kernel Recipes 2025 - nolibc: a userspace libc in the kernel tree

269 views
Oct 7, 2025
37:52

nolibc is a C standard library for Linux which is developed and distributed as part of the kernel source tree. It has support for a wide range of architectures^1, many features and is easy to extend, especially for kernel developers. It consists solely of header files which allows building very small applications with bare-metal toolchains. This talk will explain why it makes sense to have nolibc in the kernel tree, how it ended up there, its strengths and limitations and how it is used currently. Furthermore a new framework is proposed which uses nolibc to combine kselftests with KUnit to improve the developer experience. ^1 i386, x86_64, arm, aarch64, riscv32, riscv64, loongarch64, mipso32, m68k, s390, s390x, SPARC32, SPARC64 Thomas WEISSSCHUH

Download

1 formats

Video Formats

360pmp461.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Kernel Recipes 2025 - nolibc: a userspace libc in the kernel tree | NatokHD