check_nfsd_access(9)
π check_nfsd_access(9) β like, the Kernel API Manual bestie β¨
okay so this is check_nfsd_access, and before you ask β yes, it's from the Kernel API Manual, and yes, it's exactly as iconic as it sounds. it's basically the bouncer at the club door of an NFS export, deciding if you're on the list or not π«Ά
β¨ NAME β¨
check_nfsd_access β check if access to export is allowed. that's it. that's the whole job. gatekeeping, but make it kernel π
π SYNOPSIS π
__be32 check_nfsd_access (struct svc_export *exp , struct svc_rqst
*rqstp , bool may_bypass_gss );
look at that signature. so clean. so giving main character energy π₯
πΈ ARGUMENTS πΈ
expβ thesvc_exportthat's being accessed. like, the thing someone's tryna get into πͺrqstpβ thesvc_rqstattempting to accessexp. the hopeful little visitor fr frmay_bypass_gssβ this one's abooland it reduces the strictness of the authorization check. lowkey giving "vip list exists and you might be on it" π
π¦ DESCRIPTION π¦
okay so here's the tea β it's all about return values:
nfs_okif access is granted β slay, come on innfserr_wrongsecif access is denied π not today bestie
no in-between, no "maybe", no "let me think about it". just yes or no. periodt.
π SEE ALSO π
Kernel file ./fs/nfsd/export.c, plus the whole friend group:
nfsd_nl_expkey_get_reqs_dumpit(9)nfsd_nl_parse_one_expkey(9)nfsd_nl_expkey_set_reqs_doit(9)nfsd_nl_svc_export_get_reqs_dumpit(9)nfsd_nl_parse_fslocations(9)nfsd_nl_parse_one_export(9)nfsd_nl_svc_export_set_reqs_doit(9)check_xprtsec_policy(9)check_security_flavor(9)rqst_exp_find(9)
ngl that's a whole squad and they all ate π β¨
π§ and that's the whole page, bestie β no cap, every detail's there, nothing skipped, iykyk
okay bye, love u, go check some exports π this lil beauty lives in ./fs/nfsd, dated October 2026 β see u then, mwah πβ
π¦ 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