auth_domain_cleanup(9)
π auth_domain_cleanup β a Kernel API Manual moment
okay bestie, buckle up, we're in the Kernel API Manual today and the star of the show is auth_domain_cleanup(9). yes it's a function. yes it's a vibe check for your table. no it does not take arguments. let's get into it π
β¨ NAME β¨
auth_domain_cleanup β the little function that checks whether the auth_domain table is empty. that's it. that's the job. it's giving "final walkthrough before we lock up the house" π β¨
πΈ SYNOPSIS πΈ
void auth_domain_cleanup (void );
literally one line, zero drama, no params to pass. iconic behavior honestly π
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. the function said "i need nothing from you" and honestly? respect π«Ά
π DESCRIPTION π
okay so here's the situation. on module unload, the auth_domain_table must be empty. that's the rule, that's the law, no cap. π₯
and because catching bugs where domains don't get cleaned up properly is a whole thing, this function warns if anything remains in the table at cleanup time. so if you forgot to tidy up, you're gonna hear about it π it's literally the friend who goes "bestieβ¦ you left something in the table" before you walk out the door.
π¨ important caveat, please read this part: we cannot proactively remove the domains at this stage. why? because the ->release function might be in a module that has already been unloaded. so yeah β we warn, we do NOT touch. that would be a whole mess and we are not doing that π
π SEE ALSO π
- Kernel file
./net/sunrpc/svcauth.c svc_authenticate(9)svc_set_client(9)svc_authorise(9)svc_auth_flavor(9)svcauth_map_clnt_to_svc_cred_local(9)
go read those, they're all part of the same sunrpc cinematic universe πβ
and that's the page, bestie!! π this one lives in ./net/sunrpc and the date on it is October 2026, footer says auth_domain_cleanup(9) just to remind you whose page you're on. slay, stay empty, and clean up your domains ππ§ββοΈ
π¦ 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