netlbl_catmap_setlong(9)
π¦ netlbl_catmap_setlong(9) π¦
okay bestie, you're looking at the Kernel API Manual page for netlbl_catmap_setlong(9) β yes, the whole page, and we're gonna get through it together π
β¨
πΈ NAME πΈ
netlbl_catmap_setlong β import an unsigned long bitmap π«Ά
β¨ SYNOPSIS β¨
here's the signature, bestie β do not let the types scare you:
int netlbl_catmap_setlong (struct netlbl_lsm_catmap **catmap , u32
offset , unsigned long bitmap , gfp_t flags );
π ARGUMENTS π
catmapβ pointer to the category bitmap, like the map you're importing into πΊοΈoffsetβ offset to the start of the imported bitmap, so it knows where the import starts πbitmapβ the bitmap to import, literally the thing being brought in π§Ίflagsβ memory allocation flags, the little settings for allocation π©
π DESCRIPTION π
okay so netlbl_catmap_setlong() imports the bitmap specified in bitmap into catmap, using the offset in offset. The offset must be aligned to an unsigned long β that's a hard requirement, not a vibe suggestion π. It returns zero on success and negative values on failure. Periodt. β
π SEE ALSO π
if you're going down the netlabel rabbit hole, here's the whole friend group π:
- 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_walk(9)netlbl_catmap_walkrng(9)netlbl_catmap_getlong(9)netlbl_catmap_setbit(9)netlbl_catmap_setrng(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)
cute little sign-off from the bottom of the page: source/version ./net/netlabel, date October 2026, page netlbl_catmap_setlong(9) β bye bestie, slay your kernel reading π«Άπ
π¦ 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