kcsan_check_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… kcsan_check_write β€” the Kernel API Manual, bestie edition ✨

Okay so first things first, the manual name is kcsan_check_write(9) and it lives in the Kernel API Manual β€” that's the family reunion this function belongs to 🫢


🌸 NAME 🌸

kcsan_check_write β€” check regular write access for races

No cap, that's the whole gig: it's the vibe check for a plain old write, making sure nothing sketchy is racing up on it πŸ”₯


✨ SYNOPSIS ✨

kcsan_check_write (ptr , size );

Literally that's it, she's not complicated πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ptr β€” address of access. That's where the thing lives that you're poking at πŸ‘€
  • size β€” size of access. How many bytes you're claiming, bestie, don't be vague about it πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Everything below is straight from the source, no paraphrasing, because these are literally the neighbors and you will be meeting them πŸ™ˆ

The kernel file: ./include/linux/kcsan-checks.h

And the whole friend group:

Like, that's 25 whole entries plus the header file, go read them, iykyk πŸ’œ


And that's the page, mwah πŸ’‹ Sourced from ./include/linux, dated October 2026 β€” iconic, she's timeless, periodt πŸ‘‘β­

πŸ“¦ where this page comes from