smk_insert_entry(9)
π smk_insert_entry(9) π
okay so welcome to smk_insert_entry(9), bestie β straight from the Kernel API Manual. this page is short, but she's serving main character energy, so let's get into it. π
β¨ NAME β¨
smk_insert_entry β insert a smack label into a hash map,
πΈ SYNOPSIS πΈ
the signature, no cap:
void smk_insert_entry (struct smack_known *skp );
π¦ ARGUMENTS π¦
she takes one argument, and it's literally this:
skpβ smack label
that's the whole moment. lowkey iconic. β¨
π DESCRIPTION π
okay so here's the rule, and it is not a vibe suggestion: this function must be called under smack_known_lock. periodt. that's the description, bestie β do not skip the lock. π«Ά
π SEE ALSO π
the related-entries group chat is big, and every single one is here:
- Kernel file
./security/smack/smack_access.c smk_access_entry(9)smk_access(9)smk_tskacc(9)smk_curacc(9)smack_str_from_perm(9)smack_log_callback(9)smack_log(9)smk_find_entry(9)smk_parse_label_len(9)smk_parse_smack(9)smk_netlbl_mls(9)smack_populate_secattr(9)smk_import_entry(9)smk_import_valid_label(9)smack_from_secid(9)smack_privileged_cred(9)smack_privileged(9)
bye bestie π this page is sourced from ./security/smack, dated October 2026, and it's smk_insert_entry(9) signing off. slay. π
π¦ 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