scoped_user_..._access_size(9)
π scoped_user_..._access_size(9) β like, the Kernel API Manual page, bestie
okay so picture this: you're deep in the kernel, you've got a user space pointer, and you need a scoped read access with a size you actually know. that's this whole function. it's giving "responsible bestie who checks the size before she commits." π
β¨ NAME β¨
scoped_user_read_access_size β start a scoped user read access with a given size. that's it, that's the vibe. π¦
πΈ SYNOPSIS πΈ
scoped_user_read_access_size (usrc , size , elbl );
copy it exactly like that, spaces and all, no cap. π
π§ ARGUMENTS π§
usrcβ pointer to the user space address you're reading from. this is where the data lives, bestie, be normal about it. πsizeβ how big the access is, starting fromusrc. yes, the size. it's in the name. iconic. πelblβ the error label togotowhen the access region gets rejected. like an emergency ejection seat but make it a label. π
π DESCRIPTION π
for further information, see __scoped_user_access above. that's the whole description fr fr β go look up, it's right there. β¬οΈβ¨
π₯ SEE ALSO π₯
okay this list is long and honestly kind of iconic, here we go:
- the kernel file
./include/linux/uaccess.hπ __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(9)scoped_user_write_access_size(9)scoped_user_write_access(9)scoped_user_rw_access_size(9)scoped_user_rw_access(9)get_user_inline(9)put_user_inline(9)
and that's the page!! mwah. π shoutout to ./include/linux, dated October 2026 β yeah you heard me, 2026, she's from the future and she still slays. π«Άπβ
π¦ 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