kmsan_enable_current(9)
π kmsan_enable_current(9) β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual entry for kmsan_enable_current β¨ this is a little one but it's important, so pay attention π«Ά
β¨ NAME β¨
kmsan_enable_current β turn KMSAN back on for the current task π«
πΈ SYNOPSIS πΈ
void kmsan_enable_current (void );
that's it. that's the whole signature. no cap π§
π¦ ARGUMENTS π¦
voidβ literally no arguments, bestie. nothing goes in. it's giving minimalist icon behavior π
β DESCRIPTION β
okay so here's the tea β β every single kmsan_enable_current call must be preceded by a kmsan_disable_current call. like, they're a matching set, a duo, a package deal π€
and plot twist: these call pairs may be nested π so you can stack 'em inside each other, just keep the disable/enable pairing honest, iykyk π
π₯ SEE ALSO π₯
Kernel file ./include/linux/kmsan.h β go read it, it's right there π
the whole KMSAN fam, assembled π:
kmsan_task_create(9)kmsan_task_exit(9)kmsan_init_shadow(9)kmsan_init_runtime(9)kmsan_memblock_free_pages(9)kmsan_alloc_page(9)kmsan_free_page(9)kmsan_copy_page_meta(9)kmsan_slab_alloc(9)kmsan_slab_free(9)kmsan_kmalloc_large(9)kmsan_kfree_large(9)kmsan_ioremap_page_range(9)kmsan_iounmap_page_range(9)kmsan_handle_dma(9)kmsan_handle_dma_sg(9)kmsan_handle_urb(9)kmsan_unpoison_entry_regs(9)kmsan_get_metadata(9)kmsan_disable_current(9)memset_no_sanitize_memory(9)
and that's the page, bestie π this cutie came out of ./include/linux in October 2026, under this here Kernel API Manual β slay, stay sanitized, and remember your call pairs πβ¨
π¦ 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