calipso_cache_add(9)
π calipso_cache_add(9) β the CALIPSO cache glow-up π
okay so bestie, welcome to the calipso_cache_add(9) page, straight out of the Kernel API Manual β¨ this is a kernel-level function, so grab your strawberry matcha and let's get into it π
πΈ NAME πΈ
calipso_cache_add β literally the function that adds an entry to the CALIPSO cache π
π¦ SYNOPSIS π¦
int calipso_cache_add (const unsigned char *calipso_ptr , const struct
netlbl_lsm_secattr *secattr );
no cap, that's the whole signature β it returns an int, periodt π
π ARGUMENTS π
calipso_ptrβ the CALIPSO option. that's it, that's the arg π«Άsecattrβ the packet's security attributes β¨
π DESCRIPTION π
so what it does: it adds a new entry into the CALIPSO label mapping cache π
returns zero on success π negative values on failure π that's the whole vibe check, iykyk.
π₯ SEE ALSO π₯
- Kernel file
./net/netlabel/netlabel_calipso.c netlbl_calipso_ops_register(9)netlbl_calipso_add_pass(9)netlbl_calipso_add(9)netlbl_calipso_list(9)netlbl_calipso_listall_cb(9)netlbl_calipso_listall(9)netlbl_calipso_remove_cb(9)netlbl_calipso_remove(9)netlbl_calipso_genl_init(9)calipso_doi_add(9)calipso_doi_free(9)calipso_doi_remove(9)calipso_doi_getdef(9)calipso_doi_putdef(9)calipso_doi_walk(9)calipso_sock_getattr(9)calipso_sock_setattr(9)calipso_sock_delattr(9)calipso_req_setattr(9)calipso_req_delattr(9)calipso_optptr(9)calipso_getattr(9)calipso_skbuff_setattr(9)calipso_skbuff_delattr(9)calipso_cache_invalidate(9)
like, that's a whole friend group of manpages fr fr β go say hi to all of them π§
ngl the whole thing is short and sweet, but that's the point β add an entry, return 0 or a negative value, done. main character energy in like four lines π
okay that's the page!! π this came from the ./net/netlabel source, dated October 2026, and the page itself is calipso_cache_add(9) β ily, go read the other ones now, 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