gss_krb5_errno_to_status(9)
π 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 whenerris zero. Slay, nothing went wrong. β¨GSS_S_BAD_SIGβ you get this whenerris-EBADMSG, aka an integrity check failure. Not the cute kind of bad. πGSS_S_DEFECTIVE_TOKENβ you get this whenerris-EPROTO, aka a malformed token. It's giving busted. πGSS_S_FAILUREβ for all other negative values. Periodt. π«Ά
π SEE ALSO π
- Kernel file
./net/sunrpc/auth_gss/gss_krb5_mech.c gss_krb5_get_mic(9)gss_krb5_verify_mic(9)gss_krb5_wrap(9)gss_krb5_unwrap(9)
mwah π this little page comes from ./net/sunrpc/auth_gss, and its date is October 2026. Go off, bestie. πβ¨
π¦ 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