__kcsan_check_access(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __kcsan_check_access (9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so real talk, this one lives in the Kernel API Manual and it's basically the vibe-check function for memory access. No cap.


✨ NAME ✨

__kcsan_check_access β€” literally checks a generic access for races πŸπŸ‘€


🌸 SYNOPSIS 🌸

void __kcsan_check_access (const volatile void *ptr , size_t size , int
type );

that's the whole signature, she's not complicated πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ptr β€” the address of the access, like where the drama is happening πŸ“
  • size β€” how big the access is, the size of it, that's it πŸ“
  • type β€” the access type modifier, she's the little flavor packet on top ✨

πŸ‘‘ SEE ALSO πŸ‘‘

so this all comes from the kernel file ./include/linux/kcsan-checks.h, and honestly the whole friend group is here β€” go say hi 🫢


bestie that's a lot of siblings but they're all iconic in their own way, periodt πŸ’œ

sign-off time 🧚 this whole thing is filed under ./include/linux and stamped October 2026 β€” so like, future energy, main character documentation fr fr πŸ’–βœ¨

πŸ“¦ where this page comes from