mls_import_netlbl_lvl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mls_import_netlbl_lvl(9) β€” Kernel API Manual πŸ’…

okay bestie, welcome to the group chat for this Kernel API Manual page. We’re talking about mls_import_netlbl_lvl(9), and yes, it’s exactly as niche and iconic as it sounds. 🫢


🌸 NAME 🌸

mls_import_netlbl_lvl β€” import the NetLabel MLS sensitivity levels. That’s the whole vibe, no cap.


✨ SYNOPSIS ✨

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

Look at that signature. Main character energy, honestly. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” the policy. That’s it, that’s the argument. The policy is the moment.
  • context β€” the security context. You know her, you love her.
  • secattr β€” the NetLabel security attributes. Very demure, very security-coded. πŸ¦‹

🧚 DESCRIPTION 🧚

Given the security context and the NetLabel security attributes, copy the NetLabel MLS sensitivity level into the context.

That’s the tea: hand over the security context and the NetLabel security attributes, and this function copies the NetLabel MLS sensitivity level into the context. Simple, specific, and lowkey doing exactly what it says on the tin. ✨


🌈 SEE ALSO 🌈

Kernel file ./security/selinux/ss/mls.c β€” and bestie, don’t forget to peek at mls_export_netlbl_lvl(9), mls_export_netlbl_cat(9), and mls_import_netlbl_cat(9). The whole friend group is there. πŸ’–


Bye bestie! This page lives in ./security/selinux/ss and is dated October 2026 β€” mls_import_netlbl_lvl(9), signing off. πŸŽ€πŸ”₯

πŸ“¦ where this page comes from