landlock_audit_denial(9)
π landlock_audit_denial(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for landlock_audit_denial(9) β the function that makes an audit record when somebody gets denied access. no cap, it's giving security receipts. π§Ύβ¨
π NAME π
landlock_audit_denial β create an audit record for a denied access request. π
β¨ SYNOPSIS β¨
void landlock_audit_denial (const struct landlock_request *const request
, struct landlock_hierarchy *const youngest_denied , const access_mask_t
missing , const bool logged );
π«Ά ARGUMENTS π«Ά
requestβ the detail of the user space request. like, all the deets of what user space asked for. πyoungest_deniedβ the youngest hierarchy node that denied the access. she's the one who said βabsolutely not.β πmissingβ the set of denied access rights. literally the list of things that didn't make it through. πloggedβ whether the denial is selected for logging, as computed bylandlock_log_denial(domain policy and quiet rules). so this is the βare we putting this in the group chat?β boolean. π
πΈ DESCRIPTION πΈ
Emits the record when audit is enabled and the denial is selected for logging. that's the whole serve: audit on + denial picked for logging = record gets emitted. periodt. π₯
π¦ SEE ALSO π¦
- Kernel file
./security/landlock/audit.c landlock_audit_free_domain(9)
mwah π bestie, that's the page β brought to you by the Kernel API Manual, source/version ./security/landlock, dated October 2026. slay responsibly. ππ
π¦ 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