kmsan_enable_current(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘:


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