kasan_poison_last_granule(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 to KASAN_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 🌈


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