trace_landl...eate_ruleset(9)
π trace_landl...eate_ruleset(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a trace event page and it's honestly so chill β let's get into it π
πΈ NAME πΈ
trace_landlock_create_ruleset β new ruleset created, periodt π
β¨ SYNOPSIS β¨
void trace_landlock_create_ruleset (const struct landlock_ruleset
*ruleset );
π¦ ARGUMENTS π¦
rulesetβ the newly created ruleset, and ngl it is neverNULL(guard rails, we love to see it π«Ά). At this point it hasn't been shared via an fd yet, so no lock is needed β lowkey the calmest moment this struct will ever have π
π₯ DESCRIPTION π₯
So this event is emitted by sys_landlock_create_ruleset while the brand-new ruleset is still private to the calling thread π it happens before the file descriptor gets installed, which means it literally cannot race a concurrent close(2) ππ slay.
It's balanced by a matching landlock_free_ruleset event β they're a matching set, iykyk π
π SEE ALSO π
- Kernel file
./include/trace/events/landlock.hLandlock trace events(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_free_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 babes, go forth and trace responsibly π§ββοΈ
kisses, this was ./include/trace/events β October 2026 edition πβ
π¦ 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