svcauth_null_accept(9)
π svcauth_null_accept β the Kernel API Manual moment π¦
okay so bestie, welcome to the glow-up of svcauth_null_accept(9), straight out of the Kernel API Manual. no cap, this one is a whole vibe check for incoming RPC creds β¨
πΈ NAME πΈ
svcauth_null_accept β the function that decodes and validates an incoming RPC_AUTH_NULL credential, and honestly? she's doing both jobs and she's serving π
π SYNOPSIS π
enum svc_auth_status svcauth_null_accept (struct svc_rqst *rqstp );
like, that's the whole signature. iconic. not me memorising it fr fr π«Ά
β¨ ARGUMENTS β¨
rqstpβ the RPC transaction. that's your main character right there, she carries the whole scene π
π DESCRIPTION π
so here's the tea, bestie β these are the return values, and you gotta know all of them:
SVC_OK: both the credential and the verifier are valid. slay, we love a clean pass πSVC_DENIED: the credential or the verifier is not valid. nope, not today πSVC_GARBAGE: it failed to decode the credential or the verifier. literally unusable πSVC_CLOSE: temporary failure. not a forever thing, just a moment π
also, rqstp->rq_auth_stat gets set, as mandated by RFC 5531. that's not optional, that's the rules, periodt π
like, for real βrq_auth_statis set exactly asRFC 5531mandates. no improvising, no vibes-based auth, iykyk.
π¦ SEE ALSO π¦
- Kernel file
./net/sunrpc/svcauth_unix.cβ the home base, go say hi π sunrpc_nl_unix_gid_get_reqs_dumpit(9)sunrpc_nl_parse_one_unix_gid(9)sunrpc_nl_unix_gid_set_reqs_doit(9)sunrpc_nl_cache_flush_doit(9)svcauth_tls_accept(9)svcauth_unix_accept(9)sunrpc_nl_ip_map_get_reqs_dumpit(9)sunrpc_nl_parse_one_ip_map(9)sunrpc_nl_ip_map_set_reqs_doit(9)
the whole friend group, all linked, all valid, all gorgeous π§
lowkey a warning bestie: the return values mean completely different things βSVC_OKis not the same asSVC_DENIED, andSVC_GARBAGEis notSVC_CLOSE. don't mix them up, that's a bad timeline π
and that's the page! mwah π
β from ./net/sunrpc, dated October 2026, brought to you by the Kernel API Manual. go off, bestie, you ate this one πππ
π¦ 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