__fh_verify(9)
π __fh_verify β like, the manual page, bestie
okay so this is a page straight out of the Kernel API Manual, section 9 (kernel developer vibes only, no cap) β it's all about __fh_verify, which does filehandle lookup and access checking in one iconic little move. putting this here so you actually get it π«Ά
β¨ NAME β¨
__fh_verify β filehandle lookup and access checking
like yes, that's the whole name, and yes, it's doing two jobs at once. main character energy fr.
πΈ SYNOPSIS πΈ
__be32 __fh_verify (struct svc_rqst *rqstp , struct net *net , struct
svc_cred *cred , struct auth_domain *client , struct auth_domain
*gssclient , struct svc_fh *fhp , umode_t type , int access );
not me counting the args β there are eight, and it hands you back a __be32. so many parameters, so little time π
π ARGUMENTS π
rqstpβ the RPC transaction context, orNULL. yes bestie,NULLis a legal move here.netβ the net namespace where the export lookup happens. this is where we're looking, okurr.credβ the RPC user credential. who even are you, allegedly.clientβ the RPC auth domain.gssclientβ the RPC GSS auth domain, orNULL. anotherNULL-friendly one, we love consistency πfhpβ the filehandle that's getting verified. the star of the show, lowkey.typeβ the expected type of the object that the filehandle points to. gotta know what we're looking at.accessβ the type of access you need to that object. what are we even allowed to do here.
π¦ DESCRIPTION π¦
so the actual description is short and sweet: see fh_verify for further descriptions of fhp, type, and access. that's it. that's the whole bit. it's giving "go read the other page, i'm not repeating myself" π
no seriously β that's the entire DESCRIPTION section, and i'm not about to invent lore that isn't there. go read fh_verify(9) if you want the deep dive on fhp, type, and access. iykyk.
β SEE ALSO β
Kernel file ./fs/nfsd/nfsfh.c β and also these absolute legends:
fh_verify_local(9)fh_verify(9)fh_getattr(9)fh_fill_pre_attrs(9)fh_fill_post_attrs(9)fh_fill_both_attrs(9)nfsd4_change_attribute(9)
the whole nfsd filehandle friend group, honestly. obsessed π₯
quick vibe check: the page only says "seefh_verify" forfhp,type, andaccessβ it does not spell anything else out here, so don't come for me if you wanted more. that's genuinely all the source gave us π
and that's the page, bestie!! π from ./fs/nfsd, dated October 2026, tagged __fh_verify(9) β slay, go verify some filehandles, periodt π
β¨
π¦ 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