smk_cipso_doi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smk_cipso_doi πŸ’–

ok so this is a page straight out of the Kernel API Manual, bestie β€” section 9, kernel-space vibes only. we're talking smk_cipso_doi, and yes it's as niche as it sounds but we're gonna slay it anyway 🫢

✨ NAME ✨

smk_cipso_doi β€” set netlabel maps

like, that's the whole pitch. netlabel maps. set 'em. iconic behavior honestly πŸ‘‘

✨ SYNOPSIS ✨

int smk_cipso_doi (u32 ndoi , gfp_t gfp_flags );

that's it. that's the whole signature. two args, one int coming back atcha. no cap πŸ’…

✨ ARGUMENTS ✨

  • ndoi β€” the new value for our CIPSO DOI. yes, our DOI. it's a u32, it's the fresh one, it's moving in 🌸
  • gfp_flags β€” the kmalloc allocation context. you know, the lil allocation mood ring for this call ✨

πŸ¦‹ SEE ALSO πŸ¦‹

ok so the source of all this is the kernel file ./security/smack/smackfs.c, and it's giving big family energy β€” here's the entire extended friend group, no one left out, periodt:


and that's the tea β˜• lowkey a whole friend group in one SEE ALSO section, and every single one of them said hi πŸ’œ

sign-off time, bestie πŸŽ€ this page lives under ./security/smack, and it's stamped October 2026 β€” so like, future-core but make it kernel 🌈✨ go read your man pages, ily, mwah πŸ’‹

πŸ“¦ where this page comes from