tomoyo_sock...d_permission(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_socket_bind_permission πŸ’…

okay so bestie, this page is from the Kernel API Manual, and it's lowkey all about one very specific permission check. it's giving kernel-security main character energy, and we're here for it. 🫢


🌸 NAME 🌸

tomoyo_socket_bind_permission β€” Check permission for setting the local address of a socket. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

int tomoyo_socket_bind_permission (struct socket *sock , struct sockaddr
       *addr , int addr_len );

πŸŽ€ ARGUMENTS πŸŽ€

  • sock β€” Pointer to "struct socket". πŸ’–
  • addr β€” Pointer to "struct sockaddr". 🌸
  • addr_len β€” Size of addr. 🧚

πŸ”₯ DESCRIPTION πŸ”₯

Returns 0 on success, negative value otherwise. that's the whole tea, bestie β€” no extra behavior spelled out on this page. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./security/tomoyo/network.c is the spot to peek at, and the whole bestie list is right here: πŸ“


xoxo, source/version ./security/tomoyo, date October 2026 πŸ’–

πŸ“¦ where this page comes from