check_security_flavor(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

check_security_flavor(9) πŸ’…

okay bestie, welcome to the Kernel API Manual entry for check_security_flavor(9) β€” it's giving β€œtiny access-control helper with main character energy,” and we're gonna read it together, fr fr.


✨ NAME ✨

check_security_flavor β€” check if access to export is allowed by the security flavor.

πŸ›°οΈ SYNOPSIS πŸ›°οΈ

__be32 check_security_flavor (struct svc_export *exp , struct svc_rqst
*rqstp , bool may_bypass_gss );

πŸŽ€ ARGUMENTS πŸŽ€

  • exp β€” the svc_export that is being accessed, aka the thing someone is trying to get into.
  • rqstp β€” the svc_rqst that is attempting to access exp.
  • may_bypass_gss β€” this one is here to reduce strictness of the authorization check. yes, that's literally its whole vibe.

πŸ’– DESCRIPTION πŸ’–

okay so this is a helper function for check_nfsd_access. and like, real talk: callers should be using check_nfsd_access instead of calling this function directly. the one exception is __fh_verify, since it has logic that may result in one or both of the helpers being skipped. that's the whole lore.

Return values: nfs_ok if access is granted, or nfserr_wrongsec if access is denied.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/nfsd/export.c β€” then the whole squad:


xoxo, your local Unix bestie β€” source/version: ./fs/nfsd, date: October 2026. slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from