landlock_audit_denial(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 by landlock_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 πŸ¦‹


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