fault_in_readable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to fault_in_readable(9) from the Kernel API Manual β€” yes, section 9, kernel API edition, we are seated. πŸ’– The official one-liner is: fault_in_readable - fault in userspace address range for reading. that's the whole name-and-game, and it's iconic.

✨ SYNOPSIS ✨

the signature is literally:

size_t fault_in_readable (const char __user *uaddr , size_t size );

No cap, that's exactly how it's written. 🫢

🫢 ARGUMENTS 🫢

  • uaddr β€” start of user address range
  • size β€” size of user address range

πŸ’… DESCRIPTION πŸ’…

okay so the description is short and sweet: Returns the number of bytes not faulted in (like copy_to_user and copy_from_user). that's the tea. πŸ’…

🌈 SEE ALSO 🌈

bestie, the cross-refs go OFF. here's every single one, no skipping:


mwah πŸ’‹ β€” footer tea: source/version path ./mm, date October 2026, page fault_in_readable(9). that's the cute sign-off, bestie, we're done. go forth and fault in those readable ranges. 🌸

πŸ“¦ where this page comes from