mls_export_netlbl_lvl(9)
π 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 π
- Kernel file
./security/selinux/ss/mls.c mls_import_netlbl_lvl(9)mls_export_netlbl_cat(9)mls_import_netlbl_cat(9)
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
- 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