netlbl_cache_invalidate(9)
π netlbl_cache_invalidate(9) β like, the Kernel API Manual, bestie π
okay so picture this: you're deep in the kernel, specifically the NetLabel corner of it, and you need every single protocol cache to justβ¦ forget everything it knows. That's this function. Welcome to the netlbl_cache_invalidate page, sponsored by the Kernel API Manual, no cap β¨
πΈ NAME πΈ
netlbl_cache_invalidate β the lil cleanup crew that invalidates all of the NetLabel protocol caches π§Ήπ
β¨ SYNOPSIS β¨
void netlbl_cache_invalidate (void );
that's it. that's the whole vibe check. π«Ά
π¦ ARGUMENTS π¦
voidβ no arguments, bestie. literally none. she takes nothing and she gives everything π
π DESCRIPTION π
okay so here's the tea β β for all of the NetLabel protocols that support some form of label mapping cache, this function invalidates the cache. Like, every single one of them that's got a cache to speak of. gone. poof. iconic behaviour honestly π₯
and then β and this is the part where you gotta squint a little π β it says: returns zero on success, negative values on error. Yeah. Even though the signature says void. That's what the page says, and we are not editorialising, we're just reporting fr fr π
the way that a void function has return values in the description is lowkey giving main character energy π just roll with it
π SEE ALSO π
bestie, buckle up, this list is long and every single one of these deserves a lil moment π
- Kernel file
./net/netlabel/netlabel_kapi.c netlbl_cfg_map_del(9)netlbl_cfg_unlbl_map_add(9)netlbl_cfg_unlbl_static_add(9)netlbl_cfg_unlbl_static_del(9)netlbl_cfg_cipsov4_add(9)netlbl_cfg_cipsov4_del(9)netlbl_cfg_cipsov4_map_add(9)netlbl_cfg_calipso_add(9)netlbl_cfg_calipso_del(9)netlbl_cfg_calipso_map_add(9)_netlbl_catmap_getnode(9)netlbl_catmap_walk(9)netlbl_catmap_walkrng(9)netlbl_catmap_getlong(9)netlbl_catmap_setbit(9)netlbl_catmap_setrng(9)netlbl_catmap_setlong(9)netlbl_bitmap_walk(9)netlbl_bitmap_setbit(9)netlbl_enabled(9)netlbl_sock_setattr(9)netlbl_sock_delattr(9)netlbl_sock_getattr(9)netlbl_sk_lock_check(9)netlbl_conn_setattr(9)netlbl_req_setattr(9)netlbl_req_delattr(9)netlbl_skbuff_setattr(9)netlbl_skbuff_getattr(9)netlbl_skbuff_err(9)netlbl_cache_add(9)netlbl_audit_start(9)netlbl_init(9)
like I said. a lot. but go read them, iykyk π
and that's the page!! πΈ brought to you by ./net/netlabel, dated October 2026, in the Kernel API Manual β stay cunty, stay cached (or don't, that's literally the whole point π), 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