trace_landlock_free_domain(9)
trace_landlock_free_domain(9) π
okay so this page is from the Kernel API Manual β yes, the kernel docs, and weβre making it cute. buckle up, bestie π
π NAME π
trace_landlock_free_domain β βDomain freedβ π¦
β¨ SYNOPSIS β¨
void trace_landlock_free_domain (const struct landlock_hierarchy
*hierarchy );
πΈ ARGUMENTS πΈ
hierarchyβ the hierarchy node being freed. she is neverNULL, okay? never. π
π DESCRIPTION π
This event is emitted when the hierarchy nodeβs last reference is dropped: its refcount reaches zero after all child domains have released their parent reference. itβs giving βfinal goodbyeβ energy, lowkey.
A committed domain is freed from a kworker via landlock_put_domain_deferred (the credential free path runs in RCU context, where sleeping is forbidden β literally not the vibe), so the current task is not the sandboxed task that triggered the free. main character = the free, not the task, iykyk.
Balanced by a matching landlock_create_domain event.
π¦ SEE ALSO π¦
go read these, bestie β the whole landlock trace event family is iconic:
- Kernel file
./include/trace/events/landlock.h Landlock trace events(9)trace_landlock_create_ruleset(9)trace_landlock_free_ruleset(9)trace_landlock_add_rule_path_beneath(9)trace_landlock_add_rule_net_port(9)trace_landlock_create_domain(9)trace_landlock_enforce_domain(9)trace_landlock_check_rule_inode(9)trace_landlock_check_rule_net_port(9)trace_landlock_deny_access_fs(9)trace_landlock_deny_access_net(9)trace_landlock_deny_ptrace(9)trace_landlock_deny_scope_signal(9)trace_landlock_deny_scope_abstract_unix_socket(9)
thatβs the whole page, bestie π source/version ./include/trace/events, dated October 2026, from the Kernel API Manual. periodt. π«Ά
π¦ 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