check_nfsd_access(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the svc_export that's being accessed. like, the thing someone's tryna get into πŸšͺ
  • rqstp β€” the svc_rqst attempting to access exp. the hopeful little visitor fr fr
  • may_bypass_gss β€” this one's a bool and 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_ok if access is granted βœ… slay, come on in
  • nfserr_wrongsec if 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:

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