kasan_poison_last_granule(9)
π kasan_poison_last_granule(9) β Kernel API Manual π
β¨ NAME β¨
kasan_poison_last_granule β mark the last granule of the memory range as inaccessible π
π¦ SYNOPSIS π¦
void kasan_poison_last_granule (const void *address , size_t size );
π ARGUMENTS π
addressβ the range start address, bestie, and it must be aligned toKASAN_GRANULE_SIZEβ¨sizeβ the range size, periodt π«Ά
πΈ DESCRIPTION πΈ
okay so real talk: this function is only available for the generic mode, because generic mode is literally the only mode that has partially poisoned memory granules π no cap, that's the whole vibe.
π SEE ALSO π
- Kernel file
./mm/kasan/kasan.hπ§ kasan_check_range(9)kasan_poison(9)kasan_unpoison(9)
bye bestie, this page came from ./mm/kasan in October 2026 and itβs literally kasan_poison_last_granule(9) πβ¨π
π¦ 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