gss_svc_to_pseudoflavor(9)
π 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 littleu32β¨
π₯ 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
- 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