kcsan_end_scoped_access(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Hiii bestie!! Welcome to kcsan_end_scoped_access(9) from the Kernel API Manual β€” this is the β€œend scoped access” page, and it’s literally here to close out a scoped access. Periodt. πŸ’…

✨ SYNOPSIS ✨

void kcsan_end_scoped_access (struct kcsan_scoped_access *sa );

πŸŽ€ ARGUMENTS πŸŽ€

  • sa β€” a previously initialized struct kcsan_scoped_access. Like, it’s the scoped-access struct you already set up, no cap. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the tea: this function ends a scoped access, which will stop KCSAN checking the memory range. Requires that kcsan_begin_scoped_access was previously called once for sa. That’s the whole vibe β€” end the scope, KCSAN stops checking, slay. ✨

Lowkey important: kcsan_begin_scoped_access has to have been called once for sa before this. Don’t skip the setup, bestie. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/kcsan-checks.h and its iconic friends:


πŸ’– Signing off from ./include/linux, October 2026 edition of kcsan_end_scoped_access(9) β€” xoxo, your KCSAN bestie πŸŽ€

πŸ“¦ where this page comes from