gss_krb5_errno_to_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

gss_krb5_errno_to_status(9) β€” Kernel API Manual β€” is here, and bestie, it does exactly one iconic thing: it maps a negative errno to a GSS major status. πŸ’…βœ¨

✨ SYNOPSIS ✨

u32 gss_krb5_errno_to_status (int err );

🫢 ARGUMENTS 🫢

  • err β€” a negative errno value, or zero. That's the whole argument, no extra baggage. πŸŽ€

πŸ”₯ RETURN πŸ”₯

Okay so the return value is basically a vibe check on your error code:

  • GSS_S_COMPLETE β€” you get this when err is zero. Slay, nothing went wrong. ✨
  • GSS_S_BAD_SIG β€” you get this when err is -EBADMSG, aka an integrity check failure. Not the cute kind of bad. πŸ’€
  • GSS_S_DEFECTIVE_TOKEN β€” you get this when err is -EPROTO, aka a malformed token. It's giving busted. πŸ™ˆ
  • GSS_S_FAILURE β€” for all other negative values. Periodt. 🫢

🌈 SEE ALSO 🌈


mwah πŸ’‹ this little page comes from ./net/sunrpc/auth_gss, and its date is October 2026. Go off, bestie. πŸ‘‘βœ¨

πŸ“¦ where this page comes from