kmsan_disable_current(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a kmsan_disable_current hanging without its kmsan_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:


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