netlbl_catmap_walk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Bestie, welcome to netlbl_catmap_walk(9) from the Kernel API Manual 🫢 This page is literally about netlbl_catmap_walk: walking a LSM secattr catmap looking for a bit. No cap, that's the whole assignment. πŸ’…


🌸 SYNOPSIS 🌸

The signature is giving exactly this, character for character:

int netlbl_catmap_walk (struct netlbl_lsm_catmap *catmap , u32 offset );

πŸŽ€ ARGUMENTS πŸŽ€

  • catmap β€” the category bitmap. Yep, that's the bitmap bestie; it's the thing being walked. πŸ¦‹
  • offset β€” the offset to start searching at, in bits. Like, where the search begins, fr fr. ⭐

πŸ’– DESCRIPTION πŸ’–

Okay so this function walks a LSM secattr category bitmap starting at offset, and it returns the spot of the first set bit. If no bits are set, it returns -ENOENT. That's it β€” iconic behavior, honestly. 😭

Lowkey important: -ENOENT is the no-bits-set outcome. Don't forget it. 🫢

🌈 SEE ALSO 🌈

Go hang with the whole netlabel friend group, iykyk:


This cutie came from the ./net/netlabel source/version corner, dated October 2026 πŸ’Œ periodt. 🧚

πŸ“¦ where this page comes from