tomoyo_file_...hes_pattern2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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