tomoyo_condition(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tomoyo_condition(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” we're looking at tomoyo_condition(9), and it's lowkey giving β€œyes/no icon” energy. ✨

🌸 NAME 🌸

tomoyo_condition β€” check the condition part, bestie. πŸ’…

✨ SYNOPSIS ✨

bool tomoyo_condition (struct tomoyo_request_info *r , const struct
tomoyo_condition *cond );

That's the whole signature, no cap. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • r β€” pointer to "struct tomoyo_request_info". That's the request-info struct, periodt. πŸ’–
  • cond β€” pointer to "struct tomoyo_condition". Maybe NULL. πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

It returns true on success and false otherwise β€” literally a vibe check in bool form. βœ…πŸ’€

Also: the caller holds tomoyo_read_lock. That part is important, bestie β€” don't forget it. πŸ”’βœ¨

🌈 SEE ALSO 🌈

The kernel file is ./security/tomoyo/condition.c, and here's the whole squad:


mwah πŸ’‹ β€” signing off from the ./security/tomoyo source corner, dated October 2026, on tomoyo_condition(9). πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from