kasan_unpoison_new_object(9)
π NAME
kasan_unpoison_new_object β Temporarily unpoison a new slab object. This is the kasan_unpoison_new_object(9) page from the Kernel API Manual, and bestie, weβre getting into slab-allocator lore π
β¨
β¨ SYNOPSIS β¨
Copy this exactly, no freestyling:
void kasan_unpoison_new_object (struct kmem_cache *cache , void *object
);
π«Ά ARGUMENTS
cacheβ the cache the object belongs to (struct kmem_cache *). Itβs giving βwhich slab cache is this object hanging out in?β πobjectβ pointer to the object (void *). Literally the object pointer, no cap.
π¦ DESCRIPTION
This function is intended for the slab allocatorβs internal use. It temporarily unpoisons an object from a newly allocated slab and does not do anything else. Thatβs the whole assignment β no extra side quests, no bonus behavior. The object must later be repoisoned by kasan_poison_new_object. Important: must, bestie. Donβt leave it unpoisoned and ghost it π
π SEE ALSO
Kernel file: ./include/linux/kasan.h β thatβs where the kernel-side lore lives.
kasan_poison_new_object(9)kasan_slab_pre_free(9)kasan_slab_free(9)kasan_mempool_poison_pages(9)kasan_mempool_unpoison_pages(9)kasan_mempool_poison_object(9)kasan_mempool_unpoison_object(9)kasan_report(9)
Thatβs the page, bestie π«Ά Source/version: ./include/linux; date: October 2026; title: kasan_unpoison_new_object(9). Stay iconic, keep your objects repoisoned, and bye ππβ¨
π¦ 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