kmsan_disable_current(9)
π kmsan_disable_current β a whole manual page, bestie
okay so welcome to the kmsan_disable_current page from the Kernel API Manual (section 9, kernel-space girlies only π). this is a very short one, so grab your iced coffee and let's go β¨
β¨ NAME β¨
kmsan_disable_current β literally just "Disable KMSAN for the current task." that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
void kmsan_disable_current (void );
like, look at her. no arguments, no return value, no drama. main character energy but make it void π
πΈ ARGUMENTS πΈ
voidβ no arguments. none. zero. the void is voiding π
π₯ DESCRIPTION π₯
okay so here's the tea π β every single time you call kmsan_disable_current, you must follow it up with a kmsan_enable_current call. it's giving matched set, it's giving friendship bracelet, it's giving you cannot have one without the other π«Ά
and the best part? these call pairs may be nested. so yes, you can go disable β disable β enable β enable and it's all good, like little russian dolls of KMSAN suppression π§β¨
no cap though β don't leave akmsan_disable_currenthanging without itskmsan_enable_current. they come as a pair, periodt π
π SEE ALSO π
and now, the moment you've all been waiting for β the entire friend group π. these all live in the kernel file ./include/linux/kmsan.h:
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_enable_current(9)β the other half of your duo, iykyk πmemset_no_sanitize_memory(9)
and that's the whole page, bestie πβ¨π
this absolute icon of a manpage comes to you from ./include/linux (yes, that's the Kernel file, we stan), dated October 2026, brought to you by the Kernel API Manual β section 9, obviously π
see you in the next one, 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