tomoyo_del_domain(9)
πΈ tomoyo_del_domain(9) πΈ
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, we're folding it in early so you're not confused π this one's a lil one but she's important, so let's get into it.
β¨ NAME β¨
tomoyo_del_domain β deletes members in "struct tomoyo_domain_info". that's it, that's the whole job. she's a deleter π
β¨ SYNOPSIS β¨
void tomoyo_del_domain (struct list_head *element );
look at her, one argument, void return, no drama β¨
β¨ ARGUMENTS β¨
elementβ a pointer to"struct list_head"π that's the thing she's gonna yeet from the domain list. literally just a pointer, okay? don't overthink it.
β¨ DESCRIPTION β¨
okay so lowkey the whole thing here is: this function returns nothing. like, actually nothing. it's void, there's no status code, no return value, no little note passed back to you π so don't go checking her output expecting tea, there isn't any.
π¨ also super important bestie: the caller holds tomoyo_policy_lock mutex. that's on you, not on her. so if you're in there dereferencing stuff without holding that lock, that's a vibe check you will fail fr fr π
β¨ SEE ALSO β¨
okay this is the friend group, and honestly? iconic lineup. go read these too π«Ά
./security/tomoyo/gc.cβ the kernel file where the actual party's happening πtomoyo_memory_free(9)tomoyo_struct_used_by_io_buffer(9)tomoyo_name_used_by_io_buffer(9)tomoyo_del_transition_control(9)tomoyo_del_aggregator(9)tomoyo_del_manager(9)tomoyo_del_acl(9)tomoyo_del_condition(9)tomoyo_del_name(9)tomoyo_del_path_group(9)tomoyo_del_group(9)tomoyo_del_address_group(9)tomoyo_del_number_group(9)tomoyo_try_to_gc(9)tomoyo_collect_member(9)tomoyo_collect_acl(9)tomoyo_collect_entry(9)tomoyo_gc_thread(9)tomoyo_notify_gc(9)
like, so many del friends. a whole del-verse. slay π
no cap, that's the page π she lives in ./security/tomoyo, she's stamped October 2026, and the Kernel API Manual is her whole aesthetic. mwah, go hold that mutex πβ¨
π¦ 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