tomoyo_correct_path(9)
β¨ tomoyo_correct_path β a kernel API manual, but make it cute β¨
okay so bestie, this is tomoyo_correct_path(9), like, the section 9 kernel API page for it. it's a lil function that vibes-checks pathnames and we're gonna get into it π
πΈ NAME πΈ
tomoyo_correct_path β Validate a pathname. that's it, that's the whole job π
π¦ SYNOPSIS π¦
bool tomoyo_correct_path (const char *filename );
literally one argument, returns a bool, no cap π«Ά
π ARGUMENTS π
filenameβ the pathname to check. like, the string you're putting on trial, bestie π
β DESCRIPTION β
so what it does is: it checks whether the given pathname follows the naming rules. that's the whole thing. if filename follows the naming rules you get true back, and if it doesn't you get false. boom. iconic behavior honestly π
no guessing, no extra lore β it's a yes/no vibe check on a pathname, periodt β¨
π§ SEE ALSO π§
okay this list is LONG but we're not skipping a single one, bestie, every single reference is coming with us π
- the Kernel file
./security/tomoyo/util.cπ 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_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_get_mode(9)tomoyo_init_request_info(9)tomoyo_domain_quota_is_ok(9)
like, one big happy tomoyo family reunion fr fr ππ«Ά
ngl the whole page is like four lines of actual content and then a whole friend group of cross-references, and honestly? that's the vibe. iykyk π
anyway that's the page!! sourced from ./security/tomoyo, dated October 2026 β mwah, mwah, and mwah again, catch u in the next manpage bestie π
ππ
π¦ 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