cipso_v4_getattr(9)
πΈ cipso_v4_getattr β the Kernel API Manual era π
okay bestie, so you know how there's a whole squad of cipso_v4_*_getattr functions out there doing their thing? yeah. this one is their helper. their little ride-or-die. their emotional support function, if you will. π
β¨ SYNOPSIS β¨
int cipso_v4_getattr (const unsigned char *cipso , struct
netlbl_lsm_secattr *secattr );
like, look at that signature. it's giving "i know exactly what i'm doing." no cap. π«Ά
π ARGUMENTS π
cipsoβ the CIPSO v4 option π this is the thing we're inspecting, bestie. show it some respect.secattrβ the security attributes πΈ this is where the good stuff gets written. the destination. the moment.
π DESCRIPTION π
so here's the vibe: cipso_v4_getattr looks at cipso and drops the security attributes into secattr. that's literally it. that's the whole job. main character energy, minimal effort, maximum payoff. β¨
and the return values? oh you know we're doing the classic kernel thing:
- returns zero on success π (slay)
- returns negative values on failure π (we don't talk about it)
periodt. that's the contract. don't come for me, come for the manpage.
π₯ SEE ALSO π₯
okay this is the part where i need you to sit down, hydrate, and prepare yourself, because the squad list is long. we're talking full group-chat roster. the kernel file in question is ./net/ipv4/cipso_ipv4.c, and here's everyone in it: π
cipso_v4_cache_entry_free(9)cipso_v4_map_cache_hash(9)cipso_v4_cache_init(9)cipso_v4_cache_invalidate(9)cipso_v4_cache_check(9)cipso_v4_cache_add(9)cipso_v4_doi_search(9)cipso_v4_doi_add(9)cipso_v4_doi_free(9)cipso_v4_doi_free_rcu(9)cipso_v4_doi_remove(9)cipso_v4_doi_getdef(9)cipso_v4_doi_putdef(9)cipso_v4_doi_walk(9)cipso_v4_map_lvl_valid(9)cipso_v4_map_lvl_hton(9)cipso_v4_map_lvl_ntoh(9)cipso_v4_map_cat_rbm_valid(9)cipso_v4_map_cat_rbm_hton(9)cipso_v4_map_cat_rbm_ntoh(9)cipso_v4_map_cat_enum_valid(9)cipso_v4_map_cat_enum_hton(9)cipso_v4_map_cat_enum_ntoh(9)cipso_v4_map_cat_rng_valid(9)cipso_v4_map_cat_rng_hton(9)cipso_v4_map_cat_rng_ntoh(9)cipso_v4_gentag_hdr(9)cipso_v4_gentag_rbm(9)cipso_v4_parsetag_rbm(9)cipso_v4_gentag_enum(9)cipso_v4_parsetag_enum(9)cipso_v4_gentag_rng(9)cipso_v4_parsetag_rng(9)cipso_v4_gentag_loc(9)cipso_v4_parsetag_loc(9)cipso_v4_optptr(9)cipso_v4_validate(9)cipso_v4_error(9)cipso_v4_genopt(9)cipso_v4_sock_setattr(9)cipso_v4_req_setattr(9)cipso_v4_delopt(9)cipso_v4_sock_delattr(9)cipso_v4_req_delattr(9)cipso_v4_sock_getattr(9)cipso_v4_skbuff_setattr(9)cipso_v4_skbuff_delattr(9)cipso_v4_init(9)
iykyk. tell them i said hi. π
and that's a wrap, bestie!! π¦ this icon of a page lives in ./net/ipv4, it's stamped October 2026, and it's brought to you by the Kernel API Manual β go drink some water and go read your kernel source, 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