mls_import_netlbl_lvl(9)
π
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
- 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