tomoyo_socket_listen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tomoyo_socket_listen(9) πŸŽ€

okay so bestie, this is a page from the Kernel API Manual, and the main character is tomoyo_socket_listen(9) β€” literally the permission check for listen(). it’s short, it’s sweet, and it’s giving β€œsecurity hook with main character energy.” πŸ’…

✨ NAME ✨

tomoyo_socket_listen β€” check permission for listen(). no cap, that’s the whole name vibe.

πŸ¦‹ SYNOPSIS πŸ¦‹

int tomoyo_socket_listen (struct socket *sock , int backlog );

🌸 ARGUMENTS 🌸

  • sock β€” pointer to struct socket. yes, that exact struct, keep it iconic.
  • backlog β€” backlog parameter. the parameter called backlog, periodt.

πŸ’– DESCRIPTION πŸ’–

Returns 0 on success, and a negative value otherwise. that’s the return contract, fr fr. a 0 is the slay βœ…; anything negative is the β€œnot it” 😭.

🌈 SEE ALSO 🌈

Kernel file: ./security/tomoyo/tomoyo.c

also the whole TOMOYO bestie lineup:


mwah πŸ’‹ β€” brought to you by the source path ./security/tomoyo, dated October 2026, and filed under tomoyo_socket_listen(9). that’s the whole page, bestie 🫢

πŸ“¦ where this page comes from