mls_export_netlbl_lvl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, you've landed on the mls_export_netlbl_lvl(9) page in the Kernel API Manual, and it's literally about one job: mls_export_netlbl_lvl - Export the MLS sensitivity levels to NetLabel. no cap, that's the whole name section and we're already slaying ✨


✨ SYNOPSIS ✨

here's the exact signature, don't let anyone touch it:

void mls_export_netlbl_lvl (struct policydb *p , struct context *context
       , struct netlbl_lsm_secattr *secattr );

🫢 ARGUMENTS 🫢

  • p β€” the policy. that's it, that's the argument πŸ’…
  • context β€” the security context. the context bestie, keep up πŸ¦‹
  • secattr β€” the NetLabel security attributes. yes, all three words matter πŸŽ€

πŸ’… DESCRIPTION πŸ’…

Given the security context, copy the low MLS sensitivity level into the NetLabel MLS sensitivity level field. that's the move. it's giving "take the low MLS sensitivity level and put it where the NetLabel MLS sensitivity level field lives" β€” simple, iconic, done πŸ”₯

🌈 SEE ALSO 🌈


okay that's the page, bestie πŸ’– source/version tea: ./security/selinux/ss; date on it: October 2026; manual page: mls_export_netlbl_lvl(9). now go be iconic and stay secure πŸ§šπŸ’œ

πŸ“¦ where this page comes from