landlock_trace_denial(9)
π landlock_trace_denial(9) π
okay so this is a page from the Kernel API Manual and honestly? it's giving "tiny function, big feelings." bestie, let's get into it π«Ά
β¨ NAME β¨
landlock_trace_denial β the little guy that emits a tracepoint whenever an access request gets denied πβ¨
π¦ SYNOPSIS π¦
void landlock_trace_denial (const struct landlock_request *const request
, const struct landlock_hierarchy *const youngest_denied , const
access_mask_t missing , const bool same_exec , const bool logged );
like, yes, that's the whole signature. she's compact. she's iconic. no cap π
π ARGUMENTS π
requestβ all the deets about the user space request πyoungest_deniedβ the youngest hierarchy node that denied the access. literally the baby of the family doing the rejecting π (const struct landlock_hierarchy *const)missingβ the final missing access subset, when applicable (access_mask_t)same_execβ records whether the policy subject is the same executable that calledlandlock_restrict_selffor the denying domain, as computed bylandlock_log_denial. fr fr, that's the whole vibe check π§loggedβ whether the domain's policy selects this denial for logging, as computed bylandlock_log_denialπΈ
π₯ DESCRIPTION π₯
So what does she actually do? She emits the tracepoint matching request->type when its event is enabled. periodt β¨
and here's the part that matters: unlike audit, it fires regardless of logged. the value gets recorded in the event so consumers can filter on it themselves. no gatekeeping π
She gets called from landlock_log_denial β that's her main character origin story π
π SEE ALSO π
- the Kernel file
./security/landlock/trace.c landlock_trace_free_domain(9)
okay that's the whole page, bestie, you ate that ππ and for the cute sign-off: this one lives in ./security/landlock, dated October 2026, and it's landlock_trace_denial(9) all day every day βπ¦π
π¦ 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