prober_user(9)
π prober_user(9) β the kernel API page, but make it make sense
okay so bestie, welcome to prober_user, a little function from the prober_user(9) corner of the Kernel API Manual. it's short, it's iconic, and it does exactly one job: probe user read access. let's get into it π«Ά
β¨ NAME β¨
prober_user β Probe user read access πΈ
β¨ SYNOPSIS β¨
prober_user (sr , va );
that's the whole vibe. two args, no drama π
β¨ ARGUMENTS β¨
srβ Space regster. (yes, the page literally says "regster" β the typo is part of the lore now, we stan anyway π it means space register.)vaβ Virtual address. the address we're checking, bestie π
β¨ RETURN β¨
Non-zero if address is accessible. β
so likeβ¦ non-zero = yes you can read it, zero = nope, don't touch. that's the entire return contract, no cap π
β¨ DESCRIPTION β¨
okay so here's the situation, and it's giving very specific-low-level-lore π¦
Due to the way _PAGE_READ is handled in TLB entries, we need a special check to determine whether a user address is accessible.
so it's not just a vibes-based check, it's a whole two-step thing:
- The
ldbinstruction does the initial access check. π - If it is successful, the
probeinstruction checks user access rights. π₯
literally a main-character duo. ldb goes first, and then probe finishes the job if step one slayed. if ldb doesn't succeed, we don't even get to the probe part. periodt. π
β¨ SEE ALSO β¨
- Kernel file
./arch/parisc/include/asm/special_insns.hπ β go read it, iykyk π
π friendly reminder that this is kernel-level address checking, so don't just guess at what "accessible" means β the page says the check is special because of how _PAGE_READ lives in TLB entries. that's the whole reason this function exists, bestie. no invented extra tips here, just the facts, and the facts ate. β¨
and that's the page!! π source/version is ./arch/parisc/include/asm and the date on this beauty is October 2026 β signed, sealed, delivered, and stamped with a π from your favorite Unix bestie. bye bestie, go probe responsibly π
π
π¦ 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