scoped_user_write_access(9)
π scoped_user_write_access(9)
okay so this is a page from the Kernel API Manual β yes, the kernel manual, we're doing big-kid stuff today bestie π
β¨ NAME β¨
scoped_user_write_access β literally just starts a scoped user write access. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
scoped_user_write_access (udst , elbl );
π¦ ARGUMENTS π¦
udstβ a pointer to the user space address you wanna write to π«Ά that's the whole destination situation.elblβ the error label togotowhen the access region gets rejected π like, if it doesn't pass the vibe check, that's where you bounce to.
π DESCRIPTION π
the size of the access, starting from udst, is determined via sizeof(*udst)). that's it, that's the math π₯
for further information, go look at __scoped_user_access above β it's giving "the details live up there, i'm just the intro" β¨
ngl, if you're here you probably want the whole scoped-access family, not just this one. keep scrolling to SEE ALSO, it's a whole group chat π
π SEE ALSO π
Kernel file ./include/linux/uaccess.h β and the whole squad:
__copy_to_user_inatomic(9)probe_subpage_writeable(9)copy_struct_from_user(9)copy_struct_to_user(9)get_kernel_nofault(9)__scoped_user_access_begin(9)__scoped_user_access(9)scoped_user_read_access_size(9)scoped_user_read_access(9)scoped_user_write_access_size(9)scoped_user_rw_access_size(9)scoped_user_rw_access(9)get_user_inline(9)put_user_inline(9)
okay that's the page π§ mwah π big kisses from ./include/linux, dated October 2026 β yes she's from the future, main character energy fr fr π
β¨
π¦ 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