kmsan_unpoison_memory(9)
π kmsan_unpoison_memory(9) π
okay so bestie, welcome to the Kernel API Manual side of the group chat β this page is all about kmsan_unpoison_memory, and itβs lowkey iconic. π
β¨ NAME β¨
kmsan_unpoison_memory β mark the memory range as initialized. Thatβs it, thatβs the whole assignment. π
π¦ SYNOPSIS π¦
void kmsan_unpoison_memory (const void *address , size_t size );
π ARGUMENTS π
addressβ the address to start with, bestie. Like, where the range begins. πsizeβ the size of the buffer to unpoison. Thatβs how much buffer weβre unpoisoning. π«Ά
π DESCRIPTION π
Hereβs the tea: until other data is written to this range, KMSAN will treat it as initialized. No cap. So this is the βokay bestie, youβre initialized nowβ move for that memory range. β¨
π SEE ALSO π
Kernel file ./include/linux/kmsan-checks.h is right there, and the related pages are kmsan_poison_memory(9), kmsan_check_memory(9), kmsan_copy_to_user(9), and kmsan_memmove(9). Go read them, iykyk. π
okay thatβs the whole page, bestie π«Ά β source/version: ./include/linux, dated October 2026, and the page is kmsan_unpoison_memory(9) from the Kernel API Manual. Mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms