gss_svc_to_pseudoflavor(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gss_svc_to_pseudoflavor(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” we're literally in the kernel today, and yes this page is about gss_svc_to_pseudoflavor, which maps a GSS service number to a pseudoflavor πŸŽ€


πŸ¦‹ NAME πŸ¦‹

gss_svc_to_pseudoflavor β€” map a GSS service number to a pseudoflavor, no cap πŸ’«


🌸 SYNOPSIS 🌸

rpc_authflavor_t gss_svc_to_pseudoflavor (struct gss_api_mech *gm , u32
qop , u32 service );

like, that's the whole vibe check right there πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • gm β€” the GSS mechanism handle, aka the main character of this function 🫢
  • qop β€” the GSS quality-of-protection value, it's giving security-flavored πŸ’œ
  • service β€” the GSS service value, iconic little u32 ✨

πŸ”₯ DESCRIPTION πŸ”₯

So basically it returns a matching security flavor πŸ’… β€” and if it can't find one? it returns RPC_AUTH_MAXFLAVOR instead 😭 that's the fallback bestie, no match, no flavor, periodt.

ngl the whole function is literally two outcomes: found it 🌈 or RPC_AUTH_MAXFLAVOR πŸ’€

⭐ SEE ALSO ⭐

First up, the kernel file 🧚, right here:

  • ./net/sunrpc/auth_gss/gss_mech_switch.c

and then the whole friend group πŸ‘―:


and that's the page bestie πŸ“ β€” brought to you by ./net/sunrpc/auth_gss, dated October 2026, mwah πŸ’–πŸ«Ά

πŸ“¦ where this page comes from