netlbl_cipsov4_add_local(9)
π netlbl_cipsov4_add_local(9) β like, the CIPSO V4 DOI maker β¨
okay bestie, buckle up π this one lives in the Kernel API Manual and it's genuinely iconic if you're into NetLabel things (and if you're here, you are, iykyk π).
β¨ NAME β¨
netlbl_cipsov4_add_local β adds a CIPSO V4 DOI definition π¦
like... it literally just adds a DOI definition. that's the whole vibe check. no cap.
πΈ SYNOPSIS πΈ
int netlbl_cipsov4_add_local (struct genl_info *info ,
struct netlbl_audit *audit_info );
look at her. two args, returns an int, immaculate energy π
π ARGUMENTS π
infoβ the Generic NETLINK info block π« (yes, that Generic NETLINK info block, the main character)audit_infoβ NetLabel audit information π the receipts, basically
π₯ DESCRIPTION π₯
so what it does is: it creates a brand new CIPSO_V4_MAP_LOCAL DOI definition, based on the ADD message you handed it, and then it adds that definition straight into the CIPSO V4 engine. it's giving "build then install", fr fr π
returns zero on success and non-zero on error. that's it. that's the contract. periodt.
ngl bestie, "zero is good, non-zero is bad" is the whole return-value situation here β don't overthink it, just check it π
π SEE ALSO π
- Kernel file
./net/netlabel/netlabel_cipso_v4.cπ (go read the source, it's right there) netlbl_cipsov4_add_common(9)netlbl_cipsov4_add_std(9)netlbl_cipsov4_add_pass(9)netlbl_cipsov4_add(9)netlbl_cipsov4_list(9)netlbl_cipsov4_listall_cb(9)netlbl_cipsov4_listall(9)netlbl_cipsov4_remove_cb(9)netlbl_cipsov4_remove(9)netlbl_cipsov4_genl_init(9)
the whole cipso v4 friend group π«Ά go say hi to all of them.
π sign-off time, bestie π β this lil page came from ./net/netlabel, dated October 2026, and it's the netlbl_cipsov4_add_local(9) manual page π mwah, slay, go add some DOIs π
π¦ 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