aa_audit_file(9)
π aa_audit_file(9) π
okay so bestie, this page is from the Kernel API Manual and it is literally about handling the auditing of file operations. no cap, it's giving kernel-security main character energy.
β¨ NAME β¨
aa_audit_file β handle the auditing of file operations
πΈ SYNOPSIS πΈ
int aa_audit_file (const struct cred *subj_cred , struct aa_profile *profile , const struct aa_perms *perms , const char *op , u32 request , const char *name , const char *target , struct aa_label *tlabel , kuid_t ouid , const char *info , int error );
π§ ARGUMENTS π§
subj_credβ cred of the subject πprofileβ the profile being enforced (NOT NULL) πpermsβ the permissions computed for the request (NOT NULL) β¨opβ operation being mediatedrequestβ permissions requestednameβ name of object being mediated (MAYBE NULL)targetβ name of target (MAYBE NULL)tlabelβ target label (MAY BE NULL)ouidβ object uidinfoβ extra information message (MAYBE NULL)errorβ0if operation allowed else failure error code π
π RETURN π
0 or error on failure β that's the whole vibe check π«Ά
π¦ SEE ALSO π¦
bestie, go peek at the Kernel file ./security/apparmor/file.c and these icons: file_audit_cb(9), aa_lookup_condperms(9), aa_str_perms(9), aa_path_perm(9), xindex_is_subset(9), aa_path_link(9), aa_file_perm(9). π
mwah π signing off from ./security/apparmor with the October 2026 date, bestie π
π¦ 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