netlbl_catmap_walk(9)
β¨ 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:
- Kernel file
./net/netlabel/netlabel_kapi.c netlbl_cfg_map_del(9)netlbl_cfg_unlbl_map_add(9)netlbl_cfg_unlbl_static_add(9)netlbl_cfg_unlbl_static_del(9)netlbl_cfg_cipsov4_add(9)netlbl_cfg_cipsov4_del(9)netlbl_cfg_cipsov4_map_add(9)netlbl_cfg_calipso_add(9)netlbl_cfg_calipso_del(9)netlbl_cfg_calipso_map_add(9)_netlbl_catmap_getnode(9)netlbl_catmap_walkrng(9)netlbl_catmap_getlong(9)netlbl_catmap_setbit(9)netlbl_catmap_setrng(9)netlbl_catmap_setlong(9)netlbl_bitmap_walk(9)netlbl_bitmap_setbit(9)netlbl_enabled(9)netlbl_sock_setattr(9)netlbl_sock_delattr(9)netlbl_sock_getattr(9)netlbl_sk_lock_check(9)netlbl_conn_setattr(9)netlbl_req_setattr(9)netlbl_req_delattr(9)netlbl_skbuff_setattr(9)netlbl_skbuff_getattr(9)netlbl_skbuff_err(9)netlbl_cache_invalidate(9)netlbl_cache_add(9)netlbl_audit_start(9)netlbl_init(9)
This cutie came from the ./net/netlabel source/version corner, dated October 2026 π periodt. π§
π¦ 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