tomoyo_stru...by_io_buffer(9)
π tomoyo_struct_used_by_io_buffer π
okay bestie, welcome to the Kernel API Manual β this one's a lil function from the TOMOYO security corner of the kernel, and honestly it's giving "bouncer at the club checking the guest list" energy π«Ά
β¨ NAME β¨
tomoyo_struct_used_by_io_buffer β literally just checks whether a list element is being used by the users hanging out in /sys/kernel/security/tomoyo/, or not. that's it. that's the whole vibe check π
πΈ SYNOPSIS πΈ
bool tomoyo_struct_used_by_io_buffer (const struct list_head *element );
π ARGUMENTS π
elementβ a pointer tostruct list_head. yes, that exact type, no cap. it's the thing we're asking about π
π¦ DESCRIPTION π¦
so here's the tea: this function returns true if element is being used by the /sys/kernel/security/tomoyo/ users, and false if it isn't. that's the whole plot. true or false, iconic either way β¨
no hidden lore, no gotchas, no extra params. just a clean little boolean moment π
π SEE ALSO π
the kernel file ./security/tomoyo/gc.c says hi, and so do all of these besties β go say hey to them too:
tomoyo_memory_free(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_domain(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)
ngl the whole tomoyo_del_* squad is a whole friend group and this page is just the one holding the group chat together π
and that's the page!! sourced straight from ./security/tomoyo, stamped October 2026, filed under tomoyo_struct_used_by_io_buffer(9) β mwah, go read the gc code, it's lowkey fascinating ππ§ββοΈ
π¦ 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