netlbl_mgmt_listentry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


🫢 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