get_kernel_nofault(9)
π NAME π
okay so bestie, we're in the Kernel API Manual and this page is get_kernel_nofault(9) β and yes, the name is literally get_kernel_nofault, and its whole thing is: safely attempt to read from a location. That's the vibe. β¨
β¨ SYNOPSIS β¨
get_kernel_nofault (val , ptr );
That spacing? exactly as printed. Don't come for the synopsis, it's iconic. π
π ARGUMENTS π
valβ read into this variable. Yep, this is where the read lands. π«Άptrβ address to read from. This is the address, bestie. π
π¦ DESCRIPTION π¦
Returns 0 on success, or -EFAULT.
That's it. No extra lore, no secret paragraph, just those return values. 0 = success slay; -EFAULT = the other outcome. no cap. π
πΈ SEE ALSO πΈ
Kernel file ./include/linux/uaccess.h, and these linked besties:
__copy_to_user_inatomic(9)probe_subpage_writeable(9)copy_struct_from_user(9)copy_struct_to_user(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_write_access(9)scoped_user_rw_access_size(9)scoped_user_rw_access(9)get_user_inline(9)put_user_inline(9)
cute little sign-off: this one lives in source/version ./include/linux, dated October 2026, and it's page get_kernel_nofault(9). πβ¨
π¦ 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