tomoyo_file_...hes_pattern2(9)
π NAME π
okay so bestie, this is the tomoyo_file_...hes_pattern2(9) page from the Kernel API Manual β and the NAME is giving:
Pattern matching without'/'character and"-"pattern.
no cap, that's the assignment: pattern matching without the slash character and without the dash pattern π
β¨ SYNOPSIS β¨
the signature, literally character-for-character:
bool tomoyo_file_matches_pattern2 (const char *filename , const char *filename_end , const char *pattern , const char *pattern_end );
π ARGUMENTS π
filenameβ the start of string to check. yes, the beginning bestie πfilename_endβ the end of string to check.patternβ the start of pattern to compare.pattern_endβ the end of pattern to compare.
that's the whole arg squad, all four of them, no cap π«Ά
π¦ DESCRIPTION π¦
Returns true if filename matches pattern, false otherwise.
That's the vibe check: match = true, no match = false. No extra lore, just true-or-false pattern-matching realness. π
πΈ SEE ALSO πΈ
Kernel file ./security/tomoyo/util.c β and the whole SEE ALSO squad is:
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_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)
mwah π source/version: ./security/tomoyo Β· date: October 2026 Β· title: tomoyo_file_...hes_pattern2(9) β footer folded into this cute sign-off, byeee π«Άβ¨
π¦ 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