kcsan_check_write(9)
π 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:
__kcsan_check_access(9)__kcsan_mb(9)__kcsan_wmb(9)__kcsan_rmb(9)__kcsan_release(9)kcsan_disable_current(9)kcsan_enable_current(9)kcsan_nestable_atomic_begin(9)kcsan_nestable_atomic_end(9)kcsan_flat_atomic_begin(9)kcsan_flat_atomic_end(9)kcsan_atomic_next(9)kcsan_set_access_mask(9)kcsan_begin_scoped_access(9)kcsan_end_scoped_access(9)__kcsan_check_read(9)__kcsan_check_write(9)__kcsan_check_read_write(9)kcsan_check_read(9)kcsan_check_read_write(9)ASSERT_EXCLUSIVE_WRITER(9)ASSERT_EXCLUSIVE_WRITER_SCOPED(9)ASSERT_EXCLUSIVE_ACCESS(9)ASSERT_EXCLUSIVE_ACCESS_SCOPED(9)ASSERT_EXCLUSIVE_BITS(9)
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
- 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