tomoyo_get_mode(9)
π tomoyo_get_mode(9) β like, the Kernel API Manual one, bestie β¨
okay so before we even get into it β this page lives in the Kernel API Manual, and the function is tomoyo_get_mode(9). That's the whole vibe. Now let's go. π
β¨ NAME β¨
tomoyo_get_mode β get MAC mode. that's it. that's the whole name. short, sweet, icon behaviour. π
πΈ SYNOPSIS πΈ
int tomoyo_get_mode (const struct tomoyo_policy_namespace *ns , const u8
profile , const u8 index );
like yes the call is a little long, but it ate. no notes. π
π¦ ARGUMENTS π¦
nsβ pointer to"struct tomoyo_policy_namespace". it's the namespace, she's pointing at it, that's the whole job π«Άprofileβ the profile number. a number. for a profile. iykyk πindexβ index number of functionality. literally the index of the functionality. main character parameter energy β
π₯ DESCRIPTION π₯
Returns mode.
no like that's genuinely the entire description π it returns the mode. nothing more, nothing less. she's concise, she's efficient, she's giving minimalism. πβ¨
π SEE ALSO π
okay bestie grab a snack because this list is long and we are NOT skipping a single one of these icons. kernel file ./security/tomoyo/util.c is the home base, and then the whole squad:
tomoyo_convert_time(9)tomoyo_permstr(9)tomoyo_read_token(9)tomoyo_get_domainname(9)tomoyo_parse_ulong(9)tomoyo_print_ulong(9)tomoyo_parse_name_union(9)tomoyo_parse_number_union(9)tomoyo_byte_range(9)tomoyo_alphabet_char(9)tomoyo_make_byte(9)tomoyo_valid(9)tomoyo_invalid(9)tomoyo_str_starts(9)tomoyo_normalize_line(9)tomoyo_correct_word2(9)tomoyo_correct_word(9)tomoyo_correct_path2(9)tomoyo_correct_path(9)tomoyo_correct_domain(9)tomoyo_domain_def(9)tomoyo_find_domain(9)tomoyo_const_part_length(9)tomoyo_fill_path_info(9)tomoyo_file_matches_pattern2(9)tomoyo_file_matches_pattern(9)tomoyo_path_matches_pattern2(9)tomoyo_path_matches_pattern(9)tomoyo_get_exe(9)tomoyo_init_request_info(9)tomoyo_domain_quota_is_ok(9)
the whole friend group, fr fr. go read them. π§π
ok and one last thing β this page came out of./security/tomoyo, dated October 2026, and the footer herself istomoyo_get_mode(9). so like, that's the source, that's the date, that's the name. periodt. ππΈπ
π¦ 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