fh_verify_local(9)
π fh_verify_local(9) β like, the whole page, bestie
okay so this is a page straight out of the Kernel API Manual and it's about fh_verify_local β filehandle lookup and access checking. yes it's as iconic as it sounds. let's go π
πΈ NAME πΈ
fh_verify_local β filehandle lookup and access checking
literally what it says on the tin, no cap.
β¨ SYNOPSIS β¨
__be32 fh_verify_local (struct net *net , struct svc_cred *cred , struct
auth_domain *client , struct svc_fh *fhp , umode_t type , int access );
she takes six arguments and returns a __be32, periodt.
π«Ά ARGUMENTS π«Ά
netβ the net namespace where the export lookup is gonna happen π¦credβ the RPC user credential, aka who's askingclientβ the RPC auth domainfhpβ the filehandle that's getting verifiedtypeβ the expected type of object that the filehandle points toaccessβ the type of access needed to that object
π DESCRIPTION π
okay so this API is for callers who don't have an RPC transaction context β like, they are not running in an nfsd thread π. that's the whole vibe check for whether you use this one.
and if you want the full tea on fhp, type, and access? go read fh_verify. she explains it all, iykyk π
π SEE ALSO π
kernel file ./fs/nfsd/nfsfh.c β yes that's the one:
__fh_verify(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)
that's the whole page, bestie, nothing skipped, nothing hidden πβ¨
mwah π β signed, sealed, delivered from ./fs/nfsd, October 2026 ππ§ββοΈ
π¦ 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