svcauth_gss_accept(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

svcauth_gss_accept β€” okay bestie, this is the Kernel API Manual section 9 page for the function that decodes and validates an incoming RPC_AUTH_GSS credential. It's literally the bouncer checking your GSS vibe at the RPC door πŸ’…βœ¨


🌸 SYNOPSIS 🌸

Here's the signature, bestie β€” copy it exactly, no cap:

enum svc_auth_status svcauth_gss_accept (struct svc_rqst *rqstp );

πŸŽ€ ARGUMENTS πŸŽ€

  • rqstp β€” RPC transaction. That's the whole argument, bestie β€” one struct pointer and we're off 🫢

πŸ’– DESCRIPTION πŸ’–

Return values, and yes, every single one matters:

  • SVC_OK β€” Success. Slay, we're in ✨
  • SVC_COMPLETE β€” GSS context lifetime event. Noted, bestie πŸŽ€
  • SVC_DENIED β€” Credential or verifier is not valid. Nope, not today πŸ™…β€β™€οΈ
  • SVC_GARBAGE β€” Failed to decode credential or verifier. The bits did not pass the vibe check πŸ’€
  • SVC_CLOSE β€” Temporary failure. Okay, temporary, we see you 😭

The rqstp->rq_auth_stat field is also set (see RFCs 2203 and 5531). Like, don't forget the auth stat field, bestie β€” it's important 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

Go read these next, bestie 🧚:


xoxo, your source/version is ./net/sunrpc/auth_gss, and the date is October 2026 β€” catch you in the kernel, bestie πŸ’–πŸŒˆ

πŸ“¦ where this page comes from