smk_netlbl_mls(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, you're reading the smk_netlbl_mls(9) page from the Kernel API Manual, and the whole assignment is convert a catset to netlabel mls categories. that's the vibe. periodt.

✨ SYNOPSIS ✨

int smk_netlbl_mls (int level , char *catset , struct netlbl_lsm_secattr
       *sap , int len );

πŸŽ€ ARGUMENTS πŸŽ€

  • level β€” the MLS sensitivity level. yes, sensitivity. it's giving hierarchy.
  • catset β€” the Smack categories. that's the set, bestie.
  • sap β€” where to put the netlabel categories. destination energy.
  • len β€” number of bytes for the levels in a CIPSO IP option. very specific, very demure. keep that exact.

πŸ¦‹ DESCRIPTION πŸ¦‹

so the function allocates and fills attr.mls. that's the move.

returns 0 on success. returns an error code on failure. 0 = slay, error code = not slay. no cap.

🌈 SEE ALSO 🌈

Kernel file ./security/smack/smack_access.c is the source spot β€” and here's the whole related-friend group, every single one, no skipping:


πŸ’– that's the whole page, bestie. source/version: ./security/smack; date: October 2026; manual page: smk_netlbl_mls(9). go be a kernel main character 🫢

πŸ“¦ where this page comes from