smack_log(9)
π smack_log β a Kernel API Manual moment, but make it cute π
okay so bestie, welcome to smack_log(9) β yes, that (9) means it's a kernel API page, we love a section-9 moment, it's giving "I live in the kernel and I know things" β¨
πΈ NAME πΈ
smack_log β literally just auditing the granting or denial of permissions. that's the whole vibe. no cap π«Ά
π¦ SYNOPSIS π¦
void smack_log (char *subject_label , char *object_label , int request ,
int result , struct smk_audit_info *ad );
that's the whole function signature, character for character, don't @ me π
π ARGUMENTS π
subject_labelβ the smack label of the requester. like, who's asking?? πobject_labelβ the smack label of the object being accessed. the thing being asked for πrequestβ the requested permissions, bestie. what they wantresultβ the result fromsmk_access. the receipts, basically π₯adβ auxiliary audit data. the little extra β¨
π§ DESCRIPTION π§
so what it actually does: it audits the granting or denial of permissions in accordance with the policy. periodt. that's the assignment, and it ate ππ
ngl, this one's short and sweet β but the details are the details, so don't skip the arguments up there π
π SEE ALSO π
Kernel file ./security/smack/smack_access.c β and the whole friend group:
smk_access_entry(9)smk_access(9)smk_tskacc(9)smk_curacc(9)smack_str_from_perm(9)smack_log_callback(9)smk_insert_entry(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)
π a lil sign-off π
this masterpiece lives in ./security/smack, dated October 2026, and its official title card is smack_log(9) β mwah, iconic, no notes ππ
π¦ 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