kcsan_disable_current(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… kcsan_disable_current β€” the kernel API manual, but make it make sense πŸŽ€

okay bestie, so we're in the Kernel API Manual today and the star of the show is kcsan_disable_current(9). she's short, she's sweet, she does exactly one thing and she does it iconically. let's get into it ✨


🌸 NAME 🌸

kcsan_disable_current β€” disable KCSAN for the current context πŸ’…

like, for this context specifically. not everything. not forever. just here, just now. main character energy but make it scoped 🫢


✨ SYNOPSIS ✨

void kcsan_disable_current (void );

that's the whole signature, no cap. returns void, takes void. minimalism ate πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments. literally zero. nothing to pass, nothing to worry about, she don't want anything from you 😌

πŸ’– DESCRIPTION πŸ’–

Supports nesting.

that's it. that's the description. and honestly? iconic. the way that a two-word description can carry so much πŸ’€

what it means for you, bestie: you can call this more than once, and it stacks β€” that's the nesting thing, and it's supported, so go off πŸŽ€

ngl the original page really said "supports nesting" and dipped. respect fr fr.

🧚 SEE ALSO 🧚

Kernel file ./include/linux/kcsan-checks.h β€” that's where she lives, go say hi 🌈

and the whole squad, because KCSAN has so many friends and you should lowkey meet all of them:

okay that's the full roster, every single one, no skips πŸ’œ iykyk 😭


and that's the page!! thank you for coming to my ted talk 🫢 this little gem comes out of ./include/linux and it's dated October 2026 β€” so yeah, she's from the future and she's still just saying "supports nesting." queen behavior πŸ‘‘ ⭐

πŸ“¦ where this page comes from