netlbl_mgmt_listentry(9)
π netlbl_mgmt_listentry(9) π
okay so bestie, welcome to the Kernel API Manual β yes you, you're literally reading kernel docs rn, main character energy fr fr π
β¨ NAME β¨
netlbl_mgmt_listentry β List a NetLabel/LSM domain map entry πΊοΈ
π¦ SYNOPSIS π¦
int netlbl_mgmt_listentry (struct sk_buff *skb , struct netlbl_dom_map
*entry );
π ARGUMENTS π
skbβ the NETLINK buffer π¬ (yes, that's the netlink one, iykyk)entryβ the map entry π
πΈ DESCRIPTION πΈ
So this function is a helper function (supporting role, but honestly kind of iconic π) used by the LISTALL and LISTDEF command handlers. the way that it justβ¦ helps π
Big heads-up though: the caller is responsible for ensuring that the RCU read lock is held π β that's on you, not her. no cap, don't skip that part.
Returns zero on success, and negative values on failure π (bestie if you get a negative value, something went wrong, sorry).
π₯ SEE ALSO π₯
go check out the kernel file ./net/netlabel/netlabel_mgmt.c plus these absolute legends:
netlbl_mgmt_add_common(9)netlbl_mgmt_add(9)netlbl_mgmt_remove(9)netlbl_mgmt_listall_cb(9)netlbl_mgmt_listall(9)netlbl_mgmt_adddef(9)netlbl_mgmt_removedef(9)netlbl_mgmt_listdef(9)netlbl_mgmt_protocols_cb(9)netlbl_mgmt_protocols(9)netlbl_mgmt_version(9)netlbl_mgmt_genl_init(9)
π«Ά and that's the whole page!! this one comes to you from ./net/netlabel, dated October 2026 π slay, go read more manpages bestie, ily π§ββοΈβ¨
π¦ 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