netlbl_catmap_setrng(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… netlbl_catmap_setrng(9) β€” aka the Kernel API Manual's cutest little bit-setter

okay so bestie, we're in the netlbl_catmap_setrng(9) man page, straight out of the Kernel API Manual ✨ grab a matcha, this one's short and sweet.


🌸 NAME 🌸

netlbl_catmap_setrng β€” literally sets a range of bits in a LSM secattr catmap. that's it. that's the whole vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int netlbl_catmap_setrng (struct netlbl_lsm_catmap **catmap , u32 start
, u32 end , gfp_t flags );

yes the line break in the middle of the parameter list is real, don't come for me, that's just how the page looks 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • catmap β€” a pointer to the category bitmap πŸ—ΊοΈ like, the actual map you're decorating with bits.
  • start β€” the starting bit ⭐ where the range begins.
  • end β€” the last bit in the string 🏁 the range goes up to and includes this one, no cap.
  • flags β€” memory allocation flags 🌈 the usual gfp_t situation, passed along for any memory the call needs.

πŸ’– DESCRIPTION πŸ’–

So the whole job here? Set a range of bits, starting at start and ending with end. inclusive range behaviour, main character energy, start through end both invited to the party πŸŽ‰.

Returns zero on success β€” iconique, we love a clean 0 ✨ β€” and negative values on failure 😭 so always check your return value, bestie, fr fr.


πŸ‘‘ SEE ALSO πŸ‘‘

these are the siblings! the whole netlabel extended fam 🫢 β€” and the kernel file they live in: ./net/netlabel/netlabel_kapi.c

mwah πŸ’‹ that's the page. sourced from ./net/netlabel, dated October 2026, and it's netlbl_catmap_setrng(9) forever and ever πŸŽ€ go set some bits bestie, you got this πŸ’œ

πŸ“¦ where this page comes from