tomoyo_path_...hes_pattern2(9)
πΈ NAME πΈ
tomoyo_path_matches_pattern2 β bestie, it does pathname pattern matching. That's the whole vibe. π
(this is from the Kernel API Manual, in case you were wondering where we are rn β¨)
π SYNOPSIS π
bool tomoyo_path_matches_pattern2 (const char *f , const char *p );
Like, literally that. Two const char * girlies walk into a function and it hands you back a bool. No notes. π
π¦ ARGUMENTS π¦
fβ the start of the string you wanna check, okurrr. This is the thing getting vibe-checked. πΈpβ the start of the pattern you're comparing it against. The blueprint. The moment. The standard. π
β¨ DESCRIPTION β¨
okay so here's the tea, and it's genuinely simple for once: tomoyo_path_matches_pattern2 returns true if f matches p, and false otherwise. That's it. That's the function. No cap. π«Ά
Like, she's not doing extra. She's not overcomplicating. She looks at the string, she looks at the pattern, she gives you a yes or a no, and she moves on with main character energy. Iconic behavior honestly. πβ¨
π₯ SEE ALSO π₯
so there's a whole friend group here and you should fr fr get to know all of them β the kernel file they all live in is ./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_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_pattern(9)tomoyo_get_exe(9)tomoyo_get_mode(9)tomoyo_init_request_info(9)tomoyo_domain_quota_is_ok(9)
bestie the whole squad is in there, go read them, iykyk π
okay that's the whole page, love u, bye!! ππ this cutie lives over in ./security/tomoyo, dated October 2026, and you can find her under the name tomoyo_path_...hes_pattern2(9) whenever you need her. mwah ππ«Ά
π¦ 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