tomoyo_read_domain2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tomoyo_read_domain2(9) πŸŽ€

okay bestie, this is a page from the Kernel API Manual, and it's all about tomoyo_read_domain2. pull up a chair, we're reading domain policy πŸ’…

πŸ’– NAME πŸ’–

tomoyo_read_domain2 β€” read domain policy. no cap.

✨ SYNOPSIS ✨

bool tomoyo_read_domain2 (struct tomoyo_io_buffer *head , struct
       list_head *list );

πŸŽ€ ARGUMENTS πŸŽ€

  • head β€” Pointer to struct tomoyo_io_buffer. that's the io-buffer situation πŸ’–
  • list β€” Pointer to struct list_head. the list-head situation πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

Heads up bestie: the caller holds tomoyo_read_lock. that's the rule, and it's giving "don't forget the lock" energy β€” periodt.

It returns true on success, and false otherwise. slay if true, sad little false if not 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./security/tomoyo/common.c β€” the whole bestie squad, fr fr: 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_domain(9), tomoyo_write_pid(9), tomoyo_read_pid(9), tomoyo_write_exception(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).


xoxo, your kernel bestie πŸ’– β€” source/version footer says ./security/tomoyo, date is October 2026, and this whole page is literally tomoyo_read_domain2(9). periodt. 🫢

πŸ“¦ where this page comes from