tomoyo_write_exception(9)
π tomoyo_write_exception(9) β¨
okay so bestie, we're deep in the Kernel API Manual, section 9, and the star of the show today is tomoyo_write_exception. she's a little function with a big job, and honestly? she ate. let's get into it π«Ά
πΈ NAME πΈ
tomoyo_write_exception β writes the exception policy. that's it, that's the vibe. no cap. π
β¨ SYNOPSIS β¨
int tomoyo_write_exception (struct tomoyo_io_buffer *head );
literally the whole signature, character for character, don't @ me π
π ARGUMENTS π
headβ a pointer to"struct tomoyo_io_buffer". yes the quotes are in the original, she's quirky like that π¦
π DESCRIPTION π
okay so the tea: it returns 0 on success, and a negative value otherwise. that's the entire contract, bestie. zero means slay, negative means something went sideways π
also, and this is important β the caller holds tomoyo_read_lock. like, the caller. not this function. so if you're calling it, you better already be holding that lock, fr fr. π₯
π SEE ALSO π
this is the part where the manpage goes absolutely feral and lists everyone in the group chat. like, there are so many. buckle up π’
tomoyo_addprintf(9)tomoyo_flush(9)tomoyo_set_string(9)tomoyo_io_printf(9)tomoyo_set_space(9)tomoyo_set_lf(9)tomoyo_set_slash(9)tomoyo_init_policy_namespace(9)tomoyo_print_namespace(9)tomoyo_print_name_union(9)tomoyo_print_name_union_quoted(9)tomoyo_print_number_union_nospace(9)tomoyo_print_number_union(9)tomoyo_assign_profile(9)tomoyo_profile(9)tomoyo_find_yesno(9)tomoyo_set_uint(9)tomoyo_set_mode(9)tomoyo_write_profile(9)tomoyo_print_config(9)tomoyo_read_profile(9)tomoyo_same_manager(9)tomoyo_update_manager_entry(9)tomoyo_write_manager(9)tomoyo_read_manager(9)tomoyo_manager(9)tomoyo_select_domain(9)tomoyo_same_task_acl(9)tomoyo_write_task(9)tomoyo_delete_domain(9)tomoyo_write_domain2(9)tomoyo_write_domain(9)tomoyo_print_condition(9)tomoyo_set_group(9)tomoyo_print_entry(9)tomoyo_read_domain2(9)tomoyo_read_domain(9)tomoyo_write_pid(9)tomoyo_read_pid(9)tomoyo_read_group(9)tomoyo_read_policy(9)tomoyo_read_exception(9)tomoyo_truncate(9)tomoyo_numscan(9)tomoyo_patternize_path(9)tomoyo_add_entry(9)tomoyo_supervisor(9)tomoyo_find_domain_by_qid(9)tomoyo_poll_query(9)tomoyo_read_query(9)tomoyo_write_answer(9)tomoyo_read_version(9)tomoyo_update_stat(9)tomoyo_read_stat(9)tomoyo_write_stat(9)tomoyo_open_control(9)tomoyo_poll_control(9)tomoyo_set_namespace_cursor(9)tomoyo_has_more_namespace(9)tomoyo_read_control(9)tomoyo_parse_policy(9)tomoyo_write_control(9)tomoyo_close_control(9)tomoyo_check_profile(9)tomoyo_load_builtin_policy(9)
like okayyy mutuals π
also the kernel file lives at ./security/tomoyo/common.c, just so you know where the source is at. iykyk π§
ngl if you got this far you're genuinely built different. sixty-five cross-references and you didn't scroll once. main character energy fr ππ
π a lil sign-off π
this page come from ./security/tomoyo and it's dated October 2026 β so bestie, mark your calendar, she's from the future β¨π¦ and it's all from the Kernel API Manual (section 9, the cool section). mwah, go read some kernel source, ily, bye ππ
π¦ 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