smk_find_entry(9)
π smk_find_entry β like, the Kernel API Manual edition, bestie β¨
okay so real talk, this page lives in the Kernel API Manual (section 9, the fancy kernel-functions one π), and it's literally about hunting down a label. let's get into it π¦
β¨ NAME β¨
smk_find_entry β bestie, it finds a label on the list and hands you back the list entry π
πΈ SYNOPSIS πΈ
struct smack_known * smk_find_entry (const char *string );
like, you give it a string, it gives you a struct smack_known *. that's the whole vibe π«
π ARGUMENTS π
stringβ a text string that might be a Smack label π·οΈ (note the "might", she's not making promises yet, iykyk)
π DESCRIPTION π
So what she does is: returns a pointer to the entry in the label list that matches the string you passed in π₯
And if there's no match? She returns NULL π no entry for you, bestie, the list said no π
no cap, always vibe-check for NULL before you go dereferencing, that's just self-care π«Ά
π SEE ALSO π
the whole friend group, fr fr β and yes, she keeps the Kernel file ./security/smack/smack_access.c in the group chat too πβ¨
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_insert_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)
and that's the page, periodt π
this one's from ./security/smack, dated October 2026 β iconic of her honestly, she said "see you next season" and meant it ππ§π
π¦ 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