tomoyo_number_matches_group(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tomoyo_number_matches_group(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… today's main character is tomoyo_number_matches_group(9) and honestly? she's a little legend. let's get into it πŸŽ€


🌸 NAME 🌸

tomoyo_number_matches_group β€” checks whether the given number matches members of the given number group. yes that's the whole vibe. a little "do u belong here" moment 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

bool tomoyo_number_matches_group (const unsigned long min , const
       unsigned long max , const struct tomoyo_group *group );

like, look at her. returns a bool, takes three args, no cap ✨


πŸ’– ARGUMENTS πŸ’–

  • min β€” min number. the lower bound bestie πŸ“
  • max β€” max number. the upper bound, matching energy πŸ’œ
  • group β€” pointer to "struct tomoyo_number_group". this is the group she's checking against, iykyk πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

Returns true if min and max partially overlaps group, false otherwise. that's it, that's the function πŸ’€ literally just a vibe check for numbers.

important!! caller holds tomoyo_read_lock. this is not optional, bestie, do not skip it πŸ™ˆ

🌈 SEE ALSO 🌈

straight from the kernel file ./security/tomoyo/group.c β€” go say hi to the fam:


and that's the whole page, bestie!! πŸ’– sign-off time: this lil beauty lives under ./security/tomoyo, dated October 2026, and she's out here doing tomoyo_number_matches_group(9) things. slay. periodt. 🧚✨

πŸ“¦ where this page comes from