tomoyo_check_inet_acl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_check_inet_acl(9) πŸ’…

okay so bestie, we're in the Kernel API Manual today and this page is literally all about tomoyo_check_inet_acl β€” like, that's the whole name, that's the assignment. it's the function that checks permission for an inet domain socket operation. network security vibes, we love to see it πŸ¦‹


✨ SYNOPSIS ✨

bool tomoyo_check_inet_acl (struct tomoyo_request_info *r , const struct
tomoyo_acl_info *ptr );

that's it. that's the whole signature. she's a bool-returning icon, no cap πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • r β€” a pointer to "struct tomoyo_request_info", ok? pointer. to that struct. exactly that struct, don't get cute with it πŸ™ˆ
  • ptr β€” a pointer to "struct tomoyo_acl_info". yes, lowercase ptr, yes it's giving "i ran out of names", but we respect her 🫢

⭐ DESCRIPTION ⭐

so what does she do? literally one job: returns true if granted, false otherwise.

that's the whole description. no cap. that is the entire bit. honestly? main character energy β€” knows what she is, doesn't overexplain πŸ’€

bestie pls note the phrasing: true means granted, false means not granted. don't flip them. that would be a vibe check you fail 😭

🌈 SEE ALSO 🌈

okay this is the part where i need you to lock in, because the list is LONG and i'm not skipping a single one, iykyk ✨

first up, the kernel file involved: ./security/tomoyo/network.c πŸ”₯

and then the whole friend group, in this exact order:

twenty-four entries. i counted. she ate and left zero crumbs πŸ‘‘


and that's the page, bestie!! πŸ¦‹ this cutie lives in the kernel source at ./security/tomoyo and the page itself is dated October 2026 β€” so yes, she's from the future, we stan a forward-thinking function. mwah, go read network.c πŸ’–πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from